31 #include "engines/icb/common/px_common.h" 32 #include "engines/icb/string_vest.h" 37 #define MS g_mission->session 38 #define MSS g_mission->session->set 44 extern int32 gameCycle;
45 extern char gamelanguage[];
46 extern bool8 camera_hack;
47 extern uint32 font_cluster_hash;
48 extern uint32 sys_font_hash;
50 #define RESOURCE_IS_COMPRESSED 1 52 extern bool gRegainedFocus;
56 #include "engines/icb/common/px_string.h" 59 extern char g_characters[];
61 #define REMORA_GRAPHICS_PATH "remora\\pc\\" 62 #define FONT_PATH "fonts\\pc\\%s" 63 #define REMORA_CLUSTER_PATH "A\\2DART" 66 #define ICON_CLUSTER_PATH "A\\2DART" // icon cluster path 67 #define FONT_CLUSTER_PATH "A\\2DART" // font cluster path 68 #define GLOBAL_CLUSTER_PATH "G\\G" // global cluster path 69 #define SESSION_TEST_PATH "m\\%s\\%s.sex" // File to test for a sessions existence 70 #define SESSION_CLUSTER_PATH "M\\%s\\%s.SEX" // Path to the session cluster 71 #define CHR_PATH "C\\%s\\%s.OFT" 72 #define SET_PATH "M\\%s\\%s.CAM" // path to the set 74 #define SYS_FONT "fonts\\font.tdw" // default font name 75 #define ICON_PATH "inventory_icon\\pc\\" // path for inventory objects 76 #define GAMESCRIPT_PATH "gamescript" 77 #define GLOBAL_VAR_PATH "globals" // globals file name 78 #define GLOBAL_TEXT_FILE "%s.ttpc", gamelanguage 82 #define FILENAME_VOTEXT "remora.ctf" 83 #define GLOBAL_VOTEXT_NAME "remora.ctf" 84 #define ICON_LABELS_FILENAME "iconlabels.ctf" 85 #define CONFIG_INI_FILENAME "engine\\icb.ini" 88 extern uint32 BACKGROUND_BUFFER_SIZE;
89 extern uint32 ANIMATION_BUFFER_SIZE;
90 extern uint32 BITMAP_BUFFER_SIZE;
91 extern uint32 SONICS_BUFFER_SIZE;
93 #define ANIM_CHECK(a) \ 94 if (!I->IsAnimTable(a)) \ 95 Fatal_error("engine finds anim [%s] '%s' %X missing for object [%s]", (const char *)master_anim_name_table[a].name, I->get_info_name(a), I->info_name_hash[a], \ 96 CGameObject::GetName(object)); 99 __mission_and_console,
119 #define TOTAL_STUBS 8 120 #define TARGET_TIME 70 127 void Reset(__stub_modes new_mode);
128 void Set_current_stub_mode(__stub_modes new_mode);
129 void Push_stub_mode(__stub_modes new_mode);
130 void Pop_stub_mode();
132 __stub_modes Return_current_stub();
138 bool8 Return_timer_status();
139 void Update_screen();
141 __stub_modes mode[TOTAL_STUBS];
145 uint32 stub_timer_time;
153 void Mission_and_console();
156 int32 WhichCD(
const char *mission);