Tear out most of the legacy code in the scenario editor - see below for details

- All Carbon code is gone
- Many dialogs converted; some are still left unimplemented since they still need to be converted
- Menus converted to a xib file
- The giant arrays specifying the configuration of the special node dialog for each special node type have been replaced with maps and sets.

Changes to dialogs:
- pict choice dialog can now show picts of differing types; this was required for picking a monster graphic, as monsters of all sizes need to be shown in the same dialog
- string choice dialog can set the title, and properly shows the currently selected string
- LEDs now accept font format
- Fixed LED group's calculation of its rect
- Fixed LED group crashing if it has no selection
- Tabbing between text fields now works
- Fix display of larger monster graphics in dialogs
- Fix the script element content showing in the browser preview
This commit is contained in:
2014-07-12 22:13:27 -04:00
parent bbc9667c88
commit 41c3396aa3
80 changed files with 7983 additions and 4005 deletions

View File

@@ -1,62 +1,23 @@
void init_town(short size) __attribute__((deprecated));
void init_out() __attribute__((deprecated));
void edit_placed_monst(short which_m);
void edit_placed_monst_event_filter (short item_hit);
bool get_placed_monst_in_dlog();
void put_placed_monst_in_dlog();
cCreature edit_placed_monst_adv(cCreature monst_record);
void edit_placed_monst_adv_event_filter (short item_hit);
bool get_placed_monst_adv_in_dlog();
void put_placed_monst_adv_in_dlog();
cCreature edit_placed_monst_adv(cCreature monst_record, class cDialog& parent);
void edit_sign(short which_sign,short picture);
void edit_sign_event_filter (short item_hit);
bool save_out_strs();
void put_out_strs_in_dlog();
void edit_out_strs_event_filter (short item_hit);
void edit_out_strs();
bool save_town_strs();
void put_town_strs_in_dlog();
void edit_town_strs_event_filter (short item_hit);
void edit_town_strs();
void pick_town_num_event_filter (short item_hit);
short pick_town_num(short which_dlog,short def);
void change_ter(short *change_from,short *change_to,short *chance);
void change_ter_event_filter (short item_hit);
void edit_out_wand(short mode);
void edit_out_wand_event_filter (short item_hit);
bool get_out_wand_in_dlog();
void put_out_wand_in_dlog();
void outdoor_details_event_filter (short item_hit);
void outdoor_details();
void edit_town_details();
void edit_town_details_event_filter (short item_hit);
void put_town_details_in_dlog();
bool save_town_details();
void edit_town_events();
void edit_town_events_event_filter (short item_hit);
void put_town_events_in_dlog();
bool save_town_events();
void edit_advanced_town();
void edit_advanced_town_event_filter (short item_hit);
void put_advanced_town_in_dlog();
bool save_advanced_town();
void edit_basic_dlog(short which_node);
void edit_basic_dlog_event_filter (short item_hit);
void put_basic_dlog_in_dlog();
bool save_basic_dlog();
void edit_talk_node(short which_node,short parent_num);
void edit_talk_node_event_filter (short item_hit);
void put_talk_node_in_dlog();
bool save_talk_node();
void pick_out_event_filter (short item_hit);
short pick_out(location default_loc);
void pick_import_town_event_filter (short item_hit);
short pick_import_town(short def,FSSpec* temp_file_to_load);
short pick_import_town(short def,fs::path& temp_file_to_load);
bool new_town(short which_town);
void new_town_event_filter (short item_hit);
void edit_placed_item_event_filter (short item_hit);
void edit_placed_item(short which_i);
void delete_last_town();
void edit_town_wand_event_filter (short item_hit);
void edit_town_wand();