23 #ifndef M4_BURGER_WALKER_H 24 #define M4_BURGER_WALKER_H 26 #include "common/array.h" 27 #include "m4/adv_r/adv_walk.h" 32 #define PARSER_ITEM_END "Th-th-th-that's all folks..." 38 const int32 *_testVariable;
44 #define WILBUR_MATCH_END { nullptr, nullptr, -1, nullptr, 0, nullptr, 0 } 48 const char *_name =
nullptr;
53 bool _animateLips =
false;
59 static void player_walker_callback(
frac16 myMessage,
machine *sender);
64 void speech_random(
int count,
int trigger,
const char *name1,
65 const char *name2,
const char *name3 =
nullptr,
66 const char *name4 =
nullptr,
const char *name5 =
nullptr,
67 const char *name6 =
nullptr,
const char *name7 =
nullptr,
68 const char *name8 =
nullptr,
const char *name9 =
nullptr);
73 bool walk_load_walker_and_shadow_series()
override;
74 machine *walk_initialize_walker()
override;
76 void reset_walker_sprites();
77 static void unloadSprites();
79 void wilbur_speech(
const char *name,
int trigger = -1,
int room = -1, byte flags = 0,
80 int vol = 255,
int channel = 1);
82 void wilburs_speech_finished();
90 bool wilbur_said(
const char *list[][4]);
92 void wilbur_speech_random(
const char *name1,
const char *name2,
int trigger = -1) {
93 speech_random(2, trigger, name1, name2);
95 void wilbur_speech_random(
const char *name1,
const char *name2,
96 const char *name3,
int trigger = -1) {
97 speech_random(3, trigger, name1, name2, name3);
99 void wilbur_speech_random(
const char *name1,
const char *name2,
100 const char *name3,
const char *name4,
int trigger = -1) {
101 speech_random(4, trigger, name1, name2, name3, name4);
103 void wilbur_speech_random(
const char *name1,
const char *name2,
104 const char *name3,
const char *name4,
const char *name5,
int trigger = -1) {
105 speech_random(5, trigger, name1, name2, name3, name4, name5);
107 void wilbur_speech_random(
const char *name1,
const char *name2,
108 const char *name3,
const char *name4,
const char *name5,
109 const char *name6,
int trigger = -1) {
110 speech_random(6, trigger, name1, name2, name3, name4, name5, name6);
112 void wilbur_speech_random(
const char *name1,
const char *name2,
113 const char *name3,
const char *name4,
const char *name5,
114 const char *name6,
const char *name7,
int trigger = -1) {
115 speech_random(7, trigger, name1, name2, name3, name4, name5, name6, name7);
118 bool wilbur_parser(
const char **list);
123 void wilbur_unpoof();
126 void enable_player();
127 void disable_player();
128 void wilbur_abduct(
int trigger);
129 void player_walk_to(int32 x, int32 y, int32 facing_x, int32 facing_y,
int trigger = -1);
130 void player_walk_to(int32 x, int32 y,
int trigger = -1);
131 void wilbur_speech(
const char *name,
int trigger = -1,
int room = -1, byte flags = 0,
132 int vol = 255,
int channel = 1);
Definition: ws_machine.h:153
Definition: adv_walk.h:32
intptr frac16
Definition: m4_types.h:46
Definition: database.h:28