(svn r2369) Remove _thd_ptr: It always holds the address of _thd

This commit is contained in:
tron
2005-05-27 15:05:54 +00:00
parent 72f673f36d
commit 2aaff36eef
2 changed files with 104 additions and 117 deletions

View File

@@ -124,12 +124,11 @@ bool HandlePlacePushButton(Window *w, int widget, uint32 cursor, int mode, Place
/* viewport.c */
// XXX - maximum viewports is maximum windows - 2 (main toolbar + status bar)
VARDEF ViewPort _viewports[25 - 2];
VARDEF TileHighlightData _thd;
VARDEF uint32 _active_viewports;
VARDEF Point _tile_fract_coords;
extern TileHighlightData * const _thd_ptr;
extern TileHighlightData _thd;
void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom);