belugas
30b0e31f15
(svn r12287) -Codechange: Give meaning to two other bridges sprites arrays.
...
A bit of re-indenting too
2008-02-27 04:00:25 +00:00
glx
2007e53a8d
(svn r12282) -Fix (r12123): generate.vbs should not skip files in NO_THREADS section of source.list
2008-02-26 22:32:27 +00:00
belugas
2f8e2743d7
(svn r12272) -Codechange: A bit of code style fixes (tabs instead of spaces), one space too many before macro definition and rename marco MB (MakeBridge) for MBR(MakeBRidge)
2008-02-26 18:24:46 +00:00
glx
cf07a1044c
(svn r12269) -Fix: [Win32] don't create save dir on install
2008-02-26 15:31:48 +00:00
belugas
ed6bfe4964
(svn r12263) -Codechange: Give meaning to the concrete bridge sprites arrays.
...
Add macro MR (PALETTE_TO_STRUCT_RED) for easier viewing.
Still more to come.
2008-02-26 03:35:44 +00:00
belugas
adb1507e4e
(svn r12262) -Codechange: Give meaning to the wooden bridge sprites arrays.
...
Add macro MN for easier viewing.
More to come.
2008-02-26 00:06:21 +00:00
glx
6f55c7e0e8
(svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for timetable window
2008-02-25 23:12:55 +00:00
glx
a857d32676
(svn r12258) -Fix: GetProductionAroundTiles() may fail if only the second production slot exists
2008-02-25 16:30:12 +00:00
KUDr
ff7e789f83
(svn r12252) -Fix [FS#1801]: Broken FollowTrack_t related functions (thanks michi_cc).
...
-Fixed by removing FollowTrack_t structure and all related functions. Their purpose was to allow to call track followers from C code. They were:
1. never used
2. obsoleted by switching to C++
2008-02-25 15:09:22 +00:00
frosch
bde573d1e9
(svn r12247) -Fix (r9315): Town variables 0x9E to 0xAD (company ratings) returned wrong values.
2008-02-25 13:48:23 +00:00
frosch
e464cbcfd6
(svn r12246) -Fix (r10460): Proper usage of Clamp().
2008-02-25 13:38:11 +00:00
smatz
de8c95506b
(svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer
2008-02-25 02:09:04 +00:00
glx
c78b1b388e
(svn r12239) -Fix [FS#1800] (r9729): inverted comments for SetRailType() and GetTrackBits() (michi_cc)
2008-02-24 22:20:31 +00:00
glx
56c9c0a612
(svn r12238) -Change [FS#1800]: set svn:executable property for *.vbs (michi_cc)
2008-02-24 22:16:36 +00:00
glx
13b145b364
(svn r12234) -Fix [FS#1798]: Mac OSX bundle display name should be 'OpenTTD' (oVRoM)
2008-02-24 21:47:02 +00:00
bjarni
801bd045fe
(svn r12231) -Cleanup (r12230): [autoreplace] moved Vehicle::NeedsAutorenewing() and added comments
2008-02-23 22:23:06 +00:00
bjarni
973d1fd6ad
(svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing
...
This will remove duplicated code and ensure that the check is consistent
2008-02-23 22:01:55 +00:00
miham
4e90a42f0c
(svn r12218) -Update: WebTranslator2 update to 2008-02-23 12:39:10
...
brazilian_portuguese - 13 fixed, 51 changed by fukumori (64)
bulgarian - 12 fixed by thetitan (12)
catalan - 13 fixed by arnaullv (13)
czech - 13 fixed, 8 changed by Hadez (21)
dutch - 13 fixed by habell (13)
estonian - 13 fixed, 3 changed by kristjans (16)
french - 13 fixed, 20 changed by glx (33)
hungarian - 13 fixed by miham (13)
italian - 13 fixed, 8 changed by lorenzodv (21)
japanese - 13 fixed by ickoonite (13)
korean - 14 fixed by leejaeuk5 (14)
portuguese - 2 fixed by nars (2)
slovak - 13 fixed by lengyel (13)
slovenian - 1 fixed by Necrolyte (1)
spanish - 13 fixed by eusebio (13)
swedish - 1 fixed by ChrillDeVille (1)
ukrainian - 13 fixed, 1 deleted, 124 changed by mad (138)
2008-02-23 11:42:41 +00:00
peter1138
f6e4dc4d8c
(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it.
2008-02-21 19:09:10 +00:00
belugas
67bf63ddff
(svn r12208) -Codechange: Alignment of params makes the code easier to read.
2008-02-21 16:05:33 +00:00
peter1138
29e4c60348
(svn r12207) -Change: rail running costs are engine class, not rail type
2008-02-21 14:30:36 +00:00
belugas
35356c97e7
(svn r12206) -Fix: A comma is not a rare resource. Do not hesitate to use it when needed.
2008-02-20 21:08:27 +00:00
peter1138
0e997be11e
(svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base)
2008-02-20 20:56:54 +00:00
smatz
e0b0ecc5a7
(svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets
2008-02-20 19:42:06 +00:00
frosch
91297d4732
(svn r12203) -Fix (r12199): Make trains pay attention to signals again.
2008-02-20 19:37:46 +00:00
peter1138
ab1fa8b8fc
(svn r12202) -Fix: When loading a savegame fails, don't start creating a new game, just go straight back to the intro screen.
2008-02-20 19:37:02 +00:00
smatz
e5709f3ad8
(svn r12201) -Fix (r12060): compilation warnings - uninitialized variable when compiling with assert disabled
2008-02-20 19:34:53 +00:00
smatz
988b5a9111
(svn r12200) -Fix: force AI to build rail or road instead of bridges if possible, so it doesn't build bridges everywhere
2008-02-20 17:56:36 +00:00
frosch
7f3d56041b
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
2008-02-20 17:49:50 +00:00
peter1138
86eec55b8a
(svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent.
2008-02-20 17:12:08 +00:00
smatz
9bdb194b2a
(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
...
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
2008-02-20 17:06:58 +00:00
smatz
2657090b1f
(svn r12195) -Fix [FS#1787](r12100): there can be oil rigs at map borders, do not set water class for them
2008-02-20 16:24:56 +00:00
smatz
7dbb21c69b
(svn r12194) -Codechange: apply coding style on enum TrainSubtype
2008-02-20 15:18:35 +00:00
frosch
1d120c51b8
(svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'.
2008-02-20 15:13:42 +00:00
smatz
44a8293364
(svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value
2008-02-20 14:30:53 +00:00
frosch
ca2eb0676c
(svn r12191) -Fix: Do not start overtaking if the RV reaches wrong-way one-way-road in the next tiles.
2008-02-20 14:07:45 +00:00
smatz
70b7bfe9c8
(svn r12190) -Fix [FS#1786](r8080): YAPF always shows 0ms PF time in debug for debug level 2 (patch by IguannaB)
2008-02-20 12:31:28 +00:00
smatz
0357c4306c
(svn r12189) -Codechange: mark some functions in train_cmd.cpp inline (called once or very short)
2008-02-20 12:07:22 +00:00
smatz
32d8ac2073
(svn r12188) -Codechange [FS#1782]: do not check twice for correct rail owner (patch by Vikthor)
2008-02-20 11:00:17 +00:00
belugas
20035ca48d
(svn r12187) -Add: frosch as dev. Last, but not least
2008-02-19 17:52:30 +00:00
smatz
6d6e44442d
(svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land)
2008-02-19 17:45:30 +00:00
smatz
7a5855fec2
(svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc)
2008-02-18 23:37:16 +00:00
smatz
a53594ebd4
(svn r12184) -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime
2008-02-18 22:50:58 +00:00
smatz
b2721c08fc
(svn r12183) -Codechange: give a better error message when building road over existing road with vehicle on it, or do not fail at all
2008-02-18 22:12:27 +00:00
belugas
6c59c9d746
(svn r12181) -Change: update some documentation.
2008-02-18 20:59:04 +00:00
peter1138
1ba2ae69e6
(svn r12180) -Fix: Test purchase list loading/loaded sprites instead of unconditionally returning a possibly non-existant sprite.
2008-02-18 19:20:37 +00:00
smatz
4a329de942
(svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability
2008-02-18 18:35:36 +00:00
smatz
97013cd8c4
(svn r12178) -Codechange: use the 'side' parameter in TrainController and TrainCheckIfLineEnds to simplify the code
2008-02-18 16:35:38 +00:00
smatz
9f619f91b3
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-18 16:11:31 +00:00
smatz
ada241e279
(svn r12176) -Codechange: one division less when playing sounds (patch by Dominik)
2008-02-18 14:59:30 +00:00