rubidium42
|
55a11710a6
|
Codechange: convert printf DEBUG statements to fmt Debug statements
|
2021-06-13 12:45:45 +02:00 |
Patric Stout
|
28e90769f7
|
Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways we had
While at it, replace OTTD_ASSERT with WITH_ASSERT, as this
is always set if assert() is valid. No matter if NDEBUG is set
or not.
|
2021-06-03 17:30:00 +02:00 |
Rubidium
|
fdc11a9f94
|
Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality
|
2021-05-08 12:39:34 +02:00 |
Charles Pigott
|
dd798d688b
|
Fix #8919: Release builds with asserts enabled (#8925)
|
2021-04-01 23:57:49 +01:00 |
Patric Stout
|
fece1c57ca
|
Codechange: Suppress warnings when asserts are disabled (#8917)
|
2021-04-01 11:16:19 +02:00 |
Michael Lutz
|
3e49aff35c
|
Codechange: Allow video drivers to handle the cursor themselves.
|
2021-02-22 22:16:07 +01:00 |
Michael Lutz
|
6776229047
|
Codechange: Make the simple Malloc sprite allocator globally usable.
|
2021-02-22 22:16:07 +01:00 |
Michael Lutz
|
70aa3b4011
|
Codechange: Give sprite encoders a hint which colour components of a sprite are filled with useful information.
|
2021-02-22 22:16:07 +01:00 |
Michael Lutz
|
e7e5316340
|
Add: Allow sprite encoders (blitters) to specify an alignment for sprite width and height.
|
2021-02-22 22:16:07 +01:00 |
Michael Lutz
|
02e8741457
|
Codechange: Allow for using a sprite encoder that is not the currently active blitter when loading a sprite.
|
2021-02-22 22:16:07 +01:00 |
Charles Pigott
|
9b800a96ed
|
Codechange: Remove min/max functions in favour of STL variants (#8502)
|
2021-01-08 11:16:18 +01:00 |
Charles Pigott
|
860c270c73
|
Codechange: Replace assert_compile macro with static_assert
|
2020-12-27 10:55:42 +00:00 |
Niels Martin Hansen
|
c8779fb311
|
Feature: NewGRF callback profiling (#7868)
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
|
2020-01-26 13:45:51 +01:00 |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
Charles Pigott
|
10ba431d21
|
Codechange: Remove SpriteTypeByte type
|
2019-04-29 17:40:22 +01:00 |
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-10 23:22:20 +02:00 |
Greg Carlin
|
00d28a500d
|
Feature: Add option to adjust font size separately from GUI size. (#7003)
Adds an option in the "Game Options" next to "Interface Size" called "Font Size". Available options are normal, double, and quad.
|
2019-02-23 08:27:46 +00:00 |
frosch
|
b4b98e5165
|
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
|
2017-08-13 18:38:42 +00:00 |
frosch
|
7b553d255e
|
(svn r27732) -Change: Turn the message about 'missing baseset sprites' from a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
|
2017-01-14 18:30:26 +00:00 |
peter1138
|
2b46a4ae1d
|
(svn r27016) -Fix (r27004): Setting font-sprite data failed for some user(s).
|
2014-10-14 16:09:21 +00:00 |
peter1138
|
1088ad48fc
|
(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.
|
2014-10-12 20:43:25 +00:00 |
rubidium
|
0463dbdc9e
|
(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
|
2014-04-23 20:13:33 +00:00 |
rubidium
|
2618d960e3
|
(svn r26209) -Codechange: remove some template magic and simplify some code
|
2014-01-02 22:41:58 +00:00 |
rubidium
|
fb4db0b022
|
(svn r26201) -Fix: unscaling by a negative value is the same as scaling by a positive number
|
2014-01-02 11:04:37 +00:00 |
frosch
|
1e0dd39075
|
(svn r25821) -Fix-ish: Sprite 0 was considered available, even if no baseset was loaded.
|
2013-10-06 19:40:40 +00:00 |
michi_cc
|
6f359bc1f0
|
(svn r25492) -Doc: Missing comment.
|
2013-06-27 21:18:56 +00:00 |
frosch
|
f800c826a8
|
(svn r25081) -Fix [FS#5500]: Catch exception anonymously, if the exception content is not of interest.
|
2013-03-11 17:45:23 +00:00 |
frosch
|
d3c0e1d340
|
(svn r25061) -Fix: When allocation of the sprite cache fails, try to allocate less memory and display an error message later on.
|
2013-03-03 13:00:06 +00:00 |
planetmaker
|
c24374f99c
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
2013-01-08 22:46:42 +00:00 |
frosch
|
24e62f39e0
|
(svn r24858) -Fix [FS#5404]: Make invalid sprite references to mapgen sprites behave the same as invalid references between recolour and real sprites.
|
2012-12-26 15:14:37 +00:00 |
frosch
|
e428952110
|
(svn r24828) -Change: For dedicated servers without blitter ignore the spritecache size setting and always use the minimum.
|
2012-12-19 19:31:18 +00:00 |
frosch
|
d351f3dae5
|
(svn r24252) -Fix [FS#5162]: Change the unit of the sprite-cache size setting from megabytes to megapixels, so it depends on the blitter being used. Also increase it from 64 to 128, and change the name in the cfg file, so everyone gets the new default.
|
2012-05-15 20:37:42 +00:00 |
frosch
|
3d381403a8
|
(svn r23986) -Fix (r23889): Invalid reads when scaling an odd-sized sprite smaller.
|
2012-02-25 17:18:17 +00:00 |
michi_cc
|
0aecd1fa7b
|
(svn r23976) -Fix (r23889): Sprites of different zoom levels were not always padded correctly to a common size.
|
2012-02-23 12:13:30 +00:00 |
michi_cc
|
44abdccfd0
|
(svn r23898) -Remove: PNG sprite loader.
|
2012-02-04 22:19:02 +00:00 |
michi_cc
|
2c3bca6ad9
|
(svn r23897) -Feature: [NewGRF] 32bpp sprites in GRFs.
|
2012-02-04 22:18:57 +00:00 |
michi_cc
|
bd3c507910
|
(svn r23896) -Fix (r23884): Don't free unallocated memory.
|
2012-02-04 22:14:21 +00:00 |
michi_cc
|
e85d5b5d31
|
(svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138)
|
2012-02-04 13:29:13 +00:00 |
michi_cc
|
6db39410a1
|
(svn r23887) -Feature: [NewGRF] Support for container version 2.
|
2012-02-04 13:29:04 +00:00 |
michi_cc
|
02d07e68d8
|
(svn r23885) -Codechange: Use the GRF sprite loader for then mapgen sprites as well.
|
2012-02-04 13:28:56 +00:00 |
michi_cc
|
76cfbb257c
|
(svn r23884) -Codechange: Store recolour sprites in memory directly during GRF loading.
|
2012-02-04 13:28:52 +00:00 |
peter1138
|
15d0a22aac
|
(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.
|
2011-11-24 12:26:44 +00:00 |
frosch
|
bbcd2bab5d
|
(svn r22419) -Change: Always use the DOS palette for drawing.
-Remove: the '-i' option for palette selection.
|
2011-05-04 17:12:37 +00:00 |
frosch
|
93ae848b0a
|
(svn r21788) -Codechange: Enable GetRawSprite() to also load sprites not using the spritecache but a custom allocator function.
|
2011-01-14 16:36:34 +00:00 |
frosch
|
6cb017456a
|
(svn r21787) -Codechange: Pass the allocator function to use to ReadSprite().
|
2011-01-14 16:28:23 +00:00 |
frosch
|
d811238dd0
|
(svn r21785) -Codechange: Make ReadSprite() not operate on the sprite chache directly.
|
2011-01-14 16:16:33 +00:00 |
frosch
|
ee67d10c80
|
(svn r21783) -Cleanup (r14997): Remove redundant assignment.
|
2011-01-14 16:09:51 +00:00 |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
2010-08-01 19:44:49 +00:00 |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
2010-08-01 19:22:34 +00:00 |
terkhen
|
88ca183191
|
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
|
2010-07-29 14:26:28 +00:00 |