Commit Graph

2748 Commits (560a4a9c4aa3e5af724038a4ee073653a25284ca)
 

Author SHA1 Message Date
tron 313fcfbd83 (svn r2973) Move a function declaration somewhere where it belongs 19 years ago
tron afcb9f0d60 (svn r2972) Fix the speed of the AI 19 years ago
peter1138 eeeeecb030 (svn r2971) - Newgrf: Support loading VarAction2 parameter for variables 0x60-0x7F. This parameter isn't used yet. 19 years ago
peter1138 e380abec97 (svn r2970) - Newgrf: Allocate spritegroups dynamically; this allows a cargo ID to reference the previous definition of the same cargo ID, instead of causing loops. 19 years ago
peter1138 02c2de2a67 (svn r2969) -Newgrf: Show a wagon's speed limit in purchase list. 19 years ago
peter1138 1195076373 (svn r2968) -Newgrf: Implement current set of action D (ParamSet) operations. 19 years ago
peter1138 4d8c903d62 (svn r2967) Fix: newgrf: Wagon speed limits don't apply for wagons with livery overrides. Fixes max speed in dbsetxl etc. 19 years ago
peter1138 5676cc32b4 (svn r2966) Fix: newgrf: Replace special case with a check for the existence of a handler in VehicleChangeInfo. 19 years ago
peter1138 2f0616e9f2 (svn r2965) Fix: newgrf: Add bounds checking to VehicleChangeInfo for vehicles and change
station special case to vehicle special case.
19 years ago
peter1138 a3b3c3cf31 (svn r2964) Fix: newgrf: Include missing grf feature canal. 19 years ago
peter1138 3d197e0861 (svn r2963) Fix: calculate proportions of non-square giant screenshot correctly. 19 years ago
Darkvater 8e6a911700 (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
19 years ago
Darkvater 3097ee2429 (svn r2961) - Fix: [ 1219123 ] Fix for [ 1216203 ] UFO-broken waypoint (lucaspiller) 19 years ago
Darkvater 72ef17dace (svn r2960) - Fix: [ 1227779 ] Fix win32 midi volume level control which didn't work (glx) 19 years ago
Darkvater c930f8f8c0 (svn r2959) - Fix: [ 1266036 ] Fix [ 1236317 ] Vehicles with and TRANSFER order don't have that order restored (i_dachev). Also disallow non-train type vehicles to have non-stop orders. 19 years ago
Darkvater 4797310f91 (svn r2958) - Feature: [ 1258971 ] Menu option to toggle console. Mainly for MacOS's or PDA's. (toholio) 19 years ago
Darkvater 2525e1d507 (svn r2957) - Feature: [ 1263280 ] Danish town names (fey_dk) 19 years ago
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. 19 years ago
Darkvater 1419244551 (svn r2955) Fix: make ottd start with the last resolution you had set (custom) (win32) 19 years ago
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. 19 years ago
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 19 years ago
Darkvater db31fe8e15 (svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # cause that would have written 0X 19 years ago
Darkvater 2131f68ae2 (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
- Add IsLocalPlayer() which substitutes _local_player == _current_player
19 years ago
Darkvater 1bf06d7da4 (svn r2950) -Fix: [ 1259327 ] Server crash with "say" -command 19 years ago
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 19 years ago
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..
19 years ago
tron 42813c5426 (svn r2947) Reorder some code to prepare for future enhancements and get rid of some gotos (peter1138) 19 years ago
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 19 years ago
Darkvater 02472528ad (svn r2945) Add 'del' alias to rm console command 19 years ago
Darkvater c5fa3848f6 (svn r2944) Add Revision keyword to the file for --version/-v 19 years ago
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 :)
19 years ago
tron aa08027ab3 (svn r2942) Staticise some functions 19 years ago
tron e78d41bbb2 (svn r2941) -Feature: Implement the console command rm to remove savegames 19 years ago
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. 19 years ago
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.
19 years ago
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 (;
19 years ago
tron 8894b930ae (svn r2937) Add sprites for {, |, } and ~ 19 years ago
tron edb56c2c46 (svn r2936) Move string commands to a non-printable range and remove stale comments 19 years ago
miham 2c89b0f539 (svn r2935) [Translations] Fixed up static strings for various languages (Tron) 19 years ago
tron 287684e953 (svn r2934) Remove the {STATIONFEATURES} tag from the tiny station label - there are no tiny transport marker sprites 19 years ago
tron 9de2c05c56 (svn r2933) Implement the non-breaking space 19 years ago
tron 0fe36a6900 (svn r2932) Give the strings consisting of an up/a down arrow symbolic names 19 years ago
miham 04f051e423 (svn r2931) [Translations] introduced some minimal caseing in hungarian language (miham) 19 years ago
miham 2e0e932e9d (svn r2930) [Translations] Updated estonian (tron) 19 years ago
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.
19 years ago
orudge a744b15907 (svn r2928) - Update OS/2 project with AI file changes 19 years ago
tron b45ab0fab4 (svn r2927) Fix/remove stale information, line breaks, inform FreeBSD users about the required ports 19 years ago
tron 4b59946ffe (svn r2926) -Fix: Use the same file slots in both initialisation stages when loading a patch grf 19 years ago
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]) 19 years ago
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 19 years ago