32 #include "common/array.h" 33 #include "toon/script.h" 48 #define SYSFUNC(x) int32 x(EMCState *) 49 SYSFUNC(sys_Cmd_Dummy);
50 SYSFUNC(sys_Cmd_Change_Actor_X_And_Y);
51 SYSFUNC(sys_Cmd_Init_Talking_Character);
52 SYSFUNC(sys_Cmd_Draw_Actor_Standing);
53 SYSFUNC(sys_Cmd_Get_Actor_X);
54 SYSFUNC(sys_Cmd_Get_Actor_Y);
55 SYSFUNC(sys_Cmd_Get_Actor_Facing);
56 SYSFUNC(sys_Cmd_Get_Last_Scene);
57 SYSFUNC(sys_Cmd_Debug_Print);
58 SYSFUNC(sys_Cmd_Flip_Screens);
59 SYSFUNC(sys_Cmd_Play_Flic);
60 SYSFUNC(sys_Cmd_Force_Facing);
61 SYSFUNC(sys_Cmd_Restart_Thread);
62 SYSFUNC(sys_Cmd_Walk_Actor_To_Point);
63 SYSFUNC(sys_Cmd_Set_Sack_Visible);
64 SYSFUNC(sys_Cmd_Set_Actor_Facing);
65 SYSFUNC(sys_Cmd_Confiscate_Inventory);
66 SYSFUNC(sys_Cmd_Character_Talks);
67 SYSFUNC(sys_Cmd_Visited_Scene);
68 SYSFUNC(sys_Cmd_Query_Rif_Flag);
69 SYSFUNC(sys_Cmd_Query_Scroll);
70 SYSFUNC(sys_Cmd_Set_Initial_Location);
71 SYSFUNC(sys_Cmd_Make_Line_Non_Walkable);
72 SYSFUNC(sys_Cmd_Make_Line_Walkable);
73 SYSFUNC(sys_Cmd_Walk_Actor_On_Condition);
74 SYSFUNC(sys_Cmd_Set_Actor_Facing_Point);
75 SYSFUNC(sys_Cmd_Set_Inventory_Slot);
76 SYSFUNC(sys_Cmd_Get_Inventory_Slot);
77 SYSFUNC(sys_Cmd_Add_Item_To_Inventory);
78 SYSFUNC(sys_Cmd_Set_Actor_RGB_Modifiers);
79 SYSFUNC(sys_Cmd_Init_Conversation_AP);
80 SYSFUNC(sys_Cmd_Actor_Talks);
81 SYSFUNC(sys_Cmd_Say_Lines);
82 SYSFUNC(sys_Cmd_Set_Rif_Flag);
83 SYSFUNC(sys_Cmd_Empty_Inventory);
84 SYSFUNC(sys_Cmd_Set_Anim_Scale_Size);
85 SYSFUNC(sys_Cmd_Delete_Item_From_Inventory);
86 SYSFUNC(sys_Cmd_Specific_Item_In_Inventory);
87 SYSFUNC(sys_Cmd_Run_Script);
88 SYSFUNC(sys_Cmd_Query_Game_Flag);
89 SYSFUNC(sys_Cmd_Reset_Game_Flag);
90 SYSFUNC(sys_Cmd_Set_Game_Flag);
91 SYSFUNC(sys_Cmd_Create_Mouse_Item);
92 SYSFUNC(sys_Cmd_Destroy_Mouse_Item);
93 SYSFUNC(sys_Cmd_Get_Mouse_State);
94 SYSFUNC(sys_Cmd_Hide_Mouse);
95 SYSFUNC(sys_Cmd_Exit_Conversation);
96 SYSFUNC(sys_Cmd_Set_Mouse_Pos);
97 SYSFUNC(sys_Cmd_Show_Mouse);
98 SYSFUNC(sys_Cmd_In_Close_Up);
99 SYSFUNC(sys_Cmd_Set_Scroll_Lock);
100 SYSFUNC(sys_Cmd_Fill_Area_Non_Walkable);
101 SYSFUNC(sys_Cmd_Set_Scroll_Coords);
102 SYSFUNC(sys_Cmd_Hide_Cutaway);
103 SYSFUNC(sys_Cmd_Show_Cutaway);
104 SYSFUNC(sys_Cmd_Pause_Ticks);
105 SYSFUNC(sys_Cmd_In_Conversation);
106 SYSFUNC(sys_Cmd_Character_Talking);
107 SYSFUNC(sys_Cmd_Set_Flux_Facing_Point);
108 SYSFUNC(sys_Cmd_Set_Flux_Facing);
109 SYSFUNC(sys_Cmd_Set_Flux_Coords);
110 SYSFUNC(sys_Cmd_Set_Flux_Visible);
111 SYSFUNC(sys_Cmd_Get_Flux_X);
112 SYSFUNC(sys_Cmd_Get_Flux_Y);
113 SYSFUNC(sys_Cmd_Get_Flux_Facing);
114 SYSFUNC(sys_Cmd_Get_Flux_Flags);
115 SYSFUNC(sys_Cmd_Query_Flux_Coords);
116 SYSFUNC(sys_Cmd_Have_A_Conversation);
117 SYSFUNC(sys_Cmd_Walk_Flux_To_Point);
118 SYSFUNC(sys_Cmd_Query_Scene_Anim_Loaded);
119 SYSFUNC(sys_Cmd_Play_Flux_Anim);
120 SYSFUNC(sys_Cmd_Set_Anim_Priority);
121 SYSFUNC(sys_Cmd_Place_Scene_Anim);
122 SYSFUNC(sys_Cmd_Update_Scene_Animations);
123 SYSFUNC(sys_Cmd_Get_Drew_Scale);
124 SYSFUNC(sys_Cmd_Query_Drew_Flags);
125 SYSFUNC(sys_Cmd_Set_Music);
126 SYSFUNC(sys_Cmd_Query_Speech);
127 SYSFUNC(sys_Cmd_Enter_New_Scene);
128 SYSFUNC(sys_Cmd_Enter_Same_Scene);
129 SYSFUNC(sys_Cmd_Is_Pixel_Walkable);
130 SYSFUNC(sys_Cmd_Show_Screen);
131 SYSFUNC(sys_Cmd_Hide_Screen);
132 SYSFUNC(sys_Cmd_Set_Special_Enter_X_And_Y);
133 SYSFUNC(sys_Cmd_Get_Mouse_X);
134 SYSFUNC(sys_Cmd_Get_Mouse_Y);
135 SYSFUNC(sys_Cmd_Fade_Palette);
136 SYSFUNC(sys_Cmd_Music_Enabled);
137 SYSFUNC(sys_Cmd_Random);
138 SYSFUNC(sys_Cmd_Wait_Key);
139 SYSFUNC(sys_Cmd_Draw_Scene_Anim_WSA_Frame_To_Back);
140 SYSFUNC(sys_Cmd_Set_Scene_Anim_Wait);
141 SYSFUNC(sys_Cmd_Init_Scene_Anim);
142 SYSFUNC(sys_Cmd_Set_Scene_Animation_Active_Flag);
143 SYSFUNC(sys_Cmd_Draw_Scene_Anim_WSA_Frame);
144 SYSFUNC(sys_Cmd_Move_Scene_Anim);
145 SYSFUNC(sys_Cmd_Run_Actor_Default_Script);
146 SYSFUNC(sys_Cmd_Set_Location_Data);
147 SYSFUNC(sys_Cmd_Set_CountDown_Timer);
148 SYSFUNC(sys_Cmd_Query_CountDown_Timer);
149 SYSFUNC(sys_Cmd_Proceed_To_Next_Chapter);
150 SYSFUNC(sys_Cmd_Play_Sfx_Plus);
151 SYSFUNC(sys_Cmd_Play_Sfx);
152 SYSFUNC(sys_Cmd_Set_Ambient_Sfx);
153 SYSFUNC(sys_Cmd_Kill_Ambient_Sfx);
154 SYSFUNC(sys_Cmd_Set_Ambient_Sfx_Plus);
155 SYSFUNC(sys_Cmd_Set_Ambient_Volume);
156 SYSFUNC(sys_Cmd_Freeze_Scene_Animation);
157 SYSFUNC(sys_Cmd_Unfreeze_Scene_Animation);
158 SYSFUNC(sys_Cmd_Scene_Animation_Frozen);
159 SYSFUNC(sys_Cmd_Set_Script_Game_Data_Global);
160 SYSFUNC(sys_Cmd_Get_Script_Game_Data_Global);
161 SYSFUNC(sys_Cmd_Say_Line);
162 SYSFUNC(sys_Cmd_Knight_Puzzle_Get_Coord);
163 SYSFUNC(sys_Cmd_Add_Scene_Anim);
164 SYSFUNC(sys_Cmd_Remove_Scene_Anim);
165 SYSFUNC(sys_Cmd_Disable_Timer);
166 SYSFUNC(sys_Cmd_Enable_Timer);
167 SYSFUNC(sys_Cmd_Set_Timer);
168 SYSFUNC(sys_Cmd_Set_Palette_Color);
169 SYSFUNC(sys_Cmd_Number_Of_NPCs);
170 SYSFUNC(sys_Cmd_Get_Config_Language);
171 SYSFUNC(sys_Cmd_Get_Actor_Final_X);
172 SYSFUNC(sys_Cmd_Get_Actor_Final_Y);
Definition: script_func.h:41