Housekeeping

- Rename cItemRec -> cItem and cItemRec::type -> cItem::weap_type
- Clear out a lot of commented code
- Remove the flag_x members in the scenario that used to store the scenario's password hash (or something like that)
This commit is contained in:
2015-01-12 00:29:55 -05:00
parent 43e4bcc048
commit 908652d168
79 changed files with 236 additions and 2399 deletions

View File

@@ -10,11 +10,8 @@
#include "scen.btnmg.h"
#include "scrollbar.hpp"
//extern piles_of_stuff_dumping_type *data_store;
extern rectangle right_sbar_rect;
rectangle left_button[NLS];
extern rectangle right_buttons[NRSONPAGE];
rectangle right_scrollbar_rect;
@@ -76,7 +73,6 @@ void set_lb(short slot, short mode, const char *label, short do_draw) {
return;
}
left_button_status[slot] = mode;
//sprintf((char *)strings_ls[slot], "%-39.39s", label);
sprintf((char *)strings_ls[slot], "%-50.50s", label);
strings_ls[slot][39] = 0;
if(do_draw > 0)
@@ -122,7 +118,6 @@ void set_rb(short slot, short mode, const char *label, short do_draw) {
return;
}
right_button_status[slot] = mode;
//sprintf((char *)strings_rs[slot], "%-39.39s", label);
sprintf((char *)strings_rs[slot], "%s", label);
strings_rs[slot][39] = 0;
for(i = 0; i < 39; i++)