mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 23:01:23 -04:00
c9e2a73dda
* typedef for cPhs_Step * make sdk includes consistent * d_menu_quit / d_msg_scrn_explain debug * d_a_obj_testcube mostly done * d_debug_pad mostly done * jstudio tool library headers * some JStudioCameraEditor headers * d_jcam_editor mostly done * try fixing some shield regressions * d_bg_parts mostly done * fix merge errors * debug fix
21 lines
305 B
C
21 lines
305 B
C
#ifndef C_COUNTER_H
|
|
#define C_COUNTER_H
|
|
|
|
#include <dolphin/types.h>
|
|
|
|
struct counter_class {
|
|
u32 mCounter0;
|
|
s32 mCounter1;
|
|
u32 mTimer;
|
|
};
|
|
|
|
extern counter_class g_Counter;
|
|
|
|
void cCt_Counter(int resetCounter1);
|
|
|
|
inline void cCt_execCounter() {
|
|
g_Counter.mTimer++;
|
|
}
|
|
|
|
#endif /* C_COUNTER_H */
|