Commit Graph

2396 Commits

Author SHA1 Message Date
truelight 991d5c6234 (svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c)
-Fix: removed the ability for the oldAI to cheat (this will criple him somewhat)
-Add: base-code for many improvements to come in the AI-system
-Add: added base-code for multiplayer AIs (DOES NOT WORK YET!)
2005-09-07 15:10:11 +00:00
tron e39bf0dc34 (svn r2920) Remove mindless translation 2005-09-06 16:14:37 +00:00
tron 8328bff7bf (svn r2919) Set correct plural type 2005-09-06 16:01:38 +00:00
tron 01d83166c7 (svn r2918) Fix some broken strings 2005-09-06 15:58:27 +00:00
tron 948e470b3a (svn r2917) Some mechanical changes (s/COMMA16/COMMA/ etc.) 2005-09-06 15:33:30 +00:00
tron 2bc18c456f (svn r2916) Remove untranslated strings, revert wrong change, readd newline at the end of file in the danish translation and remove a broken string from the finnish translation 2005-09-06 14:37:19 +00:00
miham 5b0a5c70a9 (svn r2915) [Translations] Updated danish.txt (Got) 2005-09-06 13:45:53 +00:00
miham 9a2ee23c98 (svn r2914) [Translations] Updated american and german language (Tron) 2005-09-05 18:16:29 +00:00
miham e2000ab858 (svn r2913) [Translations] Updating translations to 2005-09-05 {@793} (4 langs changed) 2005-09-05 18:02:53 +00:00
bjarni 864cb3fa11 (svn r2912) -Fix: [autorenew]: fixed issue where autorenewed vehicles didn't get all stats updated (peter1138) 2005-09-03 19:22:56 +00:00
tron 3ace3769c9 (svn r2911) Deinitialise the DirectMusic driver like it's done in the example code in MSDN, this should fix a strange crash upon deinitialising wave out sound 2005-09-03 17:30:16 +00:00
miham 3dd2dab7e9 (svn r2910) [Translations] Updating translations to 2005-09-03 {@561} (8 langs changed) 2005-09-03 12:28:39 +00:00
Darkvater 828e7ed3e7 (svn r2909) Game would hang where the autosave_on_exit was activated.
- Updated VS.NET and VS6 project files changed AI files
2005-09-03 11:33:55 +00:00
Darkvater 92270500e9 (svn r2908) If threaded saving fails or does not happen, sending subsequent messages might hang ottd. So don't send them :) 2005-09-02 22:22:02 +00:00
truelight d05f504c01 (svn r2907) -Codechange: splitted the AIs to their own directory. AINew becomes 'trolly', AIOld becomes 'default', both in their own dir in the 'ai' dir. More AIs to come. 2005-09-02 19:10:45 +00:00
Darkvater a181446829 (svn r2906) Fix some threaded saving problems. Now the thread only interfaces with the main program through a sort of mutex. Communication uses the function OTTD_SendThreadMessage() with the approiate message which is handled in ProcessSentMessage() during the main loop. 2005-09-02 16:05:59 +00:00
Darkvater ae356b641d (svn r2905) fix casing 2005-09-01 21:19:48 +00:00
Darkvater 6a69687ea1 (svn r2904) Stupid editors, and renaming files with the same name just different casing is not really possible, so here comes another commit 2005-09-01 21:19:07 +00:00
Darkvater 3fb5aa8e23 (svn r2903) Fix case mismatch for ottdmidi java file (moebius) 2005-09-01 21:10:05 +00:00
miham 9d8a39a3f6 (svn r2902) [Translations] Updated finnish.txt (ln-) 2005-08-31 09:19:34 +00:00
Darkvater 74f0c8b55a (svn r2901) Refix 'replace window' with wrong string-etc. coordinates. Also clean up, and make window-title a bit more meaningful (specify vehicle type replaced) 2005-08-29 22:27:22 +00:00
tron a02ee8ffda (svn r2900) Fix a bug, which incremented the counter of a loop twice and therefore calculated wrong argument indices 2005-08-28 14:45:44 +00:00
tron d975abc96c (svn r2899) -Fix: Several format string vulnerabilities and buffer overflows in the network code 2005-08-28 12:24:57 +00:00
tron 70c07d13be (svn r2898) Fix typo in r2897 2005-08-28 10:59:34 +00:00
tron abb034c2cd (svn r2897) Check the return values of [cm]alloc and the length of an array, plus some smaller changes 2005-08-27 20:54:48 +00:00
tron 175b2cd12a (svn r2896) Use genders in the german translation 2005-08-27 18:44:16 +00:00
tron 7e84d8b295 (svn r2895) Remove unused variables and bring a comment closer to reality 2005-08-27 13:06:59 +00:00
tron 1677748d4d (svn r2894) Simplify colouring in owner-mode in the minimap regarding towns and get rid of some magic numbers 2005-08-27 13:04:15 +00:00
tron ffdefbdee2 (svn r2893) Two chars got assigned a width of 0 since r2879, fix that ([1274302])' 2005-08-27 09:49:52 +00:00
tron 8b85cf53e5 (svn r2892) Fix indentation 2005-08-26 20:56:48 +00:00
tron a38d2f15b7 (svn r2891) Fix indentation 2005-08-26 20:26:34 +00:00
tron f914a7eca6 (svn r2890) Fix some signed/unsigned comparison warnings (tokai) 2005-08-25 16:53:51 +00:00
miham 51c2ef8685 (svn r2889) [Translations] Updated american (tron) 2005-08-25 13:29:32 +00:00
miham b01c951224 (svn r2888) [Translations] Updating translations to 2005-08-24 {@839} (3 langs changed) 2005-08-24 19:08:54 +00:00
tron 65bdb2ce67 (svn r2887) Fix regression: Two boolean expressions got flipped in r2595, which made it possible to place lighthouses and antennas everywhere BUT clear tiles (found and fixed by _Luca_) 2005-08-24 18:47:26 +00:00
tron b45aeb5c36 (svn r2886) Rename the "owner" attribute to "m1", because when it stores an owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing. 2005-08-23 18:47:04 +00:00
miham 9d9ee2fe56 (svn r2885) [Translations] Removed not-translated romanian strings (Tron) 2005-08-23 07:28:45 +00:00
tron a2a15784ac (svn r2884) Fix and improve the look of the new letters (Hadez) 2005-08-21 17:32:43 +00:00
tron ad4243ab7d (svn r2883) Use the recently added letters in the czech translation.
This changes more than 500 strings - thanks for the effort, Hadez!
2005-08-21 15:20:13 +00:00
tron 4a1f46a99a (svn r2882) Some fixes for MorphOS (by tokai)
- Don't track dependencies on system headers
- Add an include path
- Silence a warning regarding a bad signal prototype
- Remove executable flag from pictures
- Add proper OTTD icon
2005-08-21 10:44:57 +00:00
miham 1c686229af (svn r2881) [Translations] Updating translations to 2005-08-21 {@295} (1 langs changed) 2005-08-21 06:05:51 +00:00
Darkvater 7a184a0ea3 (svn r2880) Fix graphical glitch in replace window (text at wrong coordinates) 2005-08-20 21:16:46 +00:00
tron ae49d487cc (svn r2879) Major step twoards ISO-8859-15
Add several missing chars:
- Š/š (S with hacek, all sizes)
- Ž/ž (Z with hacek, all sizes)
- Œ/œ (OE ligature, all sizes)
- Ð/ð (eth, large font was missing)
- Þ/þ (thorn, large font was missing)
- º   (male ordinal sign, all sizes)
Also move Ÿ (Y with umlaut, all sizes) to the correct position in the charset
To add some chars it was necessary to shuffle some OTTD specific chars (arrows, transport type markers) around
2005-08-20 18:14:32 +00:00
miham c1f4acd4a0 (svn r2878) [Translations] Updating translations to 2005-08-20 {@787} (2 langs changed) 2005-08-20 17:53:49 +00:00
miham 2080cf991f (svn r2877) [Translations] Handfixed italian.txt 2005-08-20 07:55:27 +00:00
miham 8b3c50147e (svn r2876) [Translations] Updated translations (this time manually :-P) 2005-08-17 17:19:40 +00:00
miham 01f0af5189 (svn r2875) [translations] Restored langfiles (f*cked up at 2874, sorry (problem fixed)) 2005-08-17 12:30:07 +00:00
miham 67a1507b83 (svn r2874) [Translations] Updating translations to 2005-08-16 {@946} (24 langs changed) 2005-08-16 21:42:35 +00:00
miham 1c3958c8fc (svn r2873) [Translations] Updating translations 2005-08-16 10:57:21 +00:00
tron 0c7af4a5ad (svn r2872) -Feature: [NewGRF] Add support for "extended bytes"
While here work around a buffer overflow in action 4
2005-08-15 22:48:33 +00:00