Mon, 15 Aug 2005 11:39:13 +0000(svn r2868) Change the way NewGRFs are loaded: The loading process i no longer bolted onto the normal graphics loading.
tron [Mon, 15 Aug 2005 11:39:13 +0000] rev 2342
(svn r2868) Change the way NewGRFs are loaded: The loading process i no longer bolted onto the normal graphics loading.
This has two major advantages:
- Removal of a maze of global variables and distinction of cases from the sprite loading routines, which weren't directly related to the loading process in the first place
- NewGRF actions no longer occupy sprite slots - for example when using DBSetXL this saves about 2000 slots! (you could regard this as a bug fix)
If i didn't make a major mistake this change should have no negative effect on NewGRF support, please test!

Mon, 15 Aug 2005 06:46:22 +0000(svn r2867) \[Translations\] Updating translations
miham [Mon, 15 Aug 2005 06:46:22 +0000] rev 2341
(svn r2867) \[Translations\] Updating translations

Sun, 14 Aug 2005 18:10:18 +0000(svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
tron [Sun, 14 Aug 2005 18:10:18 +0000] rev 2340
(svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.

Sat, 13 Aug 2005 21:40:22 +0000(svn r2865) Push the responsibility for allocating the sprite heap into GfxInitSpriteMem()
tron [Sat, 13 Aug 2005 21:40:22 +0000] rev 2339
(svn r2865) Push the responsibility for allocating the sprite heap into GfxInitSpriteMem()

Sat, 13 Aug 2005 21:35:31 +0000(svn r2864) Code simplification and diff reduction
tron [Sat, 13 Aug 2005 21:35:31 +0000] rev 2338
(svn r2864) Code simplification and diff reduction

Sat, 13 Aug 2005 21:34:05 +0000(svn r2863) Move some type declarations into saveload.c, should've been part of r2819
tron [Sat, 13 Aug 2005 21:34:05 +0000] rev 2337
(svn r2863) Move some type declarations into saveload.c, should've been part of r2819

Sat, 13 Aug 2005 16:23:07 +0000(svn r2862) Return a proper version number, when testing the TTDPatch version in the SkipIf action. Pretend to be version 2.0.1 alpha 49 for now.
tron [Sat, 13 Aug 2005 16:23:07 +0000] rev 2336
(svn r2862) Return a proper version number, when testing the TTDPatch version in the SkipIf action. Pretend to be version 2.0.1 alpha 49 for now.
Also change the type of the variables, which get compared, to uint32, because the values are at most 32bits wide and always seem to be unsigned.

Fri, 12 Aug 2005 12:47:35 +0000(svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819
tron [Fri, 12 Aug 2005 12:47:35 +0000] rev 2335
(svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819

Fri, 12 Aug 2005 06:37:48 +0000(svn r2860) Fix some issues in the savegame/scenario list code:
tron [Fri, 12 Aug 2005 06:37:48 +0000] rev 2334
(svn r2860) Fix some issues in the savegame/scenario list code:
-Fix: Sort the directories when making a scenario list
-Fix: Sort the directories when making a savegame list on Windows
-Fix: On OS/2 show the trailing \ if the current directory is a root directory
-Regression: On OS/2 the savegame list showed the scenario directory or crashed (probably introduced in r2609)
The rest is diff reduction between the 3 variants

Thu, 11 Aug 2005 21:51:05 +0000(svn r2859) \[Translations\] Updating translations
miham [Thu, 11 Aug 2005 21:51:05 +0000] rev 2333
(svn r2859) \[Translations\] Updating translations