Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Macros | Variables
paintings.h File Reference
#include "prevent_bss_reordering.h"

Go to the source code of this file.

Data Structures

struct  PaintingData
 
struct  Thing
 

Macros

#define DEFAULT_HEIGHT   614.0
 
#define PAINTING_ID_DDD   7
 
#define DIRE_DIRE_DOCKS   9
 
#define BOARD_BOWSERS_SUB   1
 
#define BOWSERS_SUB_BEATEN   0x2
 
#define DDD_BACK   0x1
 
#define STAND_LEFT   0x20
 
#define STAND_MIDDLE   0x10
 
#define STAND_RIGHT   0x8
 
#define ENTER_LEFT   0x4
 
#define ENTER_MIDDLE   0x2
 
#define ENTER_RIGHT   0x1
 
#define RIPPLE_SHAPE_WAVE   0
 
#define RIPPLE_SHAPE_CONCENTRIC   1
 
#define RIPPLE_STATE_NONE   0
 
#define RIPPLE_STATE_IDLE   1
 
#define RIPPLE_STATE_ENTRY   2
 
#define RIPPLE_TRIGGER_PROXIMITY   10
 
#define RIPPLE_TRIGGER_CONTINUOUS   20
 
#define ROTATION_VERTICAL   0
 
#define NEAR_MARIO_LATERALLY   30
 
#define MARIO_X   40
 
#define MIDDLE_X   50
 
#define MARIO_Y   60
 
#define MARIO_Z   70
 
#define MIDDLE_Y   80
 
#define DONT_RESET_TIMER   -56
 
#define RESET_TIMER   100
 

Variables

struct MemoryPoolD_8033A124
 
u8 dl_paintings_draw_ripples []
 
u8 dl_paintings_rippling_begin []
 
u8 dl_paintings_rippling_end []
 
u8 dl_paintings_env_mapped_begin []
 
u8 dl_paintings_env_mapped_end []
 
u8 seg2_triangle_mesh []
 
u8 seg2_mesh_order []
 
struct PaintingData cotmc_painting []
 
struct PaintingData bob_painting []
 
struct PaintingData ccm_painting []
 
struct PaintingData wf_painting []
 
struct PaintingData jrb_painting []
 
struct PaintingData lll_painting []
 
struct PaintingData ssl_painting []
 
struct PaintingData hmc_painting []
 
struct PaintingData ddd_painting []
 
struct PaintingData wdw_painting []
 
struct PaintingData thi_tiny_painting []
 
struct PaintingData ttm_painting []
 
struct PaintingData ttc_painting []
 
struct PaintingData sl_painting []
 
struct PaintingData thi_huge_painting []
 
struct PaintingData ttm_slide_painting []
 
u16 gAreaUpdateCounter
 
float gPaintingMarioYEntry
 The height at which Mario entered the last painting. Used for Wet-Dry World only. More...
 
s16 gPaintingMarioFloorType
 
float gPaintingMarioXPos
 
float gPaintingMarioYPos
 
float gPaintingMarioZPos
 
struct ThingD_8035FFA0
 
float(* D_8035FFA4 )[3]
 
struct PaintingDataripplingPainting
 
s8 dddStatus
 

Macro Definition Documentation

◆ BOARD_BOWSERS_SUB

#define BOARD_BOWSERS_SUB   1

◆ BOWSERS_SUB_BEATEN

#define BOWSERS_SUB_BEATEN   0x2

◆ DDD_BACK

#define DDD_BACK   0x1

◆ DEFAULT_HEIGHT

#define DEFAULT_HEIGHT   614.0

◆ DIRE_DIRE_DOCKS

#define DIRE_DIRE_DOCKS   9

◆ DONT_RESET_TIMER

#define DONT_RESET_TIMER   -56

◆ ENTER_LEFT

#define ENTER_LEFT   0x4

◆ ENTER_MIDDLE

#define ENTER_MIDDLE   0x2

◆ ENTER_RIGHT

#define ENTER_RIGHT   0x1

◆ MARIO_X

#define MARIO_X   40

◆ MARIO_Y

