summaryrefslogtreecommitdiff
path: root/src/screenshot.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 11:47:46 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 11:47:46 +0000
commit4169bfba0604b33bad92389bd3eb6f9acde89f49 (patch)
tree5676d0d54be47c40d975fdeb1026317fc2a010db /src/screenshot.cpp
parent3e2fae03bdfcc672cffd342e5fadf06cff41e4e6 (diff)
downloadopenttd-4169bfba0604b33bad92389bd3eb6f9acde89f49.tar.xz
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r--src/screenshot.cpp10
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: