Commit Graph

311 Commits (jgrpp)

Author SHA1 Message Date
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
rubidium 2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium ef7befdbd8 (svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen) 11 years ago
rubidium 238a842700 (svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen) 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch fccf0ac84d (svn r24805) -Codechange: Refactor determination of screenshot viewport for world screenshots. 12 years ago
frosch e19ba0f72a (svn r24805) -Codechange: Refactor determination of screenshot viewport for world screenshots. 12 years ago
frosch edd9c0553a (svn r24804) -Add: Separate subdirectory for screenshots. 12 years ago
frosch 50abcf3edc (svn r24804) -Add: Separate subdirectory for screenshots. 12 years ago
alberth 2ab7c82b31 (svn r24395) -Doc: Fixed argument references in @param descriptions. 12 years ago
alberth 67f599f9db (svn r24395) -Doc: Fixed argument references in @param descriptions. 12 years ago
truebrain e2fea99ba9 (svn r23784) -Revert (r23740): compiling without libpng failed to include a correct header 13 years ago
truebrain 4ecd7843fb (svn r23784) -Revert (r23740): compiling without libpng failed to include a correct header 13 years ago
frosch 45df862fb0 (svn r23775) -Change: Hide the PCX screenshot format from the options window, if a 32bpp blitter is used. 13 years ago
frosch a6f6c0f8ab (svn r23775) -Change: Hide the PCX screenshot format from the options window, if a 32bpp blitter is used. 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 8b223f0274 (svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed in and default zoomed in screenshots 13 years ago
rubidium 7dc6e5b5fc (svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed in and default zoomed in screenshots 13 years ago
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
rubidium 2ccbd2a6f5 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 13 years ago
rubidium a531ec1899 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 13 years ago
truebrain cc12942d70 (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 13 years ago
truebrain bf803e40cc (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 13 years ago
peter1138 349da42ce3 (svn r23333) -Fix [FS#4854]: Make zoomed in screenshot use the selected maximum zoom. 13 years ago
peter1138 b100c49227 (svn r23333) -Fix [FS#4854]: Make zoomed in screenshot use the selected maximum zoom. 13 years ago
peter1138 03c86ab874 (svn r23325) -Fix (r23316): World screenshot was incorrectly positioned. 13 years ago
peter1138 1121fb8698 (svn r23325) -Fix (r23316): World screenshot was incorrectly positioned. 13 years ago
peter1138 81598273e9 (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
rubidium c9a7f572ec (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium 215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium a72544d5e1 (svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x) 13 years ago
rubidium 79244bd57f (svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x) 13 years ago
alberth 1838225192 (svn r22511) -Add: Function to make heightmap file paths. 13 years ago
alberth 4b295664ad (svn r22511) -Add: Function to make heightmap file paths. 13 years ago
alberth be048e05f2 (svn r22509) -Add: Save heightmap. 13 years ago
alberth d042417821 (svn r22509) -Add: Save heightmap. 13 years ago
alberth 64745b4d0d (svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName. 13 years ago
alberth 8eb1fba763 (svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName. 13 years ago
alberth 63923068a2 (svn r22488) -Doc: Add Doxygen comments to screenshot code. 13 years ago
alberth 7849495f6a (svn r22488) -Doc: Add Doxygen comments to screenshot code. 13 years ago
rubidium 772fd8f6b5 (svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu 13 years ago
rubidium edc0a4516b (svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu 13 years ago
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 13 years ago
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 13 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
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 14 years ago
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 14 years ago
rubidium 0209b1253a (svn r21558) -Codechange: add the graphics set and its version to the screenshot metadata as well 14 years ago
rubidium 3de89fd3f9 (svn r21558) -Codechange: add the graphics set and its version to the screenshot metadata as well 14 years ago
rubidium d446fd6766 (svn r21553) -Feature-ish: store the used OpenTTD version, NewGRFs and AIs in the screenshot file 14 years ago
rubidium e2d08a83a3 (svn r21553) -Feature-ish: store the used OpenTTD version, NewGRFs and AIs in the screenshot file 14 years ago
michi_cc 71ff3c4bb4 (svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi) 14 years ago
michi_cc 38d9d87434 (svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi) 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 7062bb0bd7 (svn r20040) -Codechange: some coding style + using proper types 14 years ago
rubidium c130252cc0 (svn r20040) -Codechange: some coding style + using proper types 14 years ago
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
glx 6179198c65 (svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated 15 years ago
glx f4fe465e3b (svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated 15 years ago
rubidium b2e9b5d612 (svn r18683) -Fix: it's not an other 15 years ago
rubidium 3de085a143 (svn r18683) -Fix: it's not an other 15 years ago
peter1138 2d14ced236 (svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM. 15 years ago
peter1138 83ae0f9b59 (svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM. 15 years ago
rubidium 21a3f97a0b (svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message 15 years ago
rubidium 0efc6bb877 (svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message 15 years ago
rubidium a6146f5f51 (svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested. 15 years ago
rubidium 0da7a4dc91 (svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested. 15 years ago
smatz 5924863a49 (svn r18156) -Add: crash screenshot, created from blitter buffer 15 years ago
smatz 0c4cada640 (svn r18156) -Add: crash screenshot, created from blitter buffer 15 years ago
smatz 4eaa558ca1 (svn r18155) -Codechange: in MakeScreenshotName(), don't return pointer to local static variable - use global one instead 15 years ago
smatz 8894008ed7 (svn r18155) -Codechange: in MakeScreenshotName(), don't return pointer to local static variable - use global one instead 15 years ago
smatz 28916ca39e (svn r18079) -Codechange: allow overwriting of screenshots with user-supplied filenames 15 years ago
smatz 582e27bbc1 (svn r18079) -Codechange: allow overwriting of screenshots with user-supplied filenames 15 years ago
smatz 3ccf1e1b12 (svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage() 15 years ago
smatz ae93b5e03f (svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage() 15 years ago
smatz 7163c7d3ab (svn r18075) -Codechange: let ScreenshotHandlerProc() accept 'name' as 'const char \*' 15 years ago
smatz 7cd1ffa855 (svn r18075) -Codechange: let ScreenshotHandlerProc() accept 'name' as 'const char \*' 15 years ago
rubidium c77c24cb7a (svn r18058) -Fix: typos in parameter names 15 years ago
rubidium 6134cc0c41 (svn r18058) -Fix: typos in parameter names 15 years ago
smatz a30633341c (svn r17943) -Change: use 24bpp BMP format instead of 32bpp for screenshots. Saves space and is supported by more image viewers 15 years ago
smatz 2d008c9cfd (svn r17943) -Change: use 24bpp BMP format instead of 32bpp for screenshots. Saves space and is supported by more image viewers 15 years ago
smatz d87c032e52 (svn r17941) -Fix: close BMP file when making screenshot fails 15 years ago
smatz c7eb1c97dd (svn r17941) -Fix: close BMP file when making screenshot fails 15 years ago
smatz 492a32d31c (svn r17939) -Fix (r17938): debug code sneaked in 15 years ago
smatz e920f3004b (svn r17939) -Fix (r17938): debug code sneaked in 15 years ago
smatz 090c762921 (svn r17938) -Feature: non-automatic screenshot name can be entered in console 15 years ago
smatz a80f582a8a (svn r17938) -Feature: non-automatic screenshot name can be entered in console 15 years ago
smatz be446d6f54 (svn r17937) -Codechange: rename current_screenshot_type to _screenshot_type 15 years ago
smatz 1dce59ed50 (svn r17937) -Codechange: rename current_screenshot_type to _screenshot_type 15 years ago
smatz b577595d12 (svn r17936) -Fix: deadlock when trying to create screenshot with too long name (including path) 15 years ago
smatz 90c6a75bfa (svn r17936) -Fix: deadlock when trying to create screenshot with too long name (including path) 15 years ago
smatz fe78cd77bb (svn r17910) -Fix: 32bpp BMP screenshots were broken when screen width wasn't multiple of 4 15 years ago
smatz 3d177abb14 (svn r17910) -Fix: 32bpp BMP screenshots were broken when screen width wasn't multiple of 4 15 years ago
smatz 86c40a17a9 (svn r17909) -Fix: 32bpp BMP screenshots were in wrong colours on big endian machines 15 years ago
smatz 6b76afbc5c (svn r17909) -Fix: 32bpp BMP screenshots were in wrong colours on big endian machines 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 0d99b6c71c (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 15 years ago
rubidium c496a3e014 (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 15 years ago
rubidium bee930f9b3 (svn r16024) -Codechange: harden string copying on places where it's possible 15 years ago
rubidium 11e2ca71e6 (svn r16024) -Codechange: harden string copying on places where it's possible 15 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 15 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 15 years ago
yexo fb7b0536e7 (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 16 years ago
yexo b8601d903d (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 16 years ago
smatz 425fe86a3d (svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT 16 years ago
smatz 1f42f44092 (svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT 16 years ago
smatz d73c1fa7bf (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 16 years ago
smatz 34bfb35105 (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 16 years ago
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium 3a0d966ae4 (svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus) 16 years ago
rubidium 741f0a86fe (svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus) 16 years ago
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
skidd13 9b282b3e51 (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
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. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium ea1f180a55 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 16 years ago
rubidium a20b833516 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 16 years ago
smatz 7a7ff65ac5 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 16 years ago
smatz 5259d13da7 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 16 years ago
smatz 9da745b381 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 16 years ago
smatz cf489a25b0 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 16 years ago
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
frosch cbe7e5d668 (svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable usage of 32bpp-anim animation buffer during giant screenshots. 17 years ago