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 | 36bb92ae241403d61dc7a3e5a1696b615be61395 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/screenshot.cpp | |
parent | a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff) | |
download | openttd-36bb92ae241403d61dc7a3e5a1696b615be61395.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r-- | src/screenshot.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp index 9408d20f0..55faab116 100644 --- a/src/screenshot.cpp +++ b/src/screenshot.cpp @@ -421,7 +421,7 @@ static const ScreenshotFormat _screenshot_formats[] = { {"PCX", "pcx", &MakePCXImage}, }; -void InitializeScreenshotFormats(void) +void InitializeScreenshotFormats() { int i, j; for (i = 0, j = 0; i != lengthof(_screenshot_formats); i++) @@ -524,18 +524,18 @@ void SetScreenshotType(ScreenshotType t) current_screenshot_type = t; } -bool IsScreenshotRequested(void) +bool IsScreenshotRequested() { return (current_screenshot_type != SC_NONE); } -static bool MakeSmallScreenshot(void) +static bool MakeSmallScreenshot() { const ScreenshotFormat *sf = _screenshot_formats + _cur_screenshot_format; return sf->proc(MakeScreenshotName(sf->extension), CurrentScreenCallback, NULL, _screen.width, _screen.height, 8, _cur_palette); } -static bool MakeWorldScreenshot(void) +static bool MakeWorldScreenshot() { ViewPort vp; const ScreenshotFormat *sf; @@ -554,7 +554,7 @@ static bool MakeWorldScreenshot(void) return sf->proc(MakeScreenshotName(sf->extension), LargeWorldCallback, &vp, vp.width, vp.height, 8, _cur_palette); } -bool MakeScreenshot(void) +bool MakeScreenshot() { switch (current_screenshot_type) { case SC_VIEWPORT: |