- Added some of the most basic dialogs - Changed C-style <xxx.h> headers to C++-style <cxxx> headers - Switched graphics to load from the PNG files in graphics.exd rather than from Blades of Exile Graphics (NOTE: Some graphics still don't work, probably because of incorrect source rects) - Switched cursors to load from GIF files in graphics.exd rather than from Blades of Exile Graphics - Moved Niemand's tileImage functions from boe.graphics.cpp to graphtool.cpp, so they can be used by all three programs. - Added some string lists in .txt files - Made cursors into an enum - Rewrote the code for displaying the Edit Terrain dialog to use the new engine (not tested yet) - Fixed some __attribute__((deprecated)) stuff - Most graphics are now loaded just after the custom graphics. This means they will be overridden by a file of the same name in the scenario's .exr folder. - Altered modes a little so that when at the startup screen you are in MODE_STARTUP rather than MODE_OUTDOORS. - Switched from function pointers to boost::function – the Boost libraries are now required. - Finished off the new dialog engine and made gess necessary - Added status icons as another type that can be drawn in dialogs - C Wrappers for Cocoa cursors based on an Apple example. This is tested, and works perfectly. - Added a switch in the program for using Windows graphics; however, there is no way as yet to set this flag, and in fact there aren't even any Windows graphics to use. - Added include guards to graphtool.h - Made separate mac and win directories within sounds.exa, since the Mac and Windows sounds are mostly subtly different (with two completely different!) git-svn-id: http://openexile.googlecode.com/svn/trunk@90 4ebdad44-0ea0-11de-aab3-ff745001d230
63 lines
2.4 KiB
C
63 lines
2.4 KiB
C
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();
|
|
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);
|
|
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();
|