diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/viewport.h | |
parent | 3e2fae03bdfcc672cffd342e5fadf06cff41e4e6 (diff) | |
download | openttd-4169bfba0604b33bad92389bd3eb6f9acde89f49.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/viewport.h')
-rw-r--r-- | src/viewport.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/viewport.h b/src/viewport.h index 94ee4631f..62a61370d 100644 --- a/src/viewport.h +++ b/src/viewport.h @@ -16,12 +16,12 @@ struct ViewPort { void SetSelectionRed(bool); /* viewport.c */ -void InitViewports(void); +void InitViewports(); void DeleteWindowViewport(Window *w); void AssignWindowViewport(Window *w, int x, int y, int width, int height, uint32 follow_flags, byte zoom); ViewPort *IsPtInWindowViewport(const Window *w, int x, int y); -Point GetTileBelowCursor(void); +Point GetTileBelowCursor(); void UpdateViewportPosition(Window *w); enum { @@ -49,11 +49,11 @@ void *AddStringToDraw(int x, int y, StringID string, uint32 params_1, uint32 par void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y); -void StartSpriteCombine(void); -void EndSpriteCombine(void); +void StartSpriteCombine(); +void EndSpriteCombine(); void HandleViewportClicked(const ViewPort *vp, int x, int y); -void PlaceObject(void); +void PlaceObject(); void SetRedErrorSquare(TileIndex tile); void SetTileSelectSize(int w, int h); void SetTileSelectBigSize(int ox, int oy, int sx, int sy); @@ -62,7 +62,7 @@ void VpStartPlaceSizing(TileIndex tile, int user); void VpSetPresizeRange(uint from, uint to); void VpSetPlaceSizingLimit(int limit); -Vehicle *CheckMouseOverVehicle(void); +Vehicle *CheckMouseOverVehicle(); enum { VPM_X_OR_Y = 0, |