sm64pc/src/game/geo_misc.h

26 lines
874 B
C

#ifndef _TRANSPARENT_TEXTURE_H
#define _TRANSPARENT_TEXTURE_H
#include "types.h"
enum FlyingCarpetState
{
FLYING_CARPET_IDLE = 0,
FLYING_CARPET_MOVING_WITHOUT_MARIO = 1,
FLYING_CARPET_MOVING_WITH_MARIO = 2
};
extern s8 gFlyingCarpetState;
extern void make_vertex(
Vtx *vtx, s32 n, s16 x, s16 y, s16 z, s16 tx, s16 ty, u8 r, u8 g, u8 b, u8 a
);
extern s16 round_float(f32);
extern Gfx *geo_exec_inside_castle_light(s32 callContext, struct GraphNode *node, f32 mtx[4][4]);
extern Gfx *geo_exec_flying_carpet_timer_update(s32 callContext, struct GraphNode *node,
f32 mtx[4][4]);
extern Gfx *geo_exec_flying_carpet_create(s32 callContext, struct GraphNode *node, f32 mtx[4][4]);
extern Gfx *geo_exec_cake_end_screen(s32 callContext, struct GraphNode *node, f32 mtx[4][4]);
#endif /* _TRANSPARENT_TEXTURE_H */