22 #ifndef WATCHMAKER_SCHEDULE_H 23 #define WATCHMAKER_SCHEDULE_H 25 #include "watchmaker/types.h" 26 #include "watchmaker/struct.h" 27 #include "watchmaker/message.h" 31 void ProcessTheMessage(WGame &game);
33 void deleteWaitingMsgs(uint16 flags);
34 void addWaitingMsgs(uint16 flags);
36 #define MAXWAITINGMSGS 30 41 void removeEvent(EventClass classe, uint8 event);
42 void removeEvent_bparam(EventClass classe, uint8 event, uint8 bparam);
45 void doEvent(EventClass classe, uint8 event, uint16 flags, int16 wparam1, int16 wparam2, uint8 bparam,
void *p0,
void *p1,
void *p2);
46 void addWaitingMsgs(uint16 flags);
47 void deleteWaitingMsgs(uint16 flags);
49 message GameMessage[MAX_MESSAGES];
52 message idlemessage = {EventClass::MC_IDLE, 0, MP_DEFAULT};
53 uint8 SuperEventActivate =
false;
56 message _waitingMsg[MAXWAITINGMSGS];
57 void initQueue(
pqueue *lq);
62 #endif // WATCHMAKER_SCHEDULE_H Definition: 2d_stuff.h:30
Definition: schedule.h:38