spritecache.c
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Sat, 10 Sep 2005 08:17:30 +0000 tron (svn r2933) Implement the non-breaking space
Mon, 15 Aug 2005 11:39:13 +0000 tron (svn r2868) Change the way NewGRFs are loaded: The loading process i no longer bolted onto the normal graphics loading.
Sun, 14 Aug 2005 18:10:18 +0000 tron (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
Sat, 13 Aug 2005 21:40:22 +0000 tron (svn r2865) Push the responsibility for allocating the sprite heap into GfxInitSpriteMem()
Thu, 11 Aug 2005 13:09:12 +0000 tron (svn r2855) Make ReadSpriteHeaderSkipData() responsible for detecting the end of a grf file instead of its callers - this simplifies the code a bit
Tue, 09 Aug 2005 12:58:22 +0000 tron (svn r2847) Don't remember the size of sprites during initialisation. Since the sprite loading was altered this is no longer necessary.
Mon, 08 Aug 2005 21:35:27 +0000 tron (svn r2845) Remove sprite size caching, it was unused
Mon, 08 Aug 2005 09:49:47 +0000 tron (svn r2839) Remove stuff missed in r2833, properly calculate the size of two arrays and simplify GetSpriteDimension()?a bit
Sun, 07 Aug 2005 17:52:41 +0000 tron (svn r2833) Remove saving of sprite cache data:
Sun, 07 Aug 2005 11:01:31 +0000 tron (svn r2829) Remove sprite locking, it was never used anyway
Sun, 31 Jul 2005 13:08:08 +0000 bjarni (svn r2764) -Feature: Clone vehicles
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Wed, 20 Jul 2005 15:38:11 +0000 Darkvater (svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron
Tue, 19 Jul 2005 06:54:13 +0000 tron (svn r2633) Move spritecache related variable from variables.h to spritecache.[ch]
Sat, 09 Jul 2005 09:24:34 +0000 tron (svn r2537) Small changes, especially use fprintf to stderr for warnings and errors instead of plain printf
Sat, 09 Jul 2005 00:14:40 +0000 Darkvater (svn r2536) - Fix: [ 1215999 ] Segmentation fault in main menu - corrupted sample.cat. Flush the output buffer to print the error message before the game crashes. (mcmohr)
Fri, 08 Jul 2005 22:25:24 +0000 tron (svn r2535) Tabs
Wed, 06 Jul 2005 06:18:53 +0000 tron (svn r2523) Readd a comment which got lost in r2522
Tue, 05 Jul 2005 19:54:35 +0000 tron (svn r2522) Reorganize sprite load and decompression in order to remove a special case from the sprite blitter, which decompressed certain sprites every time when blitting them
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Wed, 18 May 2005 12:53:37 +0000 Darkvater (svn r2349) - Fix: remove warning from release build when assertions are no longer active
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