22 #ifndef TITANIC_PET_MESSAGES_H 23 #define TITANIC_PET_MESSAGES_H 25 #include "titanic/messages/messages.h" 29 MESSAGE0(CPETDeliverMsg);
30 MESSAGE0(CPETGainedObjectMsg);
31 MESSAGE0(CPETHelmetOnOffMsg);
32 MESSAGE0(CPETKeyboardOnOffMsg);
33 MESSAGE0(CPETLostObjectMsg);
34 MESSAGE0(CPETObjectSelectedMsg);
35 MESSAGE1(CPETObjectStateMsg,
int, value, 0);
36 MESSAGE0(CPETPhotoOnOffMsg);
37 MESSAGE1(CPETPlaySoundMsg,
int, soundNum, 0);
38 MESSAGE0(CPETReceiveMsg);
39 MESSAGE0(CPETSetStarDestinationMsg);
40 MESSAGE1(CPETStarFieldLockMsg,
int, value, 0);
41 MESSAGE0(CPETStereoFieldOnOffMsg);
42 MESSAGE2(CPETTargetMsg, CString, name,
"",
int, numValue, -1);
44 #define PET_MESSAGE(NAME) \ 45 class NAME: public CPETTargetMsg { \ 47 NAME() : CPETTargetMsg() {} \ 48 NAME(const CString &name, int num) : CPETTargetMsg(name, num) {} \ 50 static bool isSupportedBy(const CTreeItem *item) { \ 51 return supports(item, _type); \ Definition: pet_messages.h:55
Definition: pet_messages.h:59
Definition: pet_messages.h:58
Definition: pet_messages.h:57
Definition: pet_messages.h:56