Ideally this would be standard C++, but here I've settled for things that should be supported by both clang and VS/cl.exe: - Deprecated attribute retained, but now uses __declspec syntax - Packed attribute replaced with pragma pack, except one instance where it unnecessary - Aligned attribute replaced with explicit padding bytes inserted in the structs where needed - Unused attribute simply removed (though where possible, the unused entities were also removed)
21 lines
670 B
C
21 lines
670 B
C
|
|
__declspec(deprecated) void init_scenario();
|
|
short edit_ter_type(ter_num_t which_ter);
|
|
short edit_monst_type(short which_monst);
|
|
cMonster edit_monst_abil(cMonster starting_record,short parent_num);
|
|
short edit_item_type(short which_item);
|
|
cItemRec edit_item_abil(cItemRec starting_record,short parent_num);
|
|
void edit_spec_item(short which_item);
|
|
void edit_save_rects();
|
|
void edit_horses();
|
|
void edit_add_town();
|
|
void edit_item_placement();
|
|
void edit_scen_details();
|
|
short edit_make_scen_2(short *val_array);
|
|
short edit_make_scen_1(char *filename,char *title,short *grass);
|
|
void edit_scenario_events();
|
|
bool build_scenario();
|
|
void set_starting_loc();
|
|
void edit_boats();
|
|
|