\#perminv, 1 of 2: groundwork
Give the window-port side of *_update_inventory() an argument. Calls in the core still omit that; invent.c's update_inventory() is the only place that cares.
This commit is contained in:
@@ -37,7 +37,7 @@ struct window_procs {
|
||||
void (*win_end_menu)(winid, const char *);
|
||||
int (*win_select_menu)(winid, int, MENU_ITEM_P **);
|
||||
char (*win_message_menu)(char, int, const char *);
|
||||
void (*win_update_inventory)(void);
|
||||
void (*win_update_inventory)(int);
|
||||
void (*win_mark_synch)(void);
|
||||
void (*win_wait_synch)(void);
|
||||
#ifdef CLIPPING
|
||||
@@ -417,7 +417,7 @@ extern void safe_add_menu(winid, const glyph_info *, const ANY_P *,
|
||||
extern void safe_end_menu(winid, const char *);
|
||||
extern int safe_select_menu(winid, int, MENU_ITEM_P **);
|
||||
extern char safe_message_menu(char, int, const char *);
|
||||
extern void safe_update_inventory(void);
|
||||
extern void safe_update_inventory(int);
|
||||
extern void safe_mark_synch(void);
|
||||
extern void safe_wait_synch(void);
|
||||
#ifdef CLIPPING
|
||||
|
||||
Reference in New Issue
Block a user