diff options
author | rubidium <rubidium@openttd.org> | 2009-03-15 00:32:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-15 00:32:18 +0000 |
commit | b25a4f8231f3ded44038ea454a3d4c6a2dc9217d (patch) | |
tree | 776122508c686680b9c97f37ba3cb92ef905d67f /src/screenshot.cpp | |
parent | d72273d1f3b55df0e301408d630f24ef92ea8479 (diff) | |
download | openttd-b25a4f8231f3ded44038ea454a3d4c6a2dc9217d.tar.xz |
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r-- | src/screenshot.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp index b5df3d49a..01dac79a0 100644 --- a/src/screenshot.cpp +++ b/src/screenshot.cpp @@ -34,9 +34,9 @@ struct ScreenshotFormat { ScreenshotHandlerProc *proc; }; -//************************************************ -//*** SCREENSHOT CODE FOR WINDOWS BITMAP (.BMP) -//************************************************ +/************************************************* + **** SCREENSHOT CODE FOR WINDOWS BITMAP (.BMP) + *************************************************/ #if defined(_MSC_VER) || defined(__WATCOMC__) #pragma pack(push, 1) #endif @@ -153,9 +153,9 @@ static bool MakeBmpImage(const char *name, ScreenshotCallback *callb, void *user return true; } -//******************************************************** -//*** SCREENSHOT CODE FOR PORTABLE NETWORK GRAPHICS (.PNG) -//******************************************************** +/********************************************************* + **** SCREENSHOT CODE FOR PORTABLE NETWORK GRAPHICS (.PNG) + *********************************************************/ #if defined(WITH_PNG) #include <png.h> @@ -276,9 +276,9 @@ static bool MakePNGImage(const char *name, ScreenshotCallback *callb, void *user #endif /* WITH_PNG */ -//************************************************ -//*** SCREENSHOT CODE FOR ZSOFT PAINTBRUSH (.PCX) -//************************************************ +/************************************************* + **** SCREENSHOT CODE FOR ZSOFT PAINTBRUSH (.PCX) + *************************************************/ struct PcxHeader { byte manufacturer; @@ -423,9 +423,9 @@ static bool MakePCXImage(const char *name, ScreenshotCallback *callb, void *user return success; } -//************************************************ -//*** GENERIC SCREENSHOT CODE -//************************************************ +/************************************************* + **** GENERIC SCREENSHOT CODE + *************************************************/ static const ScreenshotFormat _screenshot_formats[] = { #if defined(WITH_PNG) |