sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

geo.c (1097B)


      1 #include <ultra64.h>
      2 #include "sm64.h"
      3 #include "geo_commands.h"
      4 
      5 #include "game/level_geo.h"
      6 #include "game/geo_misc.h"
      7 #include "game/camera.h"
      8 #include "game/moving_texture.h"
      9 #include "game/screen_transition.h"
     10 #include "game/paintings.h"
     11 
     12 #include "make_const_nonconst.h"
     13 
     14 #include "levels/ending/header.h"
     15 
     16 // 0x0E000050
     17 const GeoLayout ending_geo_000050[] = {
     18     GEO_NODE_SCREEN_AREA(10, SCREEN_WIDTH/2, SCREEN_HEIGHT/2, SCREEN_WIDTH/2, SCREEN_HEIGHT/2),
     19     GEO_OPEN_NODE(),
     20         GEO_ZBUFFER(0),
     21         GEO_OPEN_NODE(),
     22             GEO_NODE_ORTHO(100),
     23             GEO_OPEN_NODE(),
     24 #ifdef VERSION_EU
     25                 GEO_BACKGROUND_COLOR(0x0001),
     26 #endif
     27                 GEO_ASM(0, geo_exec_cake_end_screen),
     28             GEO_CLOSE_NODE(),
     29         GEO_CLOSE_NODE(),
     30         GEO_ZBUFFER(1),
     31         GEO_OPEN_NODE(),
     32             GEO_CAMERA_FRUSTUM_WITH_FUNC(45, 100, 12800, geo_camera_fov),
     33             GEO_OPEN_NODE(),
     34                 GEO_CAMERA(1, 0, 2000, 6000, 0, 0, 0, geo_camera_main),
     35             GEO_CLOSE_NODE(),
     36         GEO_CLOSE_NODE(),
     37     GEO_CLOSE_NODE(),
     38     GEO_END(),
     39 };
     40