22 #ifndef M4_BURGER_VARS_H 23 #define M4_BURGER_VARS_H 25 #include "common/textconsole.h" 27 #include "m4/burger/core/release_trigger.h" 28 #include "m4/burger/core/stream_break.h" 29 #include "m4/burger/gui/gui.h" 30 #include "m4/burger/gui/gui_gizmo.h" 31 #include "m4/burger/flags.h" 32 #include "m4/burger/hotkeys.h" 33 #include "m4/burger/inventory.h" 34 #include "m4/burger/series_player.h" 35 #include "m4/burger/walker.h" 41 JUST_OVERVIEW = 0, INTERACTIVE_DEMO = 1, MAGAZINE_DEMO = 2, WHOLE_GAME = 3
44 enum global_triggers {
45 kFIRST_GLOBAL_TRIGGER = 10000,
48 kRESUME_CONVERSATION = 10001,
49 kSERIES_STREAM_BREAK = 10002,
50 kSERIES_PLAY_BREAK_0 = 10003,
51 kSERIES_PLAY_BREAK_1 = 10004,
52 kSERIES_PLAY_BREAK_2 = 10005,
53 kRELEASE_TRIGGER_DIGI_CHECK = 10006,
56 kNPC_SPEECH_STARTED = 10010,
57 kNPC_SPEECH_FINISHED = 10011,
58 kWILBUR_SPEECH_STARTED = 10013,
59 kWILBURS_SPEECH_FINISHED = 10014,
60 kWILBURS_SPEECH_START = 10015,
61 kCHANGE_WILBUR_ANIMATION = 10016,
65 kSET_COMMANDS_ALLOWED = 10020,
72 kBurlEntersTown = 10028,
74 kBurlStopsEating = 10030,
75 kBurlLeavesTown = 10031,
76 kBandEntersTown = 10032,
78 kCALLED_EACH_LOOP = 32764,
85 static void custom_ascii_converter_proc(
char *
string);
88 void main_cold_data_init()
override;
92 static int32 _wilbur_should;
95 GameMode _executing = WHOLE_GAME;
106 bool _gameMenuFromMain =
false;
107 int _room902Flag = 0;
109 int _flumix_should = 0;
111 machine *_npcSpeech1 =
nullptr;
112 machine *_npcSpeech2 =
nullptr;
113 int _npcTrigger = -1;
114 int _player_facing_x = 0, _player_facing_y = 0;
115 int _player_dest_x = 0, _player_dest_y = 0;
116 int _player_trigger = 0;
125 Hotkeys *getHotkeys()
override {
131 void initialize_game()
override;
133 void global_menu_system_init()
override;
140 #define _G(X) (::M4::Burger::g_vars->_##X) 141 #define _GI(X) _G(interface)._##X 142 #define _GINT() _G(interface)
Definition: ws_machine.h:155
Definition: adv_walk.h:32
Definition: adv_interface.h:32
Definition: database.h:28
Definition: interface.h:36
Definition: series_player.h:65
Definition: gui_gizmo.h:41
Definition: release_trigger.h:31
Definition: stream_break.h:48