Commit Graph

47966 Commits

Author SHA1 Message Date
tron
976b8b90e8 (svn r2871) -Feature/Fix: Per GRF parameter lists 2005-08-15 21:19:28 +00:00
tron
1637df1788 (svn r2871) -Feature/Fix: Per GRF parameter lists 2005-08-15 21:19:28 +00:00
miham
7df77f0449 (svn r2870) \[Translations\] Updating translations 2005-08-15 20:53:06 +00:00
miham
7e0c06e018 (svn r2870) \[Translations\] Updating translations 2005-08-15 20:53:06 +00:00
orudge
334c4e33f0 (svn r2869) - Update Watcom project with gfxinit.c 2005-08-15 11:54:42 +00:00
orudge
9ee5d61b73 (svn r2869) - Update Watcom project with gfxinit.c 2005-08-15 11:54:42 +00:00
tron
69f250796f (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!
2005-08-15 11:39:13 +00:00
tron
52c859cbe8 (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!
2005-08-15 11:39:13 +00:00
miham
c1b139f669 (svn r2867) \[Translations\] Updating translations 2005-08-15 06:46:22 +00:00
miham
d057d8b366 (svn r2867) \[Translations\] Updating translations 2005-08-15 06:46:22 +00:00
tron
a7d6b41c6a (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.
2005-08-14 18:10:18 +00:00
tron
19f5036c46 (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.
2005-08-14 18:10:18 +00:00
tron
45b79d7347 (svn r2865) Push the responsibility for allocating the sprite heap into GfxInitSpriteMem() 2005-08-13 21:40:22 +00:00
tron
26d24f64fc (svn r2865) Push the responsibility for allocating the sprite heap into GfxInitSpriteMem() 2005-08-13 21:40:22 +00:00
tron
ec0ebea3d7 (svn r2864) Code simplification and diff reduction 2005-08-13 21:35:31 +00:00
tron
bdd5d4ebb1 (svn r2864) Code simplification and diff reduction 2005-08-13 21:35:31 +00:00
tron
0d6f3dbc4d (svn r2863) Move some type declarations into saveload.c, should've been part of r2819 2005-08-13 21:34:05 +00:00
tron
38f344b351 (svn r2863) Move some type declarations into saveload.c, should've been part of r2819 2005-08-13 21:34:05 +00:00
tron
64ac03f9dc (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.
2005-08-13 16:23:07 +00:00
tron
302055fc15 (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.
2005-08-13 16:23:07 +00:00
tron
765fc0bbc6 (svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819 2005-08-12 12:47:35 +00:00
tron
d7eaf35357 (svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819 2005-08-12 12:47:35 +00:00
tron
207700ac36 (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
2005-08-12 06:37:48 +00:00
tron
bdff0fa2d2 (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
2005-08-12 06:37:48 +00:00
miham
92611f1df6 (svn r2859) \[Translations\] Updating translations 2005-08-11 21:51:05 +00:00
miham
7e702e2d50 (svn r2859) \[Translations\] Updating translations 2005-08-11 21:51:05 +00:00
truelight
30e9f4cff2 (svn r2858) -Codechange: resolved some magic numbers (_Luca_) 2005-08-11 19:23:32 +00:00
truelight
732acc8ead (svn r2858) -Codechange: resolved some magic numbers (_Luca_) 2005-08-11 19:23:32 +00:00
truelight
3988e173f8 (svn r2857) -Fix: PlayerID is not a valid type for a player-bit-field. Partly reverted r2290 2005-08-11 19:21:46 +00:00
truelight
235d84583f (svn r2857) -Fix: PlayerID is not a valid type for a player-bit-field. Partly reverted r2290 2005-08-11 19:21:46 +00:00
miham
3b95601d29 (svn r2856) [Translations] Fixed languages containing STRING1 (except for english.txt) 2005-08-11 13:20:37 +00:00
miham
61e97e733d (svn r2856) [Translations] Fixed languages containing STRING1 (except for english.txt) 2005-08-11 13:20:37 +00:00
tron
14900d3e53 (svn r2855) Make ReadSpriteHeaderSkipData() responsible for detecting the end of a grf file instead of its callers - this simplifies the code a bit 2005-08-11 13:09:12 +00:00
tron
d1c5128c42 (svn r2855) Make ReadSpriteHeaderSkipData() responsible for detecting the end of a grf file instead of its callers - this simplifies the code a bit 2005-08-11 13:09:12 +00:00
miham
999f18fac8 (svn r2854) \[Translations\] Updating translations 2005-08-11 13:06:24 +00:00
miham
e16ae164af (svn r2854) \[Translations\] Updating translations 2005-08-11 13:06:24 +00:00
tron
2aebbaeecd (svn r2853) Add missing dependencies and flags to the dependency targets and make the info target more informative 2005-08-11 13:04:50 +00:00
tron
038501e174 (svn r2853) Add missing dependencies and flags to the dependency targets and make the info target more informative 2005-08-11 13:04:50 +00:00
tron
a4e00b6f05 (svn r2852) Remove the unused field 'id' from struct FiosItem 2005-08-11 13:03:39 +00:00
tron
bfe8f13a8a (svn r2852) Remove the unused field 'id' from struct FiosItem 2005-08-11 13:03:39 +00:00
orudge
6ebdbfea45 (svn r2851) - Update Watcom project with currency.c 2005-08-11 12:56:03 +00:00
orudge
ecf20af742 (svn r2851) - Update Watcom project with currency.c 2005-08-11 12:56:03 +00:00
miham
1cce4637fd (svn r2850) [newgrf] Patch from peter1139 2005-08-11 12:51:59 +00:00
miham
f7593f1b99 (svn r2850) [newgrf] Patch from peter1139 2005-08-11 12:51:59 +00:00
tron
df7182017d (svn r2849) Fix r2806: pwd.h is necessary, but only if USE_HOMEDIR is defined 2005-08-11 07:29:24 +00:00
tron
4582eb85a2 (svn r2849) Fix r2806: pwd.h is necessary, but only if USE_HOMEDIR is defined 2005-08-11 07:29:24 +00:00
bjarni
0472a80be6 (svn r2848) -Fix: [ 1256044 ] fixed crash when loading a map made before rev 2817 in scenario editor. This was introduced in 2817 2005-08-10 21:16:38 +00:00
bjarni
042f079b8d (svn r2848) -Fix: [ 1256044 ] fixed crash when loading a map made before rev 2817 in scenario editor. This was introduced in 2817 2005-08-10 21:16:38 +00:00
tron
bf612cb9e6 (svn r2847) Don't remember the size of sprites during initialisation. Since the sprite loading was altered this is no longer necessary.
While here remove another write-only variable (_spritecache_size) and fix a comment (sprite replaces a lowercase letter instead of uppercase)
2005-08-09 12:58:22 +00:00
tron
8f398f2f50 (svn r2847) Don't remember the size of sprites during initialisation. Since the sprite loading was altered this is no longer necessary.
While here remove another write-only variable (_spritecache_size) and fix a comment (sprite replaces a lowercase letter instead of uppercase)
2005-08-09 12:58:22 +00:00