sm64

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

envfx_bubbles.h (817B)


      1 #ifndef ENVFX_BUBBLES_H
      2 #define ENVFX_BUBBLES_H
      3 
      4 #include <PR/ultratypes.h>
      5 #include <PR/gbi.h>
      6 
      7 #define ENVFX_STATE_UNUSED          0
      8 #define ENVFX_STATE_SRC_X           1 // whirlpool / jetsream bubble source position
      9 #define ENVFX_STATE_SRC_Y           2
     10 #define ENVFX_STATE_SRC_Z           3
     11 #define ENVFX_STATE_DEST_X          4 // only for whirlpool, where bubbles get sucked in
     12 #define ENVFX_STATE_DEST_Y          5
     13 #define ENVFX_STATE_DEST_Z          6
     14 #define ENVFX_STATE_PARTICLECOUNT   7
     15 #define ENVFX_STATE_PITCH           8 // whirlpool can rotate around DEST point
     16 #define ENVFX_STATE_YAW             9
     17 
     18 // Used to communicate from whirlpool behavior to envfx
     19 extern s16 gEnvFxBubbleConfig[10];
     20 Gfx *envfx_update_bubbles(s32 mode, Vec3s marioPos, Vec3s camTo, Vec3s camFrom);
     21 
     22 #endif // ENVFX_BUBBLES_H