mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-19 14:11:15 +00:00
Add redraw_toolname
This commit is contained in:
parent
1366b050b0
commit
480094a3eb
@ -6,15 +6,33 @@
|
||||
#include "inventory.h"
|
||||
#include "object.h"
|
||||
#include "proto.h"
|
||||
#include "svga.h"
|
||||
#include "window_manager.h"
|
||||
|
||||
namespace fallout {
|
||||
|
||||
static void redraw_toolname();
|
||||
static int mapper_mark_exit_grid();
|
||||
static void mapper_mark_all_exit_grids();
|
||||
|
||||
// 0x559748
|
||||
MapTransition mapInfo = { -1, -1, 0, 0 };
|
||||
|
||||
// 0x6EC4AC
|
||||
int tool_win;
|
||||
|
||||
// 0x48B230
|
||||
void redraw_toolname()
|
||||
{
|
||||
Rect rect;
|
||||
|
||||
rect.left = _scr_size.right - _scr_size.left - 149;
|
||||
rect.top = 60;
|
||||
rect.right = _scr_size.right - _scr_size.left + 1;
|
||||
rect.bottom = 95;
|
||||
windowRefreshRect(tool_win, &rect);
|
||||
}
|
||||
|
||||
// 0x48C604
|
||||
int mapper_inven_unwield(Object* obj, int right_hand)
|
||||
{
|
||||
|
@ -8,6 +8,8 @@ namespace fallout {
|
||||
|
||||
extern MapTransition mapInfo;
|
||||
|
||||
extern int tool_win;
|
||||
|
||||
int mapper_inven_unwield(Object* obj, int right_hand);
|
||||
|
||||
} // namespace fallout
|
||||
|
Loading…
Reference in New Issue
Block a user