spritecache.c
Sun, 24 Apr 2005 21:44:45 +0000 Darkvater (svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.
Sun, 06 Mar 2005 13:57:19 +0000 pasky (svn r1941) Report missing NewGRF file as a fatal error.
Sun, 20 Feb 2005 09:05:28 +0000 tron (svn r1893) If -i was specified respect it
Fri, 18 Feb 2005 08:32:25 +0000 tron (svn r1885) Fix typo in r1884
Fri, 18 Feb 2005 08:29:17 +0000 tron (svn r1884) Change palette detection algorithm: Use the DOS palette if there are no Windows .grfs but at least one DOS .grf
Thu, 17 Feb 2005 15:53:47 +0000 tron (svn r1882) Add a basic check if a non-existent sprite gets accessed.
Sun, 13 Feb 2005 11:18:02 +0000 tron (svn r1867) Include tables/sprites.h only in files which need it
Sun, 13 Feb 2005 08:12:03 +0000 tron (svn r1865) Fix some warnings
Fri, 11 Feb 2005 17:12:11 +0000 tron (svn r1861) Constify Get(Non)Sprite()
Fri, 11 Feb 2005 14:33:43 +0000 tron (svn r1859) Miscellaneous style changes
Fri, 11 Feb 2005 13:46:25 +0000 tron (svn r1858) Let ReadSprite() handle the subtleties of loading a sprite, not its caller
Fri, 11 Feb 2005 13:35:27 +0000 tron (svn r1857) Rewrite parts of the sprite heap. It's functionally equivalent but should be easier to read and maintain.
Thu, 10 Feb 2005 22:26:28 +0000 tron (svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c
Thu, 10 Feb 2005 12:26:41 +0000 tron (svn r1855) Handle endianness of sprite headers when loading a sprite, not everytime when accessing it
Thu, 10 Feb 2005 12:14:38 +0000 tron (svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
Thu, 10 Feb 2005 05:43:30 +0000 tron (svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
Tue, 08 Feb 2005 22:22:42 +0000 tron (svn r1852) Start cleaning up sprite handling:
Sun, 06 Feb 2005 22:25:27 +0000 tron (svn r1833) byte -> char transition: the rest
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own
Mon, 31 Jan 2005 12:04:40 +0000 darkvater (svn r1754) - Fix: you can once again load newgrf files with lots of sprites. Index wasn't reset in second run, thus counting them double.
Fri, 28 Jan 2005 08:56:43 +0000 dominik (svn r1702) - Fix: [ 1110407 ] Game does not crash any more when a newgrf file doesn't exist
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Wed, 19 Jan 2005 20:55:23 +0000 dominik (svn r1571) Feature: Visually enhanced autorail placing
Sat, 15 Jan 2005 08:58:31 +0000 tron (svn r1520) Trim 134 (!) lines with trailing whitespace ):
Mon, 10 Jan 2005 10:38:02 +0000 darkvater (svn r1458) -Fix: remove byte *s again for windows.
Mon, 10 Jan 2005 07:26:19 +0000 miham (svn r1455) Fixed spritecache.c to compile
Mon, 10 Jan 2005 01:50:17 +0000 darkvater (svn r1454) -Fix: small warnings in spritecache.c
Mon, 10 Jan 2005 01:14:26 +0000 dominik (svn r1453) Feature: MD5 hash check for TTD files
Tue, 04 Jan 2005 14:54:27 +0000 darkvater (svn r1369) -Feature(ish): Added sprites for up/down and left/right arrows. Anywhere where there are horizontal scrollers these are now left/right arrows
Mon, 03 Jan 2005 18:49:45 +0000 truelight (svn r1343) -Fix: [Graphic] Autorail icon is now correct (Darkvater)
Sun, 12 Dec 2004 20:36:24 +0000 dominik (svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
Thu, 09 Dec 2004 23:16:52 +0000 dominik (svn r999) New icons for the network interface, newgrf gui and the tiny euro
Wed, 24 Nov 2004 22:52:57 +0000 tron (svn r803) Switch to ISO 8859-15
Fri, 19 Nov 2004 22:53:18 +0000 pasky (svn r687) Export InitNewGRFFile() and DecodeSpecialSprite() properly.
Wed, 17 Nov 2004 18:49:55 +0000 dominik (svn r662) [newgrf] Moved grfspecial.c to newgrf.c/newgrf.h
Wed, 17 Nov 2004 02:24:21 +0000 miham (svn r651) LoadNewGrfFile() now doesn't care about num_sprites and just loads whatever is
Mon, 15 Nov 2004 10:31:48 +0000 tron (svn r624) Merge r377 to trunk:
Sun, 14 Nov 2004 19:44:06 +0000 tron (svn r607) -Patch: [ 985102 ] static cleanup
Sun, 14 Nov 2004 10:18:15 +0000 darkvater (svn r584) -newgrf: Increase chance to get a TTDPatch savegame using custom GRF files loaded (pasky)
Fri, 12 Nov 2004 23:26:02 +0000 darkvater (svn r556) -newgrf: Some seemingly proper support for loading stages of grf files (octo & pasky).
Fri, 12 Nov 2004 22:28:19 +0000 darkvater (svn r554) -newgrf: Keep track of GRF files. Remember them all in a linked list, this already enables tests for an already loaded GRF file in SkipIf(). Patch by octo, heavily re-hammered by pasky
Fri, 12 Nov 2004 21:51:34 +0000 darkvater (svn r553) -newgrf: Special routine for loading newgrf files. LoadNewGrfFile() introduced; will get more handy when loading stages will be introduced (octo and pasky).
Fri, 12 Nov 2004 21:33:18 +0000 darkvater (svn r552) -newgrf: Include bits forgotten when merging octo's ReplaceSprites support - it would replace even special sprites in the way now. (pasky)
Fri, 12 Nov 2004 18:47:19 +0000 darkvater (svn r549) -newgrf: Support for action 0xd (change a parameter (sorta variable for the GRF scripts)). Based on patch by octo, heavy changes by pasky.
Wed, 08 Sep 2004 18:05:49 +0000 truelight (svn r185) -Fix: [1016954] Cached_sprites does now work again
Wed, 08 Sep 2004 17:13:46 +0000 darkvater (svn r183) -Fix: fix landscape-toolbar crash when newgrf are enabled. Dominik forgot to add +1 to index upon load :)
Fri, 27 Aug 2004 08:35:38 +0000 dominik (svn r144) Whoops, wrong variable
Fri, 27 Aug 2004 08:28:41 +0000 dominik (svn r143) Fix: newgrfs are working again
Tue, 17 Aug 2004 15:31:04 +0000 darkvater (svn r75) -Add proper crediting to graphics artists to about box.
Fri, 13 Aug 2004 11:28:59 +0000 dominik (svn r38) Preliminary slopes graphics fix. Neighboring tile check not done yet
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN