Commit Graph

89 Commits

Author SHA1 Message Date
rubidium
215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 2011-11-12 08:37:12 +00:00
rubidium
79244bd57f (svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x) 2011-11-04 10:32:26 +00:00
alberth
4b295664ad (svn r22511) -Add: Function to make heightmap file paths. 2011-05-28 13:55:05 +00:00
alberth
d042417821 (svn r22509) -Add: Save heightmap. 2011-05-28 13:54:18 +00:00
alberth
8eb1fba763 (svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName. 2011-05-28 13:53:52 +00:00
alberth
7849495f6a (svn r22488) -Doc: Add Doxygen comments to screenshot code. 2011-05-22 20:18:38 +00:00
rubidium
edc0a4516b (svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu 2011-05-13 20:07:57 +00:00
rubidium
a61ae330bd (svn r22388) -Fix: when a game uses a lot of NewGRFs the buffer for storing that information in the PNG is too small 2011-04-30 17:44:12 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
yexo
6cc694c723 (svn r21690) -Fix: the top of a tall building standing on a hill at the top of the map could be cut off in a giant screenshot 2011-01-01 21:15:50 +00:00
rubidium
3de89fd3f9 (svn r21558) -Codechange: add the graphics set and its version to the screenshot metadata as well 2010-12-21 10:11:11 +00:00
rubidium
e2d08a83a3 (svn r21553) -Feature-ish: store the used OpenTTD version, NewGRFs and AIs in the screenshot file 2010-12-20 22:54:15 +00:00
michi_cc
38d9d87434 (svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi) 2010-08-15 23:32:36 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth
1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium
c130252cc0 (svn r20040) -Codechange: some coding style + using proper types 2010-06-30 22:17:53 +00:00
smatz
5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
glx
f4fe465e3b (svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated 2010-01-08 03:17:12 +00:00
rubidium
3de085a143 (svn r18683) -Fix: it's not an other 2010-01-01 18:45:40 +00:00
peter1138
83ae0f9b59 (svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM. 2009-12-31 07:39:05 +00:00
rubidium
0efc6bb877 (svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message 2009-12-25 19:16:58 +00:00
rubidium
0da7a4dc91 (svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested. 2009-12-19 19:21:37 +00:00
smatz
0c4cada640 (svn r18156) -Add: crash screenshot, created from blitter buffer 2009-11-17 23:12:42 +00:00
smatz
8894008ed7 (svn r18155) -Codechange: in MakeScreenshotName(), don't return pointer to local static variable - use global one instead 2009-11-17 23:08:55 +00:00
smatz
582e27bbc1 (svn r18079) -Codechange: allow overwriting of screenshots with user-supplied filenames 2009-11-14 15:50:38 +00:00
smatz
ae93b5e03f (svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage() 2009-11-14 15:31:06 +00:00
smatz
7cd1ffa855 (svn r18075) -Codechange: let ScreenshotHandlerProc() accept 'name' as 'const char \*' 2009-11-14 15:28:57 +00:00
rubidium
6134cc0c41 (svn r18058) -Fix: typos in parameter names 2009-11-13 17:40:21 +00:00
smatz
2d008c9cfd (svn r17943) -Change: use 24bpp BMP format instead of 32bpp for screenshots. Saves space and is supported by more image viewers 2009-11-01 20:54:21 +00:00
smatz
c7eb1c97dd (svn r17941) -Fix: close BMP file when making screenshot fails 2009-11-01 20:40:36 +00:00
smatz
e920f3004b (svn r17939) -Fix (r17938): debug code sneaked in 2009-11-01 18:17:01 +00:00
smatz
a80f582a8a (svn r17938) -Feature: non-automatic screenshot name can be entered in console 2009-11-01 18:15:35 +00:00
smatz
1dce59ed50 (svn r17937) -Codechange: rename current_screenshot_type to _screenshot_type 2009-11-01 18:08:58 +00:00
smatz
90c6a75bfa (svn r17936) -Fix: deadlock when trying to create screenshot with too long name (including path) 2009-11-01 17:49:23 +00:00
smatz
3d177abb14 (svn r17910) -Fix: 32bpp BMP screenshots were broken when screen width wasn't multiple of 4 2009-10-30 23:58:40 +00:00
smatz
6b76afbc5c (svn r17909) -Fix: 32bpp BMP screenshots were in wrong colours on big endian machines 2009-10-30 23:43:44 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
c496a3e014 (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 2009-05-24 20:29:04 +00:00
rubidium
11e2ca71e6 (svn r16024) -Codechange: harden string copying on places where it's possible 2009-04-10 20:37:05 +00:00
rubidium
c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
yexo
b8601d903d (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 2009-02-25 21:45:14 +00:00
smatz
1f42f44092 (svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT 2009-02-24 21:32:23 +00:00
smatz
34bfb35105 (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 2009-02-24 20:59:17 +00:00
rubidium
89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
smatz
9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
smatz
91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
rubidium
741f0a86fe (svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus) 2009-01-02 22:49:43 +00:00
skidd13
9b282b3e51 (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 2008-11-02 11:20:15 +00:00