alberth
7849495f6a
(svn r22488) -Doc: Add Doxygen comments to screenshot code.
14 years ago
rubidium
772fd8f6b5
(svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu
14 years ago
rubidium
edc0a4516b
(svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu
14 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
14 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
14 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.
16 years ago
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
rubidium
bee930f9b3
(svn r16024) -Codechange: harden string copying on places where it's possible
16 years ago
rubidium
11e2ca71e6
(svn r16024) -Codechange: harden string copying on places where it's possible
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 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
17 years ago
smatz
5259d13da7
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
17 years ago
smatz
9da745b381
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
17 years ago
smatz
cf489a25b0
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
17 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.
17 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.
17 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
frosch
7d3ecec5b9
(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
rubidium
b4b3190b62
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
17 years ago
rubidium
285a4a106f
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
17 years ago
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
db73addb43
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
f82aeb82c5
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
aac835171e
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
17 years ago
rubidium
7058b2cce2
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
17 years ago
rubidium
b3f6c0734b
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
17 years ago
rubidium
851f19b341
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
rubidium
507463e420
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
1f6043458c
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
8427b8bad2
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
skidd13
58bb5c7525
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
skidd13
7a4d96f629
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
skidd13
8be526e499
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
skidd13
98f66552be
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
peter1138
b1bad4ab46
(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one)
17 years ago
peter1138
12302ae8c7
(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one)
17 years ago
peter1138
eb6594caa8
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
18 years ago
peter1138
8ee9e8bf1e
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
18 years ago
truelight
3fa3d2e365
(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
...
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
18 years ago
truelight
d614cec205
(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
...
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
18 years ago
truelight
003375d375
(svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
...
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
18 years ago
truelight
79cd3f5db0
(svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
...
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
18 years ago
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
18 years ago
rubidium
3c7a85fe94
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
18 years ago
truelight
f3f744d36a
(svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
...
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
18 years ago
truelight
0e53fd6d32
(svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
...
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
18 years ago
rubidium
73790d9cd6
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
18 years ago
rubidium
60d738f23a
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
18 years ago
truelight
765c466b8d
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
truelight
b605f68631
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
truelight
d3f375231f
(svn r9844) -Codechange: replace zoomlevel with an enum
...
-Codechange: use predefined enums for viewport zoomlevels
18 years ago