From 36bb92ae241403d61dc7a3e5a1696b615be61395 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 7 Mar 2007 11:47:46 +0000 Subject: (svn r9050) -Codechange: Foo(void) -> Foo() --- src/gfx.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'src/gfx.h') diff --git a/src/gfx.h b/src/gfx.h index 37444baff..a970830b6 100644 --- a/src/gfx.h +++ b/src/gfx.h @@ -86,9 +86,9 @@ enum GameModes { GM_EDITOR }; -void GameLoop(void); +void GameLoop(); -void CreateConsole(void); +void CreateConsole(); typedef int32 CursorID; typedef byte Pixel; @@ -166,18 +166,18 @@ extern uint16 _cur_resolution[2]; extern Colour _cur_palette[256]; void HandleKeypress(uint32 key); -void HandleMouseEvents(void); +void HandleMouseEvents(); void CSleep(int milliseconds); -void UpdateWindows(void); +void UpdateWindows(); -uint32 InteractiveRandom(void); //< Used for random sequences that are not the same on the other end of the multiplayer link +uint32 InteractiveRandom(); //< Used for random sequences that are not the same on the other end of the multiplayer link uint InteractiveRandomRange(uint max); -void DrawTextMessage(void); -void DrawMouseCursor(void); -void ScreenSizeChanged(void); -void HandleExitGameRequest(void); -void GameSizeChanged(void); -void UndrawMouseCursor(void); +void DrawTextMessage(); +void DrawMouseCursor(); +void ScreenSizeChanged(); +void HandleExitGameRequest(); +void GameSizeChanged(); +void UndrawMouseCursor(); #include "helpers.hpp" @@ -222,14 +222,14 @@ void GfxDrawLine(int left, int top, int right, int bottom, int color); BoundingRect GetStringBoundingBox(const char *str); uint32 FormatStringLinebreaks(char *str, int maxw); -void LoadStringWidthTable(void); +void LoadStringWidthTable(); void DrawStringMultiCenter(int x, int y, StringID str, int maxw); uint DrawStringMultiLine(int x, int y, StringID str, int maxw); -void DrawDirtyBlocks(void); +void DrawDirtyBlocks(); void SetDirtyBlocks(int left, int top, int right, int bottom); -void MarkWholeScreenDirty(void); +void MarkWholeScreenDirty(); -void GfxInitPalettes(void); +void GfxInitPalettes(); bool FillDrawPixelInfo(DrawPixelInfo* n, int left, int top, int width, int height); @@ -239,10 +239,10 @@ void DrawOverlappedWindowForAll(int left, int top, int right, int bottom); void SetMouseCursor(CursorID cursor); void SetMouseCursor(SpriteID sprite, SpriteID pal); void SetAnimatedMouseCursor(const AnimCursor *table); -void CursorTick(void); -void DrawMouseCursor(void); -void ScreenSizeChanged(void); -void UndrawMouseCursor(void); +void CursorTick(); +void DrawMouseCursor(); +void ScreenSizeChanged(); +void UndrawMouseCursor(); bool ChangeResInGame(int w, int h); void SortResolutions(int count); void ToggleFullScreen(bool fs); -- cgit v1.2.3-54-g00ecf