tron
bdd5d4ebb1
(svn r2864) Code simplification and diff reduction
2005-08-13 21:35:31 +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
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
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
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
7e702e2d50
(svn r2859) \[Translations\] Updating translations
2005-08-11 21:51:05 +00:00
truelight
732acc8ead
(svn r2858) -Codechange: resolved some magic numbers (_Luca_)
2005-08-11 19:23:32 +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
61e97e733d
(svn r2856) [Translations] Fixed languages containing STRING1 (except for english.txt)
2005-08-11 13:20:37 +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
e16ae164af
(svn r2854) \[Translations\] Updating translations
2005-08-11 13:06:24 +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
bfe8f13a8a
(svn r2852) Remove the unused field 'id' from struct FiosItem
2005-08-11 13:03:39 +00:00
orudge
ecf20af742
(svn r2851) - Update Watcom project with currency.c
2005-08-11 12:56:03 +00:00
miham
f7593f1b99
(svn r2850) [newgrf] Patch from peter1139
2005-08-11 12:51:59 +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
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
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
tron
bed459d5d3
(svn r2846) Minor improvement of the french translation: use {P}, fix spelling of "brûlé", fully translate partly untranslated strings and remove gratuitous whitespace (i hope i got it right)
2005-08-08 21:42:27 +00:00
tron
e42b560049
(svn r2845) Remove sprite size caching, it was unused
...
This makes GetSpriteDimension() superflous, because now it's just a thin wrapper around GetSprite() returning only part of the information, therefore remove it too
2005-08-08 21:35:27 +00:00
tron
b67af2df3e
(svn r2844) Update the MSVC project files, thanks AsterixMG
2005-08-08 20:27:05 +00:00
tron
a837d74ae6
(svn r2843) OSX doesn't like OBJC, so give it back its beloved CC, because it's the only ObjectiveC consumer
2005-08-08 20:23:56 +00:00
ludde
062ed26b4d
(svn r2842) Fix bug with aircraft autoreplace (peter1138)
2005-08-08 15:26:53 +00:00
tron
a7e4057d2d
(svn r2841) Pimp the Makefile: Determining the header dependencies is now a separate step.
...
This should fix the dependency related problems and reduce the number of recompiled files when table/strings.h changes
2005-08-08 15:10:37 +00:00
tron
af819c3822
(svn r2840) Remove 3 unnecessary strings (they're empty) and fix the alignment of the musick track display
2005-08-08 10:42:02 +00:00
tron
47e28d9152
(svn r2839) Remove stuff missed in r2833, properly calculate the size of two arrays and simplify GetSpriteDimension() a bit
2005-08-08 09:49:47 +00:00
miham
129898cd77
(svn r2838) \[Translations\] Updating translations
2005-08-08 09:42:22 +00:00
miham
64bf2a4f29
(svn r2837) [Translations] Updated dutch langfile, started testing of the new SVN-handler in WebTranslator
2005-08-08 09:01:22 +00:00
bjarni
b0d4e391da
(svn r2836) fixed the alphabetical order of the credits list like it says it is in
2005-08-07 19:16:32 +00:00
tron
b101846d3b
(svn r2833) Remove saving of sprite cache data:
...
the benefits are questionable, it's error prone, undocumented and hasn't been widely used for ages, if ever
2005-08-07 17:52:41 +00:00
tron
0b6864b589
(svn r2832) Missing #include
2005-08-07 14:45:50 +00:00
tron
3f39db10d7
(svn r2831) Fix some potential and real buffer overflows
2005-08-07 14:18:17 +00:00
tron
14e80ca159
(svn r2830) Move CheckSwitchToEuro() to currency.[ch] and hide the truth about the custom currency behind a #define
2005-08-07 12:41:57 +00:00
tron
59da8350c1
(svn r2829) Remove sprite locking, it was never used anyway
2005-08-07 11:01:31 +00:00
tron
2b4e85db0b
(svn r2828) Only command.c needs to know about _docommand_recursive, so make it static. Tell me if there's a problem, because i removed it from network_server.c, but afaict it should be ok
2005-08-07 10:03:14 +00:00
tron
dc20e0ae81
(svn r2827) BeOS meets all prerequisites for extmidi
2005-08-06 22:40:18 +00:00
tron
dd03e018b5
(svn r2826) Remove another write-only variable, thanks glx
2005-08-06 22:12:45 +00:00
truelight
bb3ab916b3
(svn r2825) -Fix: GCC that put deps in the wrong dirs can now compile OTTD again
2005-08-06 21:50:26 +00:00
truelight
3ff46bd8ba
(svn r2824) -Fix: OSX can now also produce dedicated servers
2005-08-06 21:45:48 +00:00
truelight
a587c38864
(svn r2823) -Fix: MorphOS doesn't have pthread either!
2005-08-06 20:53:02 +00:00
truelight
73d0f36175
(svn r2822) -Fix: don't compile pthread for win32 dedicated servers
2005-08-06 20:34:41 +00:00
tron
5d5a7c48ee
(svn r2821) Remove a write-only variable
2005-08-06 20:24:32 +00:00
bjarni
b0f307365a
(svn r2820) -Fix: [autoreplace] fixed issue introduced in 2817 where autoreplace failed if new engine is cheaper than the old one (peter1138)
2005-08-06 19:12:44 +00:00
tron
03e860d06d
(svn r2819) Make variables, which are exclusive for internal use of the save/load code, static in saveload.c
2005-08-06 17:40:21 +00:00
tron
3b6b3af629
(svn r2818) Don't tell the world about a local variable which is only used once
2005-08-06 16:55:05 +00:00
bjarni
ed8e2bac04
(svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
...
-This means that one company can only have one setting for renew and replacing
more clients will not fight due to different settings anymore
-This is a needed step in the line to fix autoreplacing dualheaded locomotives
NOTE: savegame revision bump (peter1138 + me in coop)
2005-08-06 16:07:22 +00:00
tron
ddb58492f3
(svn r2816) Forgot an Id tag and an #include
2005-08-06 15:18:26 +00:00
tron
baca040df0
(svn r2815) Store the currency information in one central place instead of scattering it in several unrelated files
2005-08-06 14:59:54 +00:00
truelight
4f15ada6cd
(svn r2814) -Fix: made MorphOS to compile again
2005-08-06 14:58:06 +00:00
tron
eb826dfb66
(svn r2813) Plug a thread leak and prevent a race condition which could lead to multiple simultaneous saves and therefore severe corruption
2005-08-06 07:15:17 +00:00