peter1138
5049fbb081
(svn r12329) -Fix [FS#1819]: Disallow building level crossings over one-way roads as this allowed competitors to remove the one-way state.
2008-03-03 19:15:53 +00:00
belugas
56ed79e448
(svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;)
2008-03-03 18:20:42 +00:00
smatz
620695587d
(svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a vehicle name changed - cached name was not invalidated
2008-03-02 00:25:54 +00:00
smatz
8dacca9a71
(svn r12323) -Fix [FS#1821](r6789): vehicle sorting by name was broken, it was comparing two the same strings (when caching was not used)
2008-03-01 23:53:58 +00:00
glx
c4e023bd6e
(svn r12322) -Fix (r9874): endian issue when saving/loading group owner
2008-02-29 22:55:57 +00:00
peter1138
f87b1df566
(svn r12320) -Fix [FS#1817]: Wrong transparency options could be saved after toggling all.
2008-02-29 15:20:02 +00:00
peter1138
3bba6e4abd
(svn r12319) -Cleanup: Comment fixes (Roujin)
2008-02-29 13:57:50 +00:00
peter1138
9ccce57438
(svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings.
2008-02-29 08:48:01 +00:00
peter1138
6bdc8e5fae
(svn r12316) -Codechange: Support loading full range of 0xD0xx NewGRF strings which
...
includes 0xD000 to 0xD3FF (yes, 0xD0xx makes a lot of sense, really...)
and handle 0xD400 to 0xD7FF strings which map to 0xD000 to 0xD3FF
(obviously).
2008-02-29 08:40:49 +00:00
peter1138
034649e7f5
(svn r12314) -Fix (r4896): Include prop 25 data for all train parts, not just those that carry cargo.
2008-02-28 21:44:13 +00:00
frosch
35fd0dfd4e
(svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes.
2008-02-28 17:34:34 +00:00
glx
86a4d377b1
(svn r12304) -Codechange: use IsValidTile() where it should be used
2008-02-28 00:17:49 +00:00
glx
35195bb2bc
(svn r12303) -Codechange: move IsValidTile() in a more suitable place and make it static inline
2008-02-28 00:10:08 +00:00
glx
459fd42e1d
(svn r12296) -Fix [FS#1549]: restore timetable from backupped orders and add group ID to the backup
2008-02-27 21:46:57 +00:00
peter1138
6aea2454c8
(svn r12295) -Codechange: Make plane speed option available to NewGRFs
2008-02-27 21:33:52 +00:00
peter1138
926f5d548d
(svn r12293) -Feature: Ability to change aircraft speed factor, from so
...
called 'realistic' (matching other vehicles) (1/1) to original TTD
speed (1/4). Note this option defaults to original TTD speed.
2008-02-27 21:07:12 +00:00
belugas
8f47b642b6
(svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram tracks.(Roujin)
2008-02-27 15:35:24 +00:00
belugas
46a3508f50
(svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated
2008-02-27 14:55:16 +00:00
belugas
202f1046f6
(svn r12288) -Fix(r12287): forgot to include two sprite renames out of consistency.
...
And obviously forgot to compile before committing, as the array rename would have been evident.
2008-02-27 04:26:25 +00:00
belugas
7c14dedeb6
(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
belugas
7e74fca7d8
(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
belugas
0a92b3366c
(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
3764aa5134
(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
62d9bf8d0f
(svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for timetable window
2008-02-25 23:12:55 +00:00
glx
4a4be744b6
(svn r12258) -Fix: GetProductionAroundTiles() may fail if only the second production slot exists
2008-02-25 16:30:12 +00:00
KUDr
e41df385d7
(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
93b3a66678
(svn r12247) -Fix (r9315): Town variables 0x9E to 0xAD (company ratings) returned wrong values.
2008-02-25 13:48:23 +00:00
frosch
c2f3e0e326
(svn r12246) -Fix (r10460): Proper usage of Clamp().
2008-02-25 13:38:11 +00:00
smatz
27284db36f
(svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer
2008-02-25 02:09:04 +00:00
glx
f352512c8d
(svn r12239) -Fix [FS#1800] (r9729): inverted comments for SetRailType() and GetTrackBits() (michi_cc)
2008-02-24 22:20:31 +00:00
bjarni
8290a798fc
(svn r12231) -Cleanup (r12230): [autoreplace] moved Vehicle::NeedsAutorenewing() and added comments
2008-02-23 22:23:06 +00:00
bjarni
089969e1ca
(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
e821b3a9b8
(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
dda6cab17a
(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
c0544563a6
(svn r12208) -Codechange: Alignment of params makes the code easier to read.
2008-02-21 16:05:33 +00:00
peter1138
577b0cc260
(svn r12207) -Change: rail running costs are engine class, not rail type
2008-02-21 14:30:36 +00:00
belugas
1b73417e5f
(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
79b6b9cb66
(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
db9d5a909f
(svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets
2008-02-20 19:42:06 +00:00
frosch
1e74834441
(svn r12203) -Fix (r12199): Make trains pay attention to signals again.
2008-02-20 19:37:46 +00:00
peter1138
e90cf8509a
(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
a47b4631ea
(svn r12201) -Fix (r12060): compilation warnings - uninitialized variable when compiling with assert disabled
2008-02-20 19:34:53 +00:00
smatz
767e1cc37e
(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
b7993793c8
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
2008-02-20 17:49:50 +00:00
peter1138
9e65157548
(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
a190606f2e
(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
e95a85315c
(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
73a6525129
(svn r12194) -Codechange: apply coding style on enum TrainSubtype
2008-02-20 15:18:35 +00:00
frosch
f5929d413b
(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
ca46154068
(svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value
2008-02-20 14:30:53 +00:00
frosch
0e9e94a94b
(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
2b8d1bcb51
(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
169ac7c91d
(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
595d9357c3
(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
b4b5c09ff9
(svn r12187) -Add: frosch as dev. Last, but not least
2008-02-19 17:52:30 +00:00
smatz
6e9b952623
(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
adf1227290
(svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc)
2008-02-18 23:37:16 +00:00
smatz
578e833284
(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
0821df8537
(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
peter1138
a4c14fb442
(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
509b3a3247
(svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability
2008-02-18 18:35:36 +00:00
smatz
c7a8080c3a
(svn r12178) -Codechange: use the 'side' parameter in TrainController and TrainCheckIfLineEnds to simplify the code
2008-02-18 16:35:38 +00:00
smatz
29125c0e68
(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
a0a225ab02
(svn r12176) -Codechange: one division less when playing sounds (patch by Dominik)
2008-02-18 14:59:30 +00:00
peter1138
a0fda5b969
(svn r12175) -Fix (r12174): Ensure the patches window is centred properly.
2008-02-18 13:19:57 +00:00
peter1138
b3f304cde3
(svn r12174) -Codechange: Make the patches window dynamically resize to the largest patch tab, so adding patch options is simply a case of adding to the lists.
2008-02-18 12:36:10 +00:00
peter1138
06de1215c1
(svn r12173) -Cleanup: Minor codestyle fixes.
2008-02-18 11:47:53 +00:00
peter1138
db0eb9570c
(svn r12172) -Codechange: Allow buttons to resize in NewGRF settings window
2008-02-18 09:16:02 +00:00
smatz
38969fe46d
(svn r12171) -Fix [FS#609]: return correct bridge price for AI when DC_QUERY_COST is set (patch by Raimar Falke)
...
It never happens in current code, but it is better to be ready for it
2008-02-18 01:42:21 +00:00
smatz
d75cccf5d5
(svn r12170) -Fix: do not draw trees along road and street lights under low bridges (spotted by _minime_)
2008-02-17 21:27:44 +00:00
smatz
6bf44158c5
(svn r12169) -Change [FS#1696]: play sounds when there is only small part of tile/vehicle visible too (original idea by Dominik)
...
It improves the game appearance when playing with very small screen resolution
2008-02-17 20:15:20 +00:00
smatz
505951e9fa
(svn r12168) -Fix: behave a bit better when 'R' is pressed during rail station dragging
2008-02-17 18:19:33 +00:00
smatz
8b56e7544e
(svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed
2008-02-17 17:00:43 +00:00
smatz
291931bf50
(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC)
2008-02-17 12:21:05 +00:00
glx
16e23a75fe
(svn r12165) -Fix [FS#1652, FS#1773]: buffer overflow when drawing scrolling news
2008-02-17 00:47:39 +00:00
peter1138
7394b9d030
(svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept in
2008-02-16 23:09:33 +00:00
smatz
13781ec11b
(svn r12163) -Fix [FS#1705]: if a train is 'stopping' when entering a depot, do not let it leave again
2008-02-16 22:29:30 +00:00
smatz
ebe03109ad
(svn r12162) -Fix [FS#1757]: towns shouldn't build over houses owned by another town
2008-02-16 17:54:29 +00:00
smatz
4b7a812e55
(svn r12161) -Fix: towns will no longer build houses > 1x1 there where should be road (with 2x2, 3x3 grid town layouts)
2008-02-16 17:10:14 +00:00
smatz
058f39fe18
(svn r12160) -Fix [FS#1744]: remove the arbitrary limit of 64 waypoints per town, so weird things won't happen anymore
2008-02-16 16:40:47 +00:00
belugas
e7173d3ba4
(svn r12159) -Codechange: Enumify some widget magical numbers
...
-Cleanup: apply a bit of code style. Mostly re-indenting switch cases
2008-02-16 03:12:57 +00:00
belugas
245fccf22d
(svn r12158) -Codechange: merge all the sprite recolouring mapping under a single function
...
-Fix: Handle the bridge recolouring mapping as the other features. Although not specified by the specs, it seems to be implicit.
2008-02-16 03:01:05 +00:00
belugas
b8f8d0ca51
(svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
...
-Codechange: Replace two magic numbers with according sprite names
2008-02-16 02:37:31 +00:00
smatz
b4f58ebae4
(svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now
2008-02-16 00:46:38 +00:00
glx
044ca2bbf6
(svn r12155) -Fix (r12154): some warnings (always compile before commit)
2008-02-16 00:10:03 +00:00
glx
3e70ee6ed7
(svn r12154) -Codechange: removed a magic number
2008-02-15 23:57:03 +00:00
smatz
a5f99154b7
(svn r12150) -Fix (r12143): compiler warnings - possible use of uninitialised variable
2008-02-15 21:05:46 +00:00
frosch
a40d761d7f
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
2008-02-15 18:40:42 +00:00
frosch
fd0f57a794
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
2008-02-15 18:34:26 +00:00
frosch
cedca22c60
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
2008-02-15 18:21:04 +00:00
frosch
ef354e074f
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
2008-02-15 18:00:30 +00:00
belugas
65a13a3022
(svn r12145) -Codechange: includes should be at the top of the source file
...
-Codechange: undefine a defined macro once work is finished, just in case
2008-02-15 17:38:18 +00:00
peter1138
ac5433a924
(svn r12144) -Codechange: Adjust aircraft slowing algorithm so that very fast
...
aircraft slow down more rapidly than slower aircraft. This prevents them
from reaching the end of the runway at high speed, and also stops slow
aircraft from slowing down too much at the start of the runway.
2008-02-15 13:28:13 +00:00
peter1138
d1c741db4c
(svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion.
2008-02-15 11:02:50 +00:00
frosch
4164d2488f
(svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var 0x18, independent of grf version.
2008-02-15 10:52:10 +00:00
frosch
43c0f7ea8e
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14 15:59:16 +00:00
belugas
739b118c6b
(svn r12140) -Codechange: A bit of code style fixes(Geektoo).
2008-02-14 15:13:36 +00:00
peter1138
859d768bb7
(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.
2008-02-14 11:58:36 +00:00
smatz
bb81de3c4c
(svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it
2008-02-14 10:19:16 +00:00
peter1138
3371d02449
(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown.
2008-02-14 07:25:24 +00:00
belugas
539c635efd
(svn r12136) -Fix(r12135): Code style compliance and... code style as such
2008-02-14 03:10:22 +00:00
belugas
81b3652f37
(svn r12135) -Codechange: Road and rail bridge selection windows were identical apart the caption. So remove one window definition and set manually the caption accordingly.
...
-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process. Makes less magic around.
2008-02-14 02:57:38 +00:00
smatz
a0ddc43e92
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
...
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
2008-02-13 19:24:40 +00:00
peter1138
b7cd791988
(svn r12133) -Fix: Vehicle sorting by max speed did not work properly for trains. Instead of trying to work it out again, just use the cached values...
2008-02-13 18:11:19 +00:00
smatz
fd51465c8b
(svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places
2008-02-13 17:54:11 +00:00
smatz
480036254b
(svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train length was limited to 9
2008-02-13 16:49:25 +00:00
smatz
0d1e4237cf
(svn r12130) -Cleanup (r12129): remove now unused strings from all language files
2008-02-13 14:31:13 +00:00
smatz
507728f46b
(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick)
2008-02-13 14:21:36 +00:00
peter1138
df7327b453
(svn r12128) -Codechange: Replace last use of TrainPlayLeaveStationSound(v) with v->PlayLeaveStationSound(), and remove wrapper function.
2008-02-13 09:34:56 +00:00
belugas
6bb9c474dd
(svn r12127) -Codechange: Use a variable instead of calling the same function a few times. Again. Just a different value.
2008-02-13 03:21:19 +00:00
belugas
c95ff294fb
(svn r12126) -Codechange: Use a variable instead of calling the same function a few times
2008-02-13 03:02:02 +00:00
peter1138
63e306006b
(svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially.
2008-02-12 20:14:14 +00:00
frosch
c2bad6d22c
(svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
...
-Fix: Add some variables that were missing in one or both cases.
2008-02-12 15:43:10 +00:00
peter1138
4d0c443953
(svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use.
2008-02-12 13:23:57 +00:00
peter1138
9f6fd72c09
(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo)
2008-02-12 12:54:51 +00:00
peter1138
592e22cc3a
(svn r12120) -Cleanup: const-ify parameters when checking for same cargopacket source.
2008-02-12 11:46:29 +00:00
peter1138
e76f7c9359
(svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere.
2008-02-12 11:08:47 +00:00
belugas
f4334301e8
(svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents
2008-02-12 03:05:27 +00:00
smatz
f19eca0905
(svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size
2008-02-11 20:23:38 +00:00
peter1138
f175e46208
(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec
2008-02-11 19:10:33 +00:00
belugas
cc2b8b574a
(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used.
2008-02-11 17:35:15 +00:00
smatz
1011ac353b
(svn r12109) -Fix [FS#1745](r8973): use tile index 0 for planes in the air, so it cannot have an invalid tile index
2008-02-11 12:42:49 +00:00
peter1138
fb6accfcb7
(svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in GetNearbyTile() was wrong way around.
2008-02-11 11:21:29 +00:00
belugas
4f0e6ab0ea
(svn r12107) -Codechange: Add and use the typedef BridgeType
2008-02-11 04:12:30 +00:00
belugas
d8b3526840
(svn r12106) -Fix(r12105): Kill warnings and raise an error when the transport type is not supported
2008-02-11 03:22:44 +00:00
belugas
9a50fcd281
(svn r12105) -Codechange: Use TransportType instead of guessing what kind of bridge we are preparing to build
2008-02-11 01:06:44 +00:00
smatz
9e0a93d286
(svn r12104) -Fix (r12103): remember loading indicators transparency settings and make in switchable by Ctrl+9
2008-02-10 18:31:33 +00:00
smatz
8a768652c8
(svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings
2008-02-10 15:53:26 +00:00
maedhros
4e839aacf6
(svn r12102) -Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x'. (Roujin)
2008-02-10 14:49:44 +00:00
smatz
e075cf5500
(svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to substract one to be on water border tiles
2008-02-10 14:16:25 +00:00
smatz
ad933e1ddb
(svn r12100) -Fix (r12042): check for water class of surrounding tiles fails for buoys at map borders
2008-02-10 14:00:52 +00:00
smatz
9deab65bae
(svn r12098) -Fix: make snow appear on rail tiles dependant on track height, not on height of the lowest part of the tile
2008-02-10 11:35:05 +00:00
glx
efe831934a
(svn r12097) -Fix (r654, r1525): loading old, pre savegame version 2, savegames.
2008-02-10 05:21:08 +00:00
smatz
d9af979d6a
(svn r12096) -Fix: remove leftover property when loading older savegames
2008-02-09 17:36:21 +00:00
smatz
e3301db213
(svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road.
2008-02-09 17:30:13 +00:00
smatz
802c949755
(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes
2008-02-09 15:07:31 +00:00
smatz
221494bd3f
(svn r12093) -Fix: do not set station owner for buoys when merging company
2008-02-09 12:20:50 +00:00
belugas
cebb86777a
(svn r12092) -Fix(r11532)[FS#1755]: Make sure the production level will not get out of delimited boundaries, while using var result 0D/0E and than multiplying/dividing it.
...
And use multiply/divide operations instead of shifting. It does the same, just adds a bit more readability
2008-02-09 03:12:05 +00:00
belugas
a782ab3903
(svn r12091) -Codechange : remove all production level magic numbers and replace them by enums
2008-02-09 03:03:09 +00:00
belugas
cf9447c15b
(svn r12090) -Codechange : removed a magic number and code style application on enum ExpensesType
2008-02-09 02:49:33 +00:00
smatz
8195e57fd4
(svn r12088) -Fix: assert when loading savegame with wrong tiletype at south map borders
2008-02-08 19:57:56 +00:00
glx
e2de86f951
(svn r12087) -Fix: MSVC warnings
2008-02-08 17:53:01 +00:00
glx
731137678c
(svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries when mapping newgrf entities to 'real' entities
2008-02-08 16:56:52 +00:00
frosch
7b9efcea21
(svn r12085) -Fix(r12058): Road vehicles could get stuck, when NPF told them to reverse on junction tiles. (spotted by SmatZ)
2008-02-08 16:25:55 +00:00
frosch
2173b03144
(svn r12084) -Fix: 'Early retirement'-properties are signed.
2008-02-08 15:34:54 +00:00
belugas
034150c199
(svn r12081) -Codechange: Rename table/roadveh.h to table/roadveh_movment.h
...
It is more descriptive name and it will not upset the generate script anymore
2008-02-07 17:01:06 +00:00
glx
b68f398cac
(svn r12080) -Fix: update waypoint signs when changing language
2008-02-07 16:17:00 +00:00
peter1138
1bcc1927b1
(svn r12079) -Fix: Use search paths when opening console scripts.
2008-02-07 10:01:18 +00:00
glx
eb0d50aaff
(svn r12076) -Fix: when reusing a renamed deleted waypoint, keep the new name
2008-02-07 01:56:39 +00:00
peter1138
a187d92d87
(svn r12075) -Codechange: Remove explicit numbering on command enum, and remove blanks from command list where old commands have been removed.
2008-02-06 23:08:49 +00:00