22 #ifndef MOHAWK_CSTIME_H 23 #define MOHAWK_CSTIME_H 25 #include "mohawk/mohawk.h" 26 #include "mohawk/console.h" 27 #include "mohawk/cstime_graphics.h" 29 #include "common/random.h" 30 #include "common/list.h" 35 class CSTimeInterface;
40 kCSTimeEventNothing = 0xffff,
41 kCSTimeEventCondition = 1,
42 kCSTimeEventCharPlayNIS = 2,
43 kCSTimeEventStartConversation = 3,
44 kCSTimeEventNewScene = 4,
45 kCSTimeEventCharStartFlapping = 5,
46 kCSTimeEventSetCaseVariable = 6,
47 kCSTimeEventSetupAmbientAnims = 7,
48 kCSTimeEventUnused8 = 8,
49 kCSTimeEventDropItemInInventory = 9,
50 kCSTimeEventRemoveItemFromInventory = 10,
51 kCSTimeEventAddNotePiece = 11,
52 kCSTimeEventDisableHotspot = 12,
53 kCSTimeEventDisableFeature = 13,
54 kCSTimeEventAddFeature = 14,
55 kCSTimeEventStartMusic = 15,
56 kCSTimeEventStopMusic = 16,
57 kCSTimeEventEnableHotspot = 17,
58 kCSTimeEventSetAsked = 18,
59 kCSTimeEventStartHelp = 19,
60 kCSTimeEventPlaySound = 20,
61 kCSTimeEventUnused21 = 21,
62 kCSTimeEventShowBigNote = 22,
63 kCSTimeEventActivateCuffs = 23,
64 kCSTimeEventHelperSetupRestPos = 24,
65 kCSTimeEventUnknown25 = 25,
66 kCSTimeEventUnknown26 = 26,
67 kCSTimeEventRemoveChar = 27,
68 kCSTimeEventUnknown28 = 28,
69 kCSTimeEventUnknown29 = 29,
70 kCSTimeEventUnknown30 = 30,
71 kCSTimeEventUnknown31 = 31,
72 kCSTimeEventCharSomeNIS32 = 32,
73 kCSTimeEventCharResetNIS = 33,
74 kCSTimeEventUnknown34 = 34,
75 kCSTimeEventCharPauseAmbients = 35,
76 kCSTimeEventCharUnauseAmbients = 36,
77 kCSTimeEventCharDisableAmbients = 37,
78 kCSTimeEventStopAmbientAnims = 38,
79 kCSTimeEventUnknown39 = 39,
80 kCSTimeEventWait = 40,
81 kCSTimeEventSpeech = 41,
82 kCSTimeEventCharSetState = 42,
83 kCSTimeEventUnknown43 = 43,
84 kCSTimeEventCharSetupRestPos = 44,
85 kCSTimeEventCharStopAmbients = 45,
86 kCSTimeEventCharRestartAmbients = 46,
87 kCSTimeEventStopEnvironmentSound = 47,
88 kCSTimeEventWaitForClick = 48,
89 kCSTimeEventSetMusic = 49,
90 kCSTimeEventStartEnvironmentSound = 50,
91 kCSTimeEventPreloadSound = 51,
92 kCSTimeEventPlayPreloadedSound = 52,
93 kCSTimeEventSetInsertBefore = 53,
94 kCSTimeEventSetEnvironmentSound = 54,
95 kCSTimeEventCharSomeNIS55 = 55,
96 kCSTimeEventUnknown56 = 56,
97 kCSTimeEventUpdateBubble = 57,
98 kCSTimeEventCharSurfAndFlap = 58,
99 kCSTimeEventInitScene = 59,
100 kCSTimeEventFadeDown = 60,
101 kCSTimeEventEndOfCase = 61,
102 kCSTimeEventCharPlaySimultaneousAnim = 62,
103 kCSTimeEventUnused63 = 63,
104 kCSTimeEventUnknown64 = 64,
105 kCSTimeEventPrepareSave = 65,
106 kCSTimeEventSave = 66,
107 kCSTimeEventQuit = 67,
108 kCSTimeEventPlayMovie = 68,
109 kCSTimeEventUnknown69 = 69,
110 kCSTimeEventUnknown70 = 70
115 CSTimeEvent(uint16 t, uint16 p1, uint16 p2) : type(t), param1(p1), param2(p2) { }
153 uint16 getCurrentEventType();
159 uint16 _haveInvItem[19];
160 uint16 _caseVariable[20];
175 bool _processingEvent;
176 bool _processingNIS55;
184 void pauseEngineIntern(
bool)
override;
Definition: cstime_view.h:61
Definition: cstime_graphics.h:31
Definition: cstime_ui.h:173
Definition: cstime_game.h:246
Definition: detection.h:65