#define MARIO_Y   60

◆ MARIO_Z

#define MARIO_Z   70

◆ MIDDLE_X

#define MIDDLE_X   50

◆ MIDDLE_Y

#define MIDDLE_Y   80

◆ NEAR_MARIO_LATERALLY

#define NEAR_MARIO_LATERALLY   30

◆ PAINTING_ID_DDD

#define PAINTING_ID_DDD   7

◆ RESET_TIMER

#define RESET_TIMER   100

◆ RIPPLE_SHAPE_CONCENTRIC

#define RIPPLE_SHAPE_CONCENTRIC   1

◆ RIPPLE_SHAPE_WAVE

#define RIPPLE_SHAPE_WAVE   0

◆ RIPPLE_STATE_ENTRY

#define RIPPLE_STATE_ENTRY   2

◆ RIPPLE_STATE_IDLE

#define RIPPLE_STATE_IDLE   1

◆ RIPPLE_STATE_NONE

#define RIPPLE_STATE_NONE   0

◆ RIPPLE_TRIGGER_CONTINUOUS

#define RIPPLE_TRIGGER_CONTINUOUS   20

◆ RIPPLE_TRIGGER_PROXIMITY

#define RIPPLE_TRIGGER_PROXIMITY   10

◆ ROTATION_VERTICAL

#define ROTATION_VERTICAL   0

◆ STAND_LEFT

#define STAND_LEFT   0x20

◆ STAND_MIDDLE

#define STAND_MIDDLE   0x10

◆ STAND_RIGHT

#define STAND_RIGHT   0x8

Variable Documentation

◆ bob_painting

struct PaintingData bob_painting[]

◆ ccm_painting

struct PaintingData ccm_painting[]

◆ cotmc_painting

struct PaintingData cotmc_painting[]

◆ D_8033A124

struct MemoryPool* D_8033A124

◆ D_8035FFA0

struct Thing* D_8035FFA0

◆ D_8035FFA4

float(* D_8035FFA4)[3]

◆ ddd_painting

struct PaintingData ddd_painting[]

◆ dddStatus

s8 dddStatus

◆ dl_paintings_draw_ripples

u8 dl_paintings_draw_ripples[]

◆ dl_paintings_env_mapped_begin

u8 dl_paintings_env_mapped_begin[]

◆ dl_paintings_env_mapped_end

u8 dl_paintings_env_mapped_end[]

◆ dl_paintings_rippling_begin

u8 dl_paintings_rippling_begin[]

◆ dl_paintings_rippling_end

u8 dl_paintings_rippling_end[]

◆ gAreaUpdateCounter

u16 gAreaUpdateCounter

◆ gPaintingMarioFloorType

s16 gPaintingMarioFloorType

◆ gPaintingMarioXPos

float gPaintingMarioXPos

◆ gPaintingMarioYEntry

float gPaintingMarioYEntry

The height at which Mario entered the last painting. Used for Wet-Dry World only.

◆ gPaintingMarioYPos

float gPaintingMarioYPos

◆ gPaintingMarioZPos

float gPaintingMarioZPos

◆ hmc_painting

struct PaintingData hmc_painting[]

◆ jrb_painting

struct PaintingData jrb_painting[]

◆ lll_painting

struct PaintingData lll_painting[]

◆ ripplingPainting

struct PaintingData* ripplingPainting

◆ seg2_mesh_order

u8 seg2_mesh_order[]

◆ seg2_triangle_mesh

u8 seg2_triangle_mesh[]

◆ sl_painting

struct PaintingData sl_painting[]

◆ ssl_painting

struct PaintingData ssl_painting[]

◆ thi_huge_painting

struct PaintingData thi_huge_painting[]

◆ thi_tiny_painting

struct PaintingData thi_tiny_painting[]

◆ ttc_painting

struct PaintingData ttc_painting[]

◆ ttm_painting

struct PaintingData ttm_painting[]

◆ ttm_slide_painting

struct PaintingData ttm_slide_painting[]

◆ wdw_painting

struct PaintingData wdw_painting[]

◆ wf_painting

struct PaintingData wf_painting[]