peter1138
e1f9b72c82
(svn r3388) - NewGRF: Allow train running cost class to differ from engine class. Also fix typo in r3384.
2006-01-07 16:47:59 +00:00
tron
72270695ed
(svn r3387) Restructure the code, which places fences along railroad tracks.
...
This includes no functional changes, just some cleanup before some bugfix
2006-01-07 16:30:49 +00:00
peter1138
5cfbb88bbb
(svn r3386) - NewGRF: Small comment update, and fix for possible issue with engine class not getting set.
2006-01-07 13:26:52 +00:00
bjarni
90d610bc6a
(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
2006-01-07 13:21:04 +00:00
peter1138
eb12f1a66c
(svn r3384) - NewGRF fix: running cost should be halved for dual head vehicles.
2006-01-07 13:20:02 +00:00
bjarni
db3d226c52
(svn r3383) -Code cleanup: [OSX] removed SDL support from FAT binaries as it caused problems for non-SDL builds
...
FAT binaries now need to rely on COCOA drivers. SDL didn't work properly anyway
2006-01-07 13:13:49 +00:00
bjarni
a8a2b93df5
(svn r3382) -Feature: [OSX] added the flag JAGUAR to crosscompile for OSX 10.2.8 on 10.4
2006-01-07 12:53:57 +00:00
truelight
58acfeacaa
(svn r3381) -Fix: r3374 left one bug: allow moving around wagons in a 100 long train
2006-01-07 10:57:32 +00:00
truelight
2ee4c11f1a
(svn r3380) -Fix: removed 'size' from r3379, because it was pretty silly
...
-Note: no longer showhelp publish -p, as it is deprecated
2006-01-07 10:15:46 +00:00
truelight
30232bf428
(svn r3379) -Fix: protect showhelp against any possible overflow
...
-Add: [ FS#15 ] Added revision / version at top of help (./openttd -h)
2006-01-06 22:52:31 +00:00
peter1138
5e68953907
(svn r3378) - NewGRF Fix: Use order status to determine whether a vehicle is loading instead
...
of speed, and get that state from first vehicle in a train consist.
2006-01-06 22:49:00 +00:00
truelight
336a58e797
(svn r3377) -Fix: [ FS#24 ] Min. profit in detail performance rating gave you full points if you had no vehicles, and was limited to 20k. Solved both. (Partly based on Graphite his patch)
2006-01-06 22:16:17 +00:00
truelight
45a0cc607c
(svn r3376) -Codechange: made enums for GenerateWorld and InitializeGame 'mode'
...
-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 21:57:37 +00:00
truelight
a1f8309453
(svn r3375) -Add: [ FS#29 ] show an error dialog for OSX cocoa driver (egladil)
2006-01-06 21:27:44 +00:00
truelight
59bea21c2c
(svn r3374) -Fix: [ FS#36 ] Don't allow trains to get bigger than 100 via drag and drop
2006-01-06 21:10:58 +00:00
truelight
a165a40803
(svn r3373) -Fix: don't link a wagon to itself, which resulted in a wagon disapearing, and a depot which was unable to remove
2006-01-06 18:26:02 +00:00
peter1138
d639318abd
(svn r3372) - Fix: update signal states when building or removing rail station blocks
2006-01-06 17:45:43 +00:00
truelight
6b7d0a2641
(svn r3371) -Fix: don't allow road-vehicles to perform an out-of-bound 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 17:25:39 +00:00
peter1138
fd3a596c82
(svn r3370) Improve alignment of text within total cargo tab of train view window
2006-01-06 09:50:43 +00:00
matthijs
138761e78e
(svn r3369) - Codechange: Replace tables _signals_table, _signals_table_other and _signals_table_both by the equivalent calls to rail.h functions.
...
- Codechange: Add a few constants.
2006-01-06 00:08:00 +00:00
tron
cbe7f9771c
(svn r3368) Fix the same type of off-by-one error when checking, if the passed coordinate is on the map, like in r3357, but this time in DoCommandP - *cough* code duplication *cough*
2006-01-05 21:50:09 +00:00
tron
2053685fb5
(svn r3367) Unify the 4 distinct 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 21:35:54 +00:00
tron
9b87635c1f
(svn r3366) Make an unnecessarily global variable local
2006-01-05 16:51:10 +00:00
tron
318fe153eb
(svn r3365) Staticise 36 functions
2006-01-05 12:40:50 +00:00
tron
e588f86bb3
(svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2)
2006-01-05 12:00:38 +00:00
truelight
e427dbcad2
(svn r3363) -Fix: 'fixed' the transfer problem. This doesn't really fix it, but gives a bit more fair amount of money. Can only be fixed correctly with CargoPackets as suggested in branch.
2006-01-05 11:18:58 +00:00
peter1138
28668bc30b
(svn r3362) Fix issue with loading old (TTD) savegames:
...
- move call to convert from old to new train subtypes.
- ensure AI is started for AI players.
2006-01-04 20:18:39 +00:00
peter1138
b6721d7e95
(svn r3361) - Clone Vehicle: Disallow cloning of crashed rail vehicles after starting removal process.
2006-01-04 16:53:00 +00:00
peter1138
c5496ae092
(svn r3360) Fix initialization of engines for precalculation of default refit mask.
2006-01-02 22:40:39 +00:00
peter1138
d5ce50a405
(svn r3359) - Autoreplace GUI: When starting or stopping a replacement, redraw the replace window after the command has completed, rather than after calling the command.
2006-01-02 19:55:09 +00:00
tron
2cfdfb5d96
(svn r3358) Remove another piece of unused code
2005-12-30 22:09:01 +00:00
tron
bd226be988
(svn r3357) Fix an off-by-one error in checking if a coordinate passed to a command is on the map
2005-12-30 14:28:32 +00:00
peter1138
b97d91b96e
(svn r3356) - Remove unused parameter of AfterLoadGame().
...
- Initialize _sl_version after loading an old savegame.
2005-12-29 22:28:19 +00:00
tron
b13bedf27e
(svn r3355) Three minor improvements for french (by me using dict.leo.org, OKed by Belugas)
2005-12-29 19:09:05 +00:00
tron
24d56f889d
(svn r3354) Fix a typo, which survived for about 3000 revisions: s/SRT_SORT_BY/STR_SORT_BY/ (noticed by chu)
2005-12-29 19:06:44 +00:00
tron
ed4b89ee36
(svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
2005-12-29 12:42:59 +00:00
peter1138
901068fd6e
(svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
2005-12-28 22:29:59 +00:00
peter1138
139d1ed1eb
(svn r3351) Make sort criteria selection widgets in player train list consistent with those widgets in other vehicle type lists. (Stops "Total capacity per cargo type" overflowing)
2005-12-28 09:40:26 +00:00
peter1138
cac82aa4af
(svn r3350) Fix widget glitch in player ship window (missed in r1379)
2005-12-28 09:29:00 +00:00
peter1138
b181868483
(svn r3349) Fix off-by-one error in drawing matrix widget, from r3181.
2005-12-28 08:39:43 +00:00
tron
c6ea133746
(svn r3348) Dependency checking didn't include all compile parameters, which lead to wrong results
2005-12-27 22:55:24 +00:00
tron
ee3eae4fdf
(svn r3347) Plug a memory leak (Found by Valgrind using Truelight ... or was it the other way round?)
2005-12-27 20:44:42 +00:00
peter1138
121b54e959
(svn r3346) - Increase size of aircraft refit window by one item; fixes "[ 1387477 ] Can't refit aircraft to carry Fizzy Drinks"
2005-12-27 16:37:50 +00:00
tron
7917251413
(svn r3345) Remove untranslated strings
2005-12-26 18:24:01 +00:00
tron
79a626a71b
(svn r3344) Small fixes for the Danish (Thanks to Bjarni) and Dutch (Thanks to Truelight) translation
2005-12-26 18:22:34 +00:00
peter1138
0975885240
(svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete.
2005-12-26 15:41:24 +00:00
tron
05ed2a8d8c
(svn r3342) Remove some cruft
2005-12-25 19:44:23 +00:00
truelight
a980ddc219
(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform
2005-12-25 15:05:59 +00:00
tron
0e12ad7d99
(svn r3340) Fix dependency calculation: dependencies didn't get recalculated if a header file changed
...
Also really automagically create the dependency directories by deriving the directory names from $(DEPS)
2005-12-25 09:19:16 +00:00
tron
04c096ee63
(svn r3339) Remove unnecessary includes
2005-12-24 20:54:31 +00:00