GUI wip
[dboe.git] / text.h
blob852e58bd5ae3e24943854f99f07e1b73fa8fe8df
3 short text_pc_has_abil_equip(short pc_num,short abil);
4 void put_pc_screen();
5 void place_buy_button(short position,short pc_num,short item_num,HDC hdc);
6 void put_item_screen(short screen_num,short suppress_buttons);
7 void place_item_bottom_buttons();
8 RECT get_party_template_rect(short pc_num,short mode);
9 void set_stat_window(short new_stat);
10 void place_item_button(short which_button_to_put,short which_slot,short which_button_position,short extra_val);
11 short first_active_pc();
12 void refresh_stat_areas(short mode);
13 short total_encumberance(short pc_num);
14 short get_tnl(pc_record_type *pc);
15 void draw_pc_effects(short pc,HDC dest_dc);
16 void print_party_stats() ;
17 short do_look(location space);
18 short town_boat_there(location where);
19 short out_boat_there(location where);
20 short town_horse_there(location where);
21 short out_horse_there(location where);
22 void notify_out_combat_began(out_wandering_type encounter,short *nums);
23 void get_m_name(char *str,unsigned char num);
24 void get_ter_name(char *str,unsigned char num);
25 void print_monst_name(unsigned char m_type);
26 void print_monst_attacks(unsigned char m_type,short target);
27 void damaged_message(short damage,short type);
28 void print_monster_going(char *combat_str,unsigned char m_num,short ap);
29 void monst_spell_note(unsigned char number,short which_mess);
30 void monst_cast_spell_note(unsigned char number,short spell,short type);
31 void monst_breathe_note(unsigned char number);
32 void monst_damaged_mes(short which_m,short how_much,short how_much_spec);
33 void monst_killed_mes(short which_m);
34 void print_nums(short a,short b,short c);
35 short print_terrain(location space);
36 //void add_string_to_buf(char *string);
37 void add_string_to_buf(char const *string);
38 void init_buf();
39 void print_buf () ;
40 void restart_printing();
41 void restore_mode();
42 void through_sending();
43 void Display_String(char *str);
44 RECT coord_to_rect(short i,short j);
45 void make_cursor_sword() ;
46 void c2p(char *str) ;
47 void p2c(char *str);
48 void get_str(char *str,short i, short j);
49 short string_length(char *str,HDC hdc);
50 void char_win_draw_string(HDC dest_window,RECT dest_rect,char *str,short mode,short line_height);
51 void win_draw_string(HDC dest_window,RECT dest_rect,char *str,short mode,short line_height);
52 short calc_day();
53 Boolean day_reached(unsigned char which_day, unsigned char which_event);
54 void display_string(char *str);
55 void Draw_Some_Item (HBITMAP src_gworld, RECT src_rect, HBITMAP targ_gworld, location target, char masked, short main_win);
57 void WinBlackDrawString(char *string,short x,short y);
58 void WinDrawString(char *string,short x,short y);
59 void DrawString(char *string,short x,short y,HDC hdc);
60 void Display_String(char *string);
61 void FlushEvents(short mode);
62 void ExitToShell();
63 void undo_clip();
64 void ClipRect(RECT *rect);
65 void beep();
67 void SysBeep(short a);
68 void make_cursor_sword() ;
69 void GetIndString(char *str,short i, short j) ;
70 void StringToNum(char *the_string,long *number_given);
71 void force_reprint();
72 void MeasureText(short str_len,char *str, short *len_array,HDC hdc);
73 void MoveTo(short x, short y);
74 void MoveToDrawString(char *string,HDC hdc);
75 Boolean is_ident(item_record_type item);
76 Boolean is_magic(item_record_type item);
77 Boolean is_contained(item_record_type item);
78 Boolean is_cursed(item_record_type item);
79 Boolean is_property(item_record_type item);
80 RECT get_custom_rect (short which_rect);