mirror of https://github.com/OpenTTD/OpenTTD
(svn r12771) -Codechange: remove more from variables.h.
parent
3547e6d2ba
commit
7edc9b65c6
|
@ -43,9 +43,6 @@
|
|||
static int _rename_id = 1;
|
||||
static int _rename_what = -1;
|
||||
|
||||
bool _draw_bounding_boxes = false;
|
||||
|
||||
|
||||
void CcGiveMoney(bool success, TileIndex tile, uint32 p1, uint32 p2)
|
||||
{
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
@ -257,6 +254,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e)
|
|||
|
||||
if (e->we.keypress.keycode == ('B' | WKC_CTRL)) {
|
||||
e->we.keypress.cont = false;
|
||||
extern bool _draw_bounding_boxes;
|
||||
_draw_bounding_boxes = !_draw_bounding_boxes;
|
||||
MarkWholeScreenDirty();
|
||||
break;
|
||||
|
|
|
@ -65,8 +65,6 @@ VARDEF char *_log_file;
|
|||
/* landscape.cpp */
|
||||
extern const byte _tileh_to_sprite[32];
|
||||
|
||||
extern bool _draw_bounding_boxes;
|
||||
|
||||
/* misc */
|
||||
VARDEF char _screenshot_name[128];
|
||||
VARDEF byte _vehicle_design_names;
|
||||
|
|
|
@ -140,6 +140,7 @@ static ViewportDrawer _vd;
|
|||
|
||||
TileHighlightData _thd;
|
||||
static TileInfo *_cur_ti;
|
||||
bool _draw_bounding_boxes = false;
|
||||
|
||||
extern void SmallMapCenterOnCurrentPos(Window *w);
|
||||
|
||||
|
|
Loading…
Reference in New Issue