summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-01-08(svn r3392) Train depot fixes:peter1138
- Only count the parts from the source train that will be moved, not the whole train. - Don't count articulated parts of an engine. This alleviates issues with autoreplacing very long trains.
2006-01-08(svn r3391) - PBS Fix: Keep PBS reservation state when building a bridge ↵peter1138
over rail.
2006-01-08(svn r3390) -Fix: [autoreplace] fixed issue where autoreplace failed to ↵bjarni
attach the cars if the front engine was replaced and the front engine was multiheaded and the first vehicle after it was the rear part of that engine
2006-01-07(svn r3389) -Fix: No fence was placed when placing fences and the ↵tron
neighbouring tile is a rail configuration which permits a fence but has a signal (Per request of peter1138 the above line does not contain any commas)
2006-01-07(svn r3388) - NewGRF: Allow train running cost class to differ from engine ↵peter1138
class. Also fix typo in r3384.
2006-01-07(svn r3387) Restructure the code, which places fences along railroad tracks.tron
This includes no functional changes, just some cleanup before some bugfix
2006-01-07(svn r3386) - NewGRF: Small comment update, and fix for possible issue with ↵peter1138
engine class not getting set.
2006-01-07(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it ↵bjarni
works correctly on x86 too (hopefully)
2006-01-07(svn r3384) - NewGRF fix: running cost should be halved for dual head vehicles.peter1138
2006-01-07(svn r3383) -Code cleanup: [OSX] removed SDL support from FAT binaries as it ↵bjarni
caused problems for non-SDL builds FAT binaries now need to rely on COCOA drivers. SDL didn't work properly anyway
2006-01-07(svn r3382) -Feature: [OSX] added the flag JAGUAR to crosscompile for OSX ↵bjarni
10.2.8 on 10.4
2006-01-07(svn r3381) -Fix: r3374 left one bug: allow moving around wagons in a 100 ↵truelight
long train
2006-01-07(svn r3380) -Fix: removed 'size' from r3379, because it was pretty sillytruelight
-Note: no longer showhelp publish -p, as it is deprecated
2006-01-06(svn r3379) -Fix: protect showhelp against any possible overflowtruelight
-Add: [ FS#15 ] Added revision / version at top of help (./openttd -h)
2006-01-06(svn r3378) - NewGRF Fix: Use order status to determine whether a vehicle is ↵peter1138
loading instead of speed, and get that state from first vehicle in a train consist.
2006-01-06(svn r3377) -Fix: [ FS#24 ] Min. profit in detail performance rating gave ↵truelight
you full points if you had no vehicles, and was limited to 20k. Solved both. (Partly based on Graphite his patch)
2006-01-06(svn r3376) -Codechange: made enums for GenerateWorld and InitializeGame 'mode'truelight
-Fix: [ FS#30 ] don't reset date in SE when pressing RandomLand (rewrote patch of MeusH, but Peter warned me I should put his name in, so... oh well)
2006-01-06(svn r3375) -Add: [ FS#29 ] show an error dialog for OSX cocoa driver (egladil)truelight
2006-01-06(svn r3374) -Fix: [ FS#36 ] Don't allow trains to get bigger than 100 via ↵truelight
drag and drop
2006-01-06(svn r3373) -Fix: don't link a wagon to itself, which resulted in a wagon ↵truelight
disapearing, and a depot which was unable to remove
2006-01-06(svn r3372) - Fix: update signal states when building or removing rail ↵peter1138
station blocks
2006-01-06(svn r3371) -Fix: don't allow road-vehicles to perform an out-of-bound ↵truelight
operation while overtaking in a curve (tnx to guru3, Tron and peter1138) -Codechange: while at that, removed a local variable (more pretty :))
2006-01-06(svn r3370) Improve alignment of text within total cargo tab of train view ↵peter1138
window
2006-01-06(svn r3369) - Codechange: Replace tables _signals_table, ↵matthijs
_signals_table_other and _signals_table_both by the equivalent calls to rail.h functions. - Codechange: Add a few constants.
2006-01-05(svn r3368) Fix the same type of off-by-one error when checking, if the ↵tron
passed coordinate is on the map, like in r3357, but this time in DoCommandP - *cough* code duplication *cough*
2006-01-05(svn r3367) Unify the 4 distinct ↵tron
CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command. As side effect this is a -Fix: The default AI tried to change the service intervals of vehicles via the CMD_CHANGE_TRAIN_SERVICE_INT command - regardless of the type of the vehicle - which of course failed for non-trains
2006-01-05(svn r3366) Make an unnecessarily global variable localtron
2006-01-05(svn r3365) Staticise 36 functionstron
2006-01-05(svn r3364) Remove 3 unused functions (ScrollWindowToTile, ↵tron
AllocateWindowAutoPlace, AllocateWindowAutoPlace2)
2006-01-05(svn r3363) -Fix: 'fixed' the transfer problem. This doesn't really fix it, ↵truelight
but gives a bit more fair amount of money. Can only be fixed correctly with CargoPackets as suggested in branch.
2006-01-04(svn r3362) Fix issue with loading old (TTD) savegames:peter1138
- move call to convert from old to new train subtypes. - ensure AI is started for AI players.
2006-01-04(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after ↵peter1138
starting removal process.
2006-01-02(svn r3360) Fix initialization of engines for precalculation of default ↵peter1138
refit mask.
2006-01-02(svn r3359) - Autoreplace GUI: When starting or stopping a replacement, ↵peter1138
redraw the replace window after the command has completed, rather than after calling the command.
2005-12-30(svn r3358) Remove another piece of unused codetron
2005-12-30(svn r3357) Fix an off-by-one error in checking if a coordinate passed to a ↵tron
command is on the map
2005-12-29(svn r3356) - Remove unused parameter of AfterLoadGame().peter1138
- Initialize _sl_version after loading an old savegame.
2005-12-29(svn r3355) Three minor improvements for french (by me using dict.leo.org, ↵tron
OKed by Belugas)
2005-12-29(svn r3354) Fix a typo, which survived for about 3000 revisions: ↵tron
s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu)
2005-12-29(svn r3353) Simplify the automatic length adjustment algorithm for replacing ↵tron
trains: Use the length of the train before the replacement as reference length
2005-12-28(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC ↵peter1138
blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
2005-12-28(svn r3351) Make sort criteria selection widgets in player train list ↵peter1138
consistent with those widgets in other vehicle type lists. (Stops "Total capacity per cargo type" overflowing)
2005-12-28(svn r3350) Fix widget glitch in player ship window (missed in r1379)peter1138
2005-12-28(svn r3349) Fix off-by-one error in drawing matrix widget, from r3181.peter1138
2005-12-27(svn r3348) Dependency checking didn't include all compile parameters, which ↵tron
lead to wrong results
2005-12-27(svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was ↵tron
it the other way round?)
2005-12-27(svn r3346) - Increase size of aircraft refit window by one item; fixes "[ ↵peter1138
1387477 ] Can't refit aircraft to carry Fizzy Drinks"
2005-12-26(svn r3345) Remove untranslated stringstron
2005-12-26(svn r3344) Small fixes for the Danish (Thanks to Bjarni) and Dutch (Thanks ↵tron
to Truelight) translation
2005-12-26(svn r3343) Fix calculation of available rail types where all engines of a ↵peter1138
particular type are obsolete.