Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASCmdStack.h
Go to the documentation of this file.
1#ifndef JASCMDSTACK_H
2#define JASCMDSTACK_H
3
5
6class JASTrack;
7
25
30struct JASPortCmd : JSULink<JASPortCmd> {
31 typedef void (*Command)(JASPortArgs*);
32
33 struct TPortHead : JSUList<JASPortCmd> {
34 inline TPortHead()
36 {
37 }
38
40
41 void execCommandOnce();
42 void execCommandStay();
43 };
44
45 bool addPortCmdOnce();
46 bool setPortCmd(Command func, JASPortArgs*);
47 static void execAllCommand();
48
49 Command getFunc() { return mFunc; }
50 JASPortArgs* getArgs() { return mArgs; }
51
54
57};
58
59#endif /* JASCMDSTACK_H */
Definition JSUList.h:96
unsigned long u32
Definition types.h:12
float f32
Definition types.h:25
Definition JASCmdStack.h:12
f32 _10
Definition JASCmdStack.h:17
f32 _14
Definition JASCmdStack.h:18
u32 _24
Definition JASCmdStack.h:22
u32 _04
Definition JASCmdStack.h:14
u32 _08
Definition JASCmdStack.h:15
f32 _1C
Definition JASCmdStack.h:20
f32 _18
Definition JASCmdStack.h:19
JASTrack * _00
Definition JASCmdStack.h:13
f32 _0C
Definition JASCmdStack.h:16
f32 _28
Definition JASCmdStack.h:23
f32 _20
Definition JASCmdStack.h:21
Definition JASCmdStack.h:33
~TPortHead()
Definition JASCmdStack.h:39
void execCommandStay()
Definition JASCmdStack.cpp:46
void execCommandOnce()
Definition JASCmdStack.cpp:35
TPortHead()
Definition JASCmdStack.h:34
Definition JASCmdStack.h:30
Command mFunc
Definition JASCmdStack.h:52
static TPortHead sCommandListStay
Definition JASCmdStack.h:56
Command getFunc()
Definition JASCmdStack.h:49
static void execAllCommand()
Definition JASCmdStack.cpp:30
static TPortHead sCommandListOnce
Definition JASCmdStack.h:55
bool setPortCmd(Command func, JASPortArgs *)
Definition JASCmdStack.cpp:20
void(*) Command(JASPortArgs *)
Definition JASCmdStack.h:31
JASPortArgs * mArgs
Definition JASCmdStack.h:53
JASPortArgs * getArgs()
Definition JASCmdStack.h:50
bool addPortCmdOnce()
Definition JASCmdStack.cpp:15
Definition JASTrack.h:24