rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
rubidium
2bf0fc3c5c
(svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors
13 years ago
michi_cc
d30fcd4e35
(svn r23411) -Add: Company infrastructure counts for rail.
13 years ago
michi_cc
6083d6ffb4
(svn r23410) -Add: A window with a detailed overview over the infrastructure of a company.
13 years ago
terkhen
59d8b0204f
(svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for each town (michi_cc).
13 years ago
peter1138
81598273e9
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
13 years ago
truebrain
bd3fd1171e
(svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting)
13 years ago
michi_cc
4d2a9e384c
(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
13 years ago
yexo
5c838ff1c3
(svn r23168) -Feature [FS#1824]: always draw fences around field tiles
13 years ago
rubidium
2ed0f93bfb
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
13 years ago
rubidium
7757a2ed40
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
rubidium
47c5d30b5d
(svn r23084) -Codechange: get rid of a redundant variable
13 years ago
yexo
e98be8ed24
(svn r23083) -Fix: run StartupEngines() if NewGRFs changed during loading a savegame, just like it's running when NewGRFs are changed during a game
13 years ago
frosch
b78a459613
(svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad().
13 years ago
frosch
570da01d3a
(svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88)
13 years ago
terkhen
729d786d5e
(svn r22573) -Fix (r22567): Fix operator precedence.
13 years ago
terkhen
00e5c1df18
(svn r22567) -Codechange: Store persistent storages inside a pool.
13 years ago
terkhen
5bb79b1f46
(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.
14 years ago
planetmaker
43c8cd1d5e
(svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added
14 years ago
smatz
58c7f5c497
(svn r22129) -Codechange: use simpler check to test if there any towns in the game
14 years ago
yexo
296af35741
(svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train
14 years ago
frosch
b7713a7e85
(svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders.
14 years ago
smatz
887a7724dc
(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
14 years ago
rubidium
faf5d899f7
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
14 years ago
alberth
4364cec392
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
14 years ago
frosch
ef3ec0f8c8
(svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool.
14 years ago
alberth
bdf5a1c2f7
(svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window.
14 years ago
rubidium
0fe0225751
(svn r21962) -Feature-ish: GUI setting to disable reversing at signals
14 years ago
smatz
3bfad0243b
(svn r21947) -Fix (r21195): crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there
14 years ago
smatz
54161949d1
(svn r21942) -Codechange: no need to convert GOINGUP/GOINGDOWN flags if they are cleared afterwards during savegame conversion
14 years ago
planetmaker
0364726bbb
(svn r21940) -Fix [FS#4460]: Not all vehicles should be tested to be inside a tunnel upon savegame load (SmatZ)
14 years ago
frosch
a97d52a29a
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
...
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
14 years ago
rubidium
67a5cd0b18
(svn r21932) -Document: some tidbits related to vehicles
14 years ago
smatz
2a2363e819
(svn r21881) -Codechange: ensure that vehicle's GOINGUP/DOWN bits are set correctly and that it has correct z_pos when converting from older savegames
14 years ago
terkhen
b5468e7a80
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
14 years ago
rubidium
85255ea001
(svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well
14 years ago
smatz
110e25e859
(svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames
14 years ago
smatz
c53c869556
(svn r21786) -Fix [FS#4398]: don't trust rail station width and height data stored by TTDPatch, it is invalid for stations wider or higher than 7
14 years ago
rubidium
eab47d2227
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
terkhen
2103f7e91a
(svn r21718) -Feature: Show a list of companies in the owner legend.
14 years ago
smatz
e7971c2971
(svn r21657) -Cleanup (r17107): remove superfluous semicolon
14 years ago
terkhen
79e2b3153d
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
14 years ago
rubidium
49a77e89c4
(svn r21504) -Codechange: move the "lost" bit from the train's flags to vehicle flags
14 years ago
rubidium
e5b456f289
(svn r21382) -Fix (r21153) [FS#4290]: the road vehicle's frame wasn't properly set upon savegame conversion *if* the vehicle would be hidden, but isn't going to be hidden anymore after the conversion
14 years ago
rubidium
33e3d7f6a2
(svn r21299) -Fix (r21263): a road vehicle in a depot or wormhole could get into an incorrect state upon savegame conversion causing it to break up later in the game
14 years ago
alberth
3e27739287
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
14 years ago
alberth
edef25d30c
(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore().
14 years ago
rubidium
097880c5e2
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
14 years ago
rubidium
d572100585
(svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing
14 years ago
alberth
f22fb0d53d
(svn r21171) -Change: Reset industry build data at game start or load.
14 years ago
rubidium
395335c197
(svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
14 years ago
terkhen
6a38925ca3
(svn r21123) -Codechange: Remove max_speed from the Vehicle class.
14 years ago
rubidium
97dbb1f27d
(svn r20819) -Fix [FS#3714]: be a bit more "lenient" w.r.t. invalid savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted
14 years ago
rubidium
5b733f88a8
(svn r20818) -Fix [FS#3791]: make the crash-on-saveload message clearer and more correct
14 years ago
rubidium
af18c30f30
(svn r20816) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
14 years ago
yexo
7b0fd807fb
(svn r20717) -Fix [FS#4103]: water class was not set for stations
14 years ago
rubidium
e0ba6550d2
(svn r20658) -Codechange: add the colour of an object to the object instance
14 years ago
rubidium
bd48893478
(svn r20656) -Codechange: implement counting of objects
14 years ago
rubidium
8522984840
(svn r20634) -Fix (r20592): gracefully do the date_fract format conversion when an older OpenTTD savegame which loaded an ancient savegame still has the old date_fract "format".
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
4efa2efdbb
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
14 years ago
rubidium
7f86dcca90
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
14 years ago
rubidium
29e02728e1
(svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range
14 years ago
rubidium
56a263070f
(svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all
14 years ago
yexo
afb60ec59c
(svn r20528) -Fix: in old savegames aircraft can have an invalid state
14 years ago
rubidium
89b2b9370a
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
14 years ago
rubidium
ab5b0ceff2
(svn r20446) -Codechange: unify the location of the water class
14 years ago
rubidium
3da3d131c6
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
14 years ago
yexo
f8b7163b34
(svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid
14 years ago
rubidium
3bfe26c69d
(svn r20337) -Codechange: unify the construction of objects on the map
14 years ago
rubidium
ffedcc6533
(svn r20335) -Codechange: change the name of some unmovable map accessors
14 years ago
rubidium
f44c51577b
(svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
e809c05099
(svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds
14 years ago
rubidium
52154e097c
(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account
14 years ago
frosch
e931399b31
(svn r20005) -Codechange: Enumify force_proceed.
14 years ago
yexo
9cfb61adf5
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
14 years ago
frosch
641fc68aa8
(svn r19971) -Codechange: Make IsGoodGRFConfigList() operate on any given GRFConfig and move the GameLog operations directly to AfterLoad().
15 years ago
frosch
1d3adb2b66
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
15 years ago
frosch
9db3cde73a
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
15 years ago
smatz
911061ac38
(svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h
15 years ago
rubidium
93ff7d78e1
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
15 years ago
frosch
5b77a63ecf
(svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone.
15 years ago
terkhen
1d60eac168
(svn r19715) -Codechange: Rename all appareances of shiplift to lock.
15 years ago
yexo
c4a88ce022
(svn r19455) -Codechange: split all airport information in Station to a seperate class
15 years ago
Yexo
dfa528d058
(svn r19395) -Fix [FS#3669]: the AI Debug window didn't open if an AI or library fails to compile when loading a savegame
15 years ago
yexo
22081cbd19
(svn r19382) -Fix (r19381): don't break savegame version 139
15 years ago
yexo
0cf90dbeb0
(svn r19380) -Fix [FS#3678] (r19322): updating the id of the oilrig airport should be done earlier as it can be used by newgrf code
15 years ago
terkhen
4e6cac84d6
(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
...
-Codechange: Move GetSlopeResistance to GroundVehicle.
15 years ago
yexo
308781664b
(svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9
15 years ago
yexo
a9c8dbc0a0
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
15 years ago
yexo
698737f485
(svn r19198) -Codechange: store the size of stations in savegames
15 years ago
yexo
388c713f08
(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
15 years ago
rubidium
251ffaa000
(svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report
15 years ago
rubidium
aaf0b4b46c
(svn r18812) -Codechange: make some functions in train.h functions of Train.
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
e4af35d316
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
15 years ago
yexo
b378e82676
(svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
15 years ago
rubidium
fbfcbe06ec
(svn r18515) -Change: make it visible when you're to pass the next signal on danger and possible to cancel it
...
-Fix [FS#2891]: when you pass a signal at danger, in a PBS controlled area, don't try to do the 'safe' thing and stop, but continue going; the user wanted the train to pass the signal at danger so (s)he has to suffer the consequences. Ofcourse one can always stop the train manually.
15 years ago
rubidium
3e6c530e1e
(svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error.
15 years ago
rubidium
0e78fdb54c
(svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
15 years ago
rubidium
fac2f8ce1a
(svn r18404) -Codechange: link drive through stops better together
...
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
15 years ago
rubidium
aa40d8e3ad
(svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop
15 years ago
rubidium
0ef0e13795
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
15 years ago
rubidium
9426f2b173
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
15 years ago
rubidium
f52e27c688
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
15 years ago
rubidium
3a83eab967
(svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future
15 years ago
rubidium
36a20894aa
(svn r18141) -Fix (r18051): one couldn't (easily) continue a game in single player that was 'not enough players'/'waiting on join'-paused
15 years ago
smatz
1165817cf2
(svn r17879) -Codechange: convert awarded pax subsidies from old savegames using simple heuristic (instead of deleting them)
15 years ago
rubidium
06c55863ca
(svn r17817) -Codechange: MakeWater actually made sea tiles, so rename it to MakeSea and unduplicate the code to make sea, rivers and canals.
15 years ago
rubidium
9696e3e39b
(svn r17816) -Codechange: move the CargoList invalidation-after-saveload to the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up
15 years ago
rubidium
4ad30fecde
(svn r17806) -Codechange: split CargoPacket's 'afterload' to a separate function
15 years ago
rubidium
138e7233bc
(svn r17800) -Codechange: first steps into making CargoList a template
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
afed4330da
(svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers.
15 years ago
rubidium
ca91a97826
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
15 years ago
rubidium
55ddce8da2
(svn r17493) -Codechange: store the depot index on the map
15 years ago
rubidium
bb94724a09
(svn r17492) -Codechange: don't store the town index for road depots.
15 years ago
smatz
22e9d59559
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
15 years ago
frosch
438a429549
(svn r17433) -Codechange: Store cumulated inflation in savegame and compute all prices from that instead of storing all prices separately.
...
Note: Savegame conversion computes the inflation from max loan. Prices from modified savegames will get lost. TTO savegames will also behave slightly different.
-Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart.
15 years ago
smatz
ee685c8287
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
15 years ago
yexo
f548a1b3b3
(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started
15 years ago
rubidium
31a6ce5643
(svn r17267) -Change [FS#3139]: mention the MD5 checksum of the original NewGRF in the "saveload failed horribly"-error message and make it more clear that the filename is of the current NewGRF
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
yexo
a8773bba2d
(svn r17215) -Cleanup: remove unused return value
15 years ago
smatz
13e23141b4
(svn r17124) -Codechange: store subsidies in a pool (instead of an array)
15 years ago
smatz
046be0a199
(svn r17119) -Codechange: replace constants in subsidy.cpp by enum values
15 years ago
smatz
2a430d981f
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
...
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
15 years ago
smatz
74d3382b94
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
5592eb4955
(svn r16993) -Change: make the rail waypoint builder draggable
15 years ago
rubidium
2dd998ab06
(svn r16962) -Codechange: more work towards multi tile waypoints
15 years ago
rubidium
7440ec7a73
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
15 years ago
rubidium
cf38a5bee6
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
15 years ago
rubidium
2c6b5237f6
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
15 years ago
smatz
13a7c550ad
(svn r16916) -Fix (r16909): station acceptance was reset after game load
15 years ago
rubidium
68ead6b84f
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
...
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
15 years ago
rubidium
2646a99d29
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
15 years ago
rubidium
ed5ced71c8
(svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too
15 years ago
smatz
af13707e00
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
15 years ago
rubidium
8c17c6cb2b
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
rubidium
06ea681b5f
(svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints
15 years ago
smatz
57d3d4ce5e
(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed
15 years ago
rubidium
9933df9d89
(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.
15 years ago
rubidium
a007d609af
(svn r16854) -Fix (r2046): savegames from before this version would get the town id as their 'index' (#<num). For stations with custom names that custom name would be dropped and the lowest 6 bits of the StringID would be used for the 'index'. In other words, it resulted in a mess.
15 years ago
rubidium
665fa7f9c1
(svn r16851) -Codechange: use StationSpecList in waypoint too
15 years ago
rubidium
dea1144bcb
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
rubidium
e067d4a4b8
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
smatz
b6960e4e17
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
15 years ago
smatz
95c7993451
(svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected
15 years ago
rubidium
3b8d0621a2
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
15 years ago
rubidium
4d14c1b534
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
15 years ago
smatz
ecfaa0564d
(svn r16718) -Codechange: make IsFreeWagon() member of Train
15 years ago
smatz
adc5363202
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
smatz
76a50ce94d
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
f4d0d94184
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
15 years ago
smatz
023f78b5ff
(svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames
15 years ago
rubidium
927c4a0fe8
(svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated
15 years ago
rubidium
985608c713
(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
...
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
15 years ago
smatz
e6a165881c
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
15 years ago
smatz
fa1ad0fd3c
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
15 years ago
smatz
8343340acb
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
15 years ago
rubidium
2a7b07137a
(svn r16572) -Codechange: also catch FPEs in saveload and the warning about missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing.
16 years ago
smatz
5a6bb53894
(svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks
16 years ago
smatz
0c10006907
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
16 years ago
frosch
5b497d6b49
(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost.
16 years ago
smatz
5a463c8347
(svn r16442) -Codechange: use new Vehicle accessors at more places
16 years ago
smatz
7ee882d03f
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
16 years ago
yexo
0d56cfabfa
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
16 years ago
smatz
7854e68b95
(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted
16 years ago
rubidium
c4b627af42
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
16 years ago
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
5fe906e149
(svn r16351) -Fix (r14773): signal handler could end in endless loop
16 years ago
smatz
0af27062c4
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
rubidium
2664f2a2d9
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium
5790293af6
(svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
16 years ago
peter1138
3abddfe705
(svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary.
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
smatz
7c8474da13
(svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile
16 years ago
rubidium
7831346ef8
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
...
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
smatz
3fdac6f702
(svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
smatz
832e392855
(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
...
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
belugas
3671ed9e4f
(svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data
16 years ago
smatz
6dffd8ae82
(svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter
16 years ago
Yexo
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago