frosch
7b2c2b3b62
(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
b13d452bbe
(svn r25492) -Doc: Missing comment.
2013-06-27 21:18:56 +00:00
frosch
d640903eb7
(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
c9967ad03e
(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
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
bdb5931c78
(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
cd3651368d
(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
c5d8a51c76
(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
f833f6c148
(svn r23986) -Fix (r23889): Invalid reads when scaling an odd-sized sprite smaller.
2012-02-25 17:18:17 +00:00
michi_cc
2d4346bd8e
(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
ac1919408d
(svn r23898) -Remove: PNG sprite loader.
2012-02-04 22:19:02 +00:00
michi_cc
1358995dfa
(svn r23897) -Feature: [NewGRF] 32bpp sprites in GRFs.
2012-02-04 22:18:57 +00:00
michi_cc
2f0c046a6f
(svn r23896) -Fix (r23884): Don't free unallocated memory.
2012-02-04 22:14:21 +00:00
michi_cc
a55a77cbae
(svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138)
2012-02-04 13:29:13 +00:00
michi_cc
14094d00bf
(svn r23887) -Feature: [NewGRF] Support for container version 2.
2012-02-04 13:29:04 +00:00
michi_cc
59d0702a6a
(svn r23885) -Codechange: Use the GRF sprite loader for then mapgen sprites as well.
2012-02-04 13:28:56 +00:00
michi_cc
a02854d32f
(svn r23884) -Codechange: Store recolour sprites in memory directly during GRF loading.
2012-02-04 13:28:52 +00:00
peter1138
9e0e4bf639
(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.
2011-11-24 12:26:44 +00:00
frosch
74e71380ef
(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
29f8f11ed4
(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
bf9f0f16c2
(svn r21787) -Codechange: Pass the allocator function to use to ReadSprite().
2011-01-14 16:28:23 +00:00
frosch
856c4b2009
(svn r21785) -Codechange: Make ReadSprite() not operate on the sprite chache directly.
2011-01-14 16:16:33 +00:00
frosch
5a3a965e85
(svn r21783) -Cleanup (r14997): Remove redundant assignment.
2011-01-14 16:09:51 +00:00
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
terkhen
c92b2e9d3c
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
2010-07-29 14:26:28 +00:00
rubidium
738e71af4a
(svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets.
2010-04-25 16:27:30 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
224f4e0197
(svn r18028) -Codechange: unglobalise some functions
2009-11-09 10:40:33 +00:00
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
smatz
f85b8c4e09
(svn r17596) -Codechange: constify some tables
2009-09-20 23:11:01 +00:00
rubidium
2e5596025c
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
2009-09-19 15:17:47 +00:00
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
smatz
d091c7d80f
(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed.
2009-06-01 11:49:46 +00:00
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
2009-05-24 20:29:04 +00:00
smatz
b86ab81030
(svn r16415) -Fix (r13008): some 64bit architectures require size_t to be aligned at 8-byte boundary, ensure it for MemBlock
2009-05-24 16:28:33 +00:00
smatz
ce7dff4acc
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10 17:27:25 +00:00
rubidium
433d23a53c
(svn r15767) -Fix: infinite loop when skipping sprites when a GRF is invalid (or truncated).
2009-03-19 17:58:25 +00:00
rubidium
9ab8a2aab1
(svn r15556) -Change: don't temporary malloc+free when encoding sprites, just reuse the same piece of allocated memory for each encoding.
2009-02-23 17:54:02 +00:00
rubidium
44821e60eb
(svn r15555) -Codechange: remove the mallocs + frees for temporary data from loading sprites.
2009-02-23 10:50:25 +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
rubidium
73d7438610
(svn r15391) -Fix (r14997): loading font sprites should not trigger a palette conversion.
2009-02-07 02:29:08 +00:00
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
smatz
f528593a40
(svn r15031) -Fix (r15027): merge reverted r15026, so do it once again
2009-01-12 17:31:43 +00:00
truebrain
c2406cd42d
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
smatz
ec97e1fd0d
(svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller
2009-01-12 16:53:11 +00:00
smatz
f84b1e6970
(svn r14998) -Codechange: warn once about misuse of each sprite, not once about misuse of any sprite
2009-01-11 23:49:51 +00:00
smatz
b181bb9d25
(svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in spritecache data could lose its parent
2009-01-11 22:28:30 +00:00
rubidium
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00