Commit Graph

87 Commits

Author SHA1 Message Date
alberth 1838225192 (svn r22511) -Add: Function to make heightmap file paths. 2011-05-28 13:55:05 +00:00
alberth be048e05f2 (svn r22509) -Add: Save heightmap. 2011-05-28 13:54:18 +00:00
alberth 64745b4d0d (svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName. 2011-05-28 13:53:52 +00:00
alberth 63923068a2 (svn r22488) -Doc: Add Doxygen comments to screenshot code. 2011-05-22 20:18:38 +00:00
rubidium 772fd8f6b5 (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 0e1ac234d8 (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 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
yexo 7814e6e792 (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 0209b1253a (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 d446fd6766 (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 71ff3c4bb4 (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 ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium 7062bb0bd7 (svn r20040) -Codechange: some coding style + using proper types 2010-06-30 22:17:53 +00:00
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
glx 6179198c65 (svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated 2010-01-08 03:17:12 +00:00
rubidium b2e9b5d612 (svn r18683) -Fix: it's not an other 2010-01-01 18:45:40 +00:00
peter1138 2d14ced236 (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 21a3f97a0b (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 a6146f5f51 (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 5924863a49 (svn r18156) -Add: crash screenshot, created from blitter buffer 2009-11-17 23:12:42 +00:00
smatz 4eaa558ca1 (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 28916ca39e (svn r18079) -Codechange: allow overwriting of screenshots with user-supplied filenames 2009-11-14 15:50:38 +00:00
smatz 3ccf1e1b12 (svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage() 2009-11-14 15:31:06 +00:00
smatz 7163c7d3ab (svn r18075) -Codechange: let ScreenshotHandlerProc() accept 'name' as 'const char \*' 2009-11-14 15:28:57 +00:00
rubidium c77c24cb7a (svn r18058) -Fix: typos in parameter names 2009-11-13 17:40:21 +00:00
smatz a30633341c (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 d87c032e52 (svn r17941) -Fix: close BMP file when making screenshot fails 2009-11-01 20:40:36 +00:00
smatz 492a32d31c (svn r17939) -Fix (r17938): debug code sneaked in 2009-11-01 18:17:01 +00:00
smatz 090c762921 (svn r17938) -Feature: non-automatic screenshot name can be entered in console 2009-11-01 18:15:35 +00:00
smatz be446d6f54 (svn r17937) -Codechange: rename current_screenshot_type to _screenshot_type 2009-11-01 18:08:58 +00:00
smatz b577595d12 (svn r17936) -Fix: deadlock when trying to create screenshot with too long name (including path) 2009-11-01 17:49:23 +00:00
smatz fe78cd77bb (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 86c40a17a9 (svn r17909) -Fix: 32bpp BMP screenshots were in wrong colours on big endian machines 2009-10-30 23:43:44 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 0d99b6c71c (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 2009-05-24 20:29:04 +00:00
rubidium bee930f9b3 (svn r16024) -Codechange: harden string copying on places where it's possible 2009-04-10 20:37:05 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
yexo fb7b0536e7 (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 2009-02-25 21:45:14 +00:00
smatz 425fe86a3d (svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT 2009-02-24 21:32:23 +00:00
smatz d73c1fa7bf (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 2009-02-24 20:59:17 +00:00
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
rubidium 3a0d966ae4 (svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus) 2009-01-02 22:49:43 +00:00
skidd13 706dd0f86c (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
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00