Commit Graph

2431 Commits

Author SHA1 Message Date
Darkvater
180997534c (svn r2956) - Fix: [ 1253736 ] creating many town crash to desktop. Now it 'dies' with an ingame error message informing the gamer if it couldn't generate any towns in user-space. Still if it happens during new-game generation it crashes since we don't yet have actions to do in such a circumstance. 2005-09-16 00:33:33 +00:00
Darkvater
1419244551 (svn r2955) Fix: make ottd start with the last resolution you had set (custom) (win32) 2005-09-15 22:42:59 +00:00
Darkvater
e9401f09a7 (svn r2954) - Force assertion message to be output to a messagebox instead to the console which MinGW32 had the habit of doing. Using undocumented (in mingw) __set_error_mode() function. 2005-09-15 21:59:07 +00:00
Darkvater
7164ff86f9 (svn r2953) - Fix: [ 1257766 ] Cannot make ships go to an oil platform (oilrig has no station). While it is still possible that oilrigs end up without a station, it is only the case where no more stations can be built at all 2005-09-14 22:03:27 +00:00
Darkvater
db31fe8e15 (svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # cause that would have written 0X 2005-09-14 19:22:06 +00:00
Darkvater
2131f68ae2 (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
- Add IsLocalPlayer() which substitutes _local_player == _current_player
2005-09-14 18:03:38 +00:00
Darkvater
1bf06d7da4 (svn r2950) -Fix: [ 1259327 ] Server crash with "say" -command 2005-09-14 17:21:30 +00:00
Darkvater
236abb6a6c (svn r2949) The AI no longer needs to 'cheat' to build aircraft; eg it builds them now from a hangar. Also, to query the price of a new aircraft tile information is not needed 2005-09-13 13:30:18 +00:00
truelight
2e87864d0b (svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special
abilities you really don't want to know about (free bridges, etc..)
       I removed this flag some revisions ago, but the Aircraft part
       depends on it, so I re-enabled it again..
2005-09-13 12:19:27 +00:00
tron
42813c5426 (svn r2947) Reorder some code to prepare for future enhancements and get rid of some gotos (peter1138) 2005-09-13 09:23:23 +00:00
tron
b84e36d717 (svn r2946) Remove redundant calls, simplify a check and terminate the argument list of execlp() as suggested by the manpage to make it correctly work on 64bit platforms 2005-09-12 09:53:56 +00:00
Darkvater
02472528ad (svn r2945) Add 'del' alias to rm console command 2005-09-11 18:36:22 +00:00
Darkvater
c5fa3848f6 (svn r2944) Add Revision keyword to the file for --version/-v 2005-09-11 18:20:32 +00:00
Darkvater
802edd7f0d (svn r2943) Fix compilation of openttd in release mode. Don't use any precompiled headers, so no more troubles in the future.
Remove release build of strgen, since it is never used.
Add current ottd version to resource file. Don't forget to update when we make a release :)
2005-09-11 17:55:32 +00:00
tron
aa08027ab3 (svn r2942) Staticise some functions 2005-09-11 15:01:00 +00:00
tron
e78d41bbb2 (svn r2941) -Feature: Implement the console command rm to remove savegames 2005-09-11 14:57:56 +00:00
Darkvater
ffd044c5e8 (svn r2940) (Internal) Remove the need for the 'tmp' variable for _sl.buf, instead operate on _sl.buf_ori which is not changed for init/deinit. 2005-09-11 14:20:46 +00:00
Darkvater
b0ddaae4af (svn r2939) Fix racing condition when using threaded saving (last one I hope).
When game is saved and you save again you get an error message (not when autosaving) and it's aborted. When a game is loaded in the meanwhile execution pauses until saving thread finishes.
2005-09-11 14:17:21 +00:00
tron
08e0769967 (svn r2938) -Fix: Exit the child of the extmidi backend with _exit() instead of exit(), because we don't want any atexit handlers - especially flushing output streams - to run, if exec() fails
Half a credit is due to Darkvater (;
2005-09-11 09:24:17 +00:00
tron
8894b930ae (svn r2937) Add sprites for {, |, } and ~ 2005-09-10 15:52:19 +00:00
tron
edb56c2c46 (svn r2936) Move string commands to a non-printable range and remove stale comments 2005-09-10 15:14:35 +00:00
miham
2c89b0f539 (svn r2935) [Translations] Fixed up static strings for various languages (Tron) 2005-09-10 09:52:33 +00:00
tron
287684e953 (svn r2934) Remove the {STATIONFEATURES} tag from the tiny station label - there are no tiny transport marker sprites 2005-09-10 09:35:18 +00:00
tron
9de2c05c56 (svn r2933) Implement the non-breaking space 2005-09-10 08:17:30 +00:00
tron
0fe36a6900 (svn r2932) Give the strings consisting of an up/a down arrow symbolic names 2005-09-10 07:38:03 +00:00
miham
04f051e423 (svn r2931) [Translations] introduced some minimal caseing in hungarian language (miham) 2005-09-10 06:39:36 +00:00
miham
2e0e932e9d (svn r2930) [Translations] Updated estonian (tron) 2005-09-10 06:32:48 +00:00
matthijs
cd54bf48d1 (svn r2929) * Move DistanceTrack from map.c to npf.c and rename to NPFDistanceTrack.
* Make NPFDistanceTrack return the distance multiplied by NPF_TILE_LENGTH to prevent rounding
  This should make ship and train pathfinding more accurate and faster.
* Update IsEndOfLine to prevent trains from trying to go off a slope onto a tunnel entrance.
2005-09-09 23:14:38 +00:00
orudge
a744b15907 (svn r2928) - Update OS/2 project with AI file changes 2005-09-09 15:49:46 +00:00
tron
b45ab0fab4 (svn r2927) Fix/remove stale information, line breaks, inform FreeBSD users about the required ports 2005-09-09 07:08:27 +00:00
tron
4b59946ffe (svn r2926) -Fix: Use the same file slots in both initialisation stages when loading a patch grf 2005-09-09 06:39:47 +00:00
Darkvater
5d3f87bcd8 (svn r2925) Get VS6 to compile again; really this time (boekabart) and add eol-style and keywords to newly added source files (ai.[ch]) 2005-09-08 14:31:13 +00:00
tron
45ca3b6336 (svn r2924) Introduce the ALIGN() macro which aligns values to multiples of a power of 2, for exact semantics see the commment in macros.h 2005-09-08 12:48:26 +00:00
Darkvater
d73d12ae8a (svn r2923) Update project files for VS2003 and VS6 (rev2921) 2005-09-08 12:33:25 +00:00
Darkvater
73662f2fcb (svn r2922) Fix crash with directmusic if no music files could be found to play 2005-09-08 12:22:47 +00:00
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