
Removed unnecessary or potentially harmful compiler flags. Added alignment attribute to all old struct members. Removed some unused variables. Made some switch statements handle all or more cases. Removed using declarations in favor of fully qualified names. Fixed a couple of assignments in conditionals that should have been comparisons. Eliminated linker warnings by restoring default linking of standard libraries. Fixed some comparisons between signed and unsigned integers. Note: No testing has been done, in particular of old file I/O. This should be checked for regression caused by alteration of old struct definitions. git-svn-id: http://openexile.googlecode.com/svn/trunk@63 4ebdad44-0ea0-11de-aab3-ff745001d230
54 lines
2.2 KiB
C++
54 lines
2.2 KiB
C++
#include <string>
|
|
|
|
short text_pc_has_abil_equip(short pc_num,short abil);
|
|
void put_pc_screen();
|
|
void place_buy_button(short position,short pc_num,short item_num);
|
|
void put_item_screen(short screen_num,short suppress_buttons);
|
|
void place_item_bottom_buttons();
|
|
Rect get_party_template_rect(short pc_num,short mode);
|
|
void set_stat_window(short new_stat);
|
|
void place_item_button(short which_button_to_put,short which_slot,short which_button_position,short extra_val);
|
|
short first_active_pc();
|
|
void refresh_stat_areas(short mode);
|
|
short total_encumberance(short pc_num);
|
|
//short get_tnl(pc_record_type *pc);
|
|
void draw_pc_effects(short pc);
|
|
void print_party_stats() ;
|
|
short do_look(location space);
|
|
short town_boat_there(location where);
|
|
short out_boat_there(location where);
|
|
short town_horse_there(location where);
|
|
short out_horse_there(location where);
|
|
void notify_out_combat_began(cOutdoors::cWandering encounter,short *nums) ;
|
|
std::string get_m_name(unsigned short num);
|
|
std::string get_ter_name(unsigned short num);
|
|
void print_monst_name(unsigned short m_type);
|
|
void print_monst_attacks(unsigned short m_type,short target);
|
|
void damaged_message(short damage,short type);
|
|
std::string print_monster_going(unsigned short m_num,short ap);
|
|
void monst_spell_note(unsigned short number,short which_mess);
|
|
void monst_cast_spell_note(unsigned short number,short spell,short type);
|
|
void monst_breathe_note(unsigned short number);
|
|
void monst_damaged_mes(short which_m,short how_much,short how_much_spec);
|
|
void monst_killed_mes(short which_m);
|
|
void print_nums(short a,short b,short c);
|
|
short print_terrain(location space);
|
|
void add_string_to_buf(char *string);
|
|
void init_buf();
|
|
void print_buf () ;
|
|
void restart_printing();
|
|
void restore_mode();
|
|
void through_sending();
|
|
void Display_String(Str255 str);
|
|
Rect coord_to_rect(short i,short j);
|
|
void make_cursor_sword() ;
|
|
void get_str(Str255 str,short i, short j);
|
|
void drawstring(char * str);
|
|
short string_length(char *str);
|
|
short calc_day();
|
|
bool day_reached(unsigned char which_day, unsigned char which_event);
|
|
void display_string(char *str);
|
|
void Draw_Some_Item (GWorldPtr src_gworld, Rect src_rect, GWorldPtr targ_gworld, location target, char masked, short main_win);
|
|
//Rect get_custom_rect (short which_rect);
|
|
|