Commit Graph

2560 Commits

Author SHA1 Message Date
tron
689dc10b13 (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
b3ee1aad26 (svn r2832) Missing #include 2005-08-07 14:45:50 +00:00
tron
78524dd216 (svn r2831) Fix some potential and real buffer overflows 2005-08-07 14:18:17 +00:00
tron
3f162fc49a (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
fd00d317cb (svn r2829) Remove sprite locking, it was never used anyway 2005-08-07 11:01:31 +00:00
tron
2c96a3dce9 (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
1ec4c29c0d (svn r2827) BeOS meets all prerequisites for extmidi 2005-08-06 22:40:18 +00:00
tron
080c62526d (svn r2826) Remove another write-only variable, thanks glx 2005-08-06 22:12:45 +00:00
truelight
01f9cec6df (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
36d717d77a (svn r2824) -Fix: OSX can now also produce dedicated servers 2005-08-06 21:45:48 +00:00
truelight
48d8f9da3f (svn r2823) -Fix: MorphOS doesn't have pthread either! 2005-08-06 20:53:02 +00:00
truelight
479b98980c (svn r2822) -Fix: don't compile pthread for win32 dedicated servers 2005-08-06 20:34:41 +00:00
tron
56705ecffb (svn r2821) Remove a write-only variable 2005-08-06 20:24:32 +00:00
bjarni
dcc6c0753c (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
486cffd2ad (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
cfda4bb38c (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
9952ff0b59 (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
a1a91eb7f7 (svn r2816) Forgot an Id tag and an #include 2005-08-06 15:18:26 +00:00
tron
b62887b973 (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
22c06dffde (svn r2814) -Fix: made MorphOS to compile again 2005-08-06 14:58:06 +00:00
tron
35860155f6 (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
tron
842991bbe0 (svn r2812) Move variables, which only vehicle_gui.c needs to know about, there 2005-08-05 20:22:06 +00:00
tron
3ede0bb6f9 (svn r2811) Fix typos in r2810 2005-08-05 20:18:08 +00:00
tron
bd48d67c28 (svn r2810) Threads may now return information when they terminate using a void*.
Also add the new files to the MSVC project files.
2005-08-05 11:53:48 +00:00
tron
f315c95fa1 (svn r2809) Implement more generic threading functions, which allow more than one thread 2005-08-05 09:15:41 +00:00
celestar
69f79c9f49 (svn r2808) -Fix: Removed 'kdevelop' from the doxygen project name (thanks tron) 2005-08-05 08:31:29 +00:00
tron
484fae74a2 (svn r2807) Fix two major bugs in the threaded save code:
- Do not dereference a local variable which no longer exists; this lead to random crashes when saving
- (Win32) Do not close a handle before it is used last
There are still many major problems (race conditions and resulting memory corruption/crashes) left
2005-08-05 08:24:12 +00:00
tron
062472161a (svn r2806) Remove unnecessary #includes 2005-08-04 18:02:03 +00:00
tron
2a2b4ca5fc (svn r2805) Revert r2804, something went wrong 2005-08-04 17:59:05 +00:00
miham
9499232960 (svn r2804) [Translators] Updated translations to 20050804 (21 lang(s)) 2005-08-04 17:45:55 +00:00
matthijs
68291357af (svn r2803) * Removed latvian from MSVC 6 and .NET project files, since it is now in lang/unfinished (bociusz). 2005-08-03 23:46:33 +00:00
tron
875464bf00 (svn r2802) Fix language files (again) 2005-08-03 17:55:07 +00:00
miham
ed66e2b72c (svn r2801) [Translators] Updated translations to 20050803 (2 lang(s)) 2005-08-03 17:45:36 +00:00
tron
ca0f0900ec (svn r2800) Further improvement of the german translation 2005-08-03 13:34:34 +00:00
tron
c2178ab832 (svn r2799) Make the only two non-const widget lists const 2005-08-03 13:07:29 +00:00
celestar
940872e51f (svn r2798) -Codechange: Unified the rail toolbars into one that is modified by
request using the RailtypeInfo struct
2005-08-03 11:08:13 +00:00
bjarni
2412ad5a20 (svn r2795) -Fix: [Clone vehilcle] all error messages should now tell the right vehicle type (chrishuebsch) 2005-08-02 20:14:23 +00:00
tron
4eb0158629 (svn r2794) Fix a comment and get rid of some parentheses using DeMorgan's law 2005-08-02 20:04:09 +00:00
miham
96c9baca12 (svn r2793) [Translations] Hand fixed polish.txt (thanks to Excumbed) 2005-08-02 19:38:18 +00:00
tron
a85863b9e8 (svn r2792) Two more untranslated strings 2005-08-02 15:51:36 +00:00
celestar
88d0af5286 (svn r2789) -Fix: Wrong Id tag :) 2005-08-02 15:24:48 +00:00
tron
2702e8eb3a (svn r2788) Fix Id tag 2005-08-02 15:12:36 +00:00
tron
eaac831276 (svn r2787) Remove untranslated strings from several translations 2005-08-02 14:21:11 +00:00
tron
77b92f6b60 (svn r2786) Add plural forms 2005-08-02 12:38:09 +00:00
tron
d432e1dfa8 (svn r2785) Minor improvement of the german translation 2005-08-02 12:37:09 +00:00
miham
c890e9e078 (svn r2784) [Translators] Updated translations to 20050802 (6 lang(s)) 2005-08-02 08:53:09 +00:00
celestar
0ab19d4308 (svn r2783) Fix: Hopefully fix the ID tags of bridge.h and railtypes.h 2005-08-01 21:01:18 +00:00
celestar
ba0c0ceaa3 (svn r2782) -Codechange: Started cleaning the bridge code. Removed numerous global variables containing bridge information and joined them in a struct. Introduced GetBridgeType and GetBridgePiece and fixed some minor stuff (whitespace etc) 2005-08-01 20:23:38 +00:00
ludde
9a060a0f24 (svn r2781) Fix some of the issues with variables in .h files. 2005-08-01 16:31:19 +00:00
tron
2ae758a32b (svn r2780) Remove some more unused strings and make the use of a few strings more explicit 2005-08-01 13:01:14 +00:00