Major code reorganization
This commit only updates the XCode project for the changes. A later commit each will update it for scons and MSVC. A few actual changes are mixed in: - Add a prefix header for a handful of common definitions - Moved current_cursor into the Cursor class as a static member - Removed the make_cursor_sword and make_cursor_watch functions - Include tests in the All target - Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
This commit is contained in:
30
src/game/boe.town.hpp
Normal file
30
src/game/boe.town.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
void force_town_enter(short which_town,location where_start);
|
||||
void start_town_mode(short which_town, short entry_dir);
|
||||
location end_town_mode(short switching_level,location destination); // returns new party location
|
||||
void handle_leave_town_specials(short town_number, short which_spec,location start_loc) ;
|
||||
void handle_town_specials(short town_number, bool town_dead,location start_loc) ;
|
||||
bool abil_exists(eItemAbil abil);
|
||||
|
||||
void start_town_combat(eDirection direction);
|
||||
eDirection end_town_combat();
|
||||
void place_party(short direction);
|
||||
void create_out_combat_terrain(short type,short num_walls,bool is_road);
|
||||
void elim_monst(ter_num_t which,short spec_a,short spec_b);
|
||||
void do_shop(short which,short min,short max,char *store_name);
|
||||
void buy_food(short cost,short per,const char* food_name);
|
||||
void healing_shop();
|
||||
void do_sell(short which);
|
||||
void dump_gold(short print_mes);
|
||||
void pick_lock(location where,short pc_num);
|
||||
void bash_door(location where,short pc_num);
|
||||
void erase_specials();
|
||||
void erase_out_specials();
|
||||
void clear_map();
|
||||
void draw_map(bool need_refresh);
|
||||
bool is_door(location destination);
|
||||
void display_map();
|
||||
void check_done();
|
||||
bool quadrant_legal(short i, short j) ;
|
Reference in New Issue
Block a user