document various assets, bsStoredState.c, and stateTimers.c
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
// Flag set used when collecting an already-unlocked Stop 'n' Swop item in-game
|
||||
#define SNS_COLLECTED (0)
|
||||
// Flag set used when making a Stop 'n' Swop item visible and collectable in-game
|
||||
// Flag set used when making a Stop 'n' Swop item visible and collectible in-game
|
||||
#define SNS_UNLOCKED (1)
|
||||
|
||||
/**
|
||||
|
@@ -185,7 +185,7 @@ void bsjump_fall_init(void);
|
||||
void bsjump_fall_update(void);
|
||||
void bsjump_fall_end(void);
|
||||
//BS_30_DIVE_ENTER
|
||||
void func_802A7DAC(void);
|
||||
void bsSwim_dive_init(void);
|
||||
void func_802A7E2C(void);
|
||||
void func_802A7F4C(void);
|
||||
//BS_ROLL(void);
|
||||
@@ -348,7 +348,7 @@ void func_802A4548(void);
|
||||
void func_802A4664(void);
|
||||
void func_802A505C(void);
|
||||
//0x58
|
||||
void func_802A4748(void);
|
||||
void bsbfly_beakbomb_crash_init(void);
|
||||
void func_802A48B4(void);
|
||||
void func_802A4A40(void);
|
||||
|
||||
|
27
include/core2/statetimer.h
Normal file
27
include/core2/statetimer.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef _STATE_TIMER_
|
||||
#define _STATE_TIMER_
|
||||
|
||||
#include <ultra64.h>
|
||||
#include "structs.h"
|
||||
|
||||
enum state_timer_e{
|
||||
STATE_TIMER_0_UNKNOWN,
|
||||
STATE_TIMER_1_THROW = 1,
|
||||
STATE_TIMER_2_LONGLEG,
|
||||
STATE_TIMER_3_TURBO_TALON,
|
||||
STATE_TIMER_4_UNKNOWN,
|
||||
STATE_TIMER_5_UNKNOWN, //slide timer
|
||||
STATE_TIMER_6_UNKNOWN //trot slide timer
|
||||
};
|
||||
|
||||
f32 stateTimer_get(enum state_timer_e timer_id);
|
||||
f32 stateTimer_getPrevious(enum state_timer_e timer_id);
|
||||
bool stateTimer_isActive(enum state_timer_e timer_id);
|
||||
bool stateTimer_isDone(enum state_timer_e timer_id);
|
||||
bool stateTimer_isAt(enum state_timer_e timer_id, f32 value);
|
||||
void stateTimer_free(void);
|
||||
void stateTimer_init(void);
|
||||
void stateTimer_clear(enum state_timer_e timer_id);
|
||||
void stateTimer_set(enum state_timer_e timer_id, f32 value);
|
||||
void stateTimer_update(void);
|
||||
#endif
|
680
include/enums.h
680
include/enums.h
File diff suppressed because it is too large
Load Diff
@@ -297,17 +297,11 @@ void func_8028A274(enum asset_e, f32);
|
||||
void func_8028A3B8(f32, f32);
|
||||
int func_8028AED4(f32*, f32);
|
||||
void func_8028E668(f32[3], f32, f32, f32);
|
||||
f32 func_8028E80C(s32);
|
||||
bool func_8028F364(f32[3], f32, f32, enum actor_e actor_id, Actor**);
|
||||
void func_8028FA54(f32[3]);
|
||||
|
||||
f32 func_802915D8(void);
|
||||
f32 func_80291604(void);
|
||||
f32 func_80291670(s32);
|
||||
f32 func_80291684(s32);
|
||||
int func_80291698(s32);
|
||||
int func_80291700(s32, f32);
|
||||
void func_802917E4(s32, f32);
|
||||
|
||||
void baModel_80291A50(s32 arg0, f32* arg1);
|
||||
void baModel_80292078(s32, f32);
|
||||
@@ -364,11 +358,11 @@ void func_80299CF4(enum sfx_e, f32, s32);
|
||||
void func_80299D2C(enum sfx_e, f32, s32);
|
||||
void func_80289EC8(f32, f32, f32, f32);
|
||||
void func_80289EF8(f32);
|
||||
f32 func_8029A900(void);
|
||||
f32 func_8029A90C(void);
|
||||
void func_8029A968(f32);
|
||||
void func_8029A980(s32);
|
||||
void func_8029A974(f32);
|
||||
f32 bsStoredState_getLongLegTimer(void);
|
||||
f32 bsStoredState_getTurboTimer(void);
|
||||
void bsStoredState_setLongLegTimer(f32);
|
||||
void bsStoredState_setTrot(bool);
|
||||
void bsStoredState_setTurboTimer(f32);
|
||||
void func_8029AD28(f32, s32);
|
||||
f32 func_8029B2DC(void);
|
||||
f32 func_8029B2E8(void);
|
||||
|
@@ -839,7 +839,7 @@ typedef struct {
|
||||
|
||||
|
||||
typedef struct {
|
||||
enum actor_e actor_id;
|
||||
int actor_id;
|
||||
struct actorMarker_s *marker;
|
||||
f32 position[3];
|
||||
void (*unk14)(struct actor_s *, struct actorMarker_s *);
|
||||
@@ -847,7 +847,7 @@ typedef struct {
|
||||
}Struct81s;
|
||||
|
||||
typedef struct {
|
||||
enum actor_e actor_id;
|
||||
int actor_id;
|
||||
struct actorMarker_s *marker;
|
||||
f32 position[3];
|
||||
void (*unk14)(struct actor_s *, struct actorMarker_s *);
|
||||
|
Reference in New Issue
Block a user