frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
7 years ago
frosch
1b9139efe8
(svn r27760) -Change: Enable realisitic train and road vehicle acceleration by default.
8 years ago
alberth
597380e099
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
8 years ago
frosch
613212c486
(svn r27320) -Codechange: Do not drop order backups when loading a savegame for replaying.
9 years ago
rubidium
d534c80e94
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
10 years ago
rubidium
f41b55f0ff
(svn r26880) -Add: stub settings for limiting bridge and map height
10 years ago
rubidium
9daf7e749c
(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible
10 years ago
rubidium
982f5a6aa2
(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable
10 years ago
rubidium
0ac2d3b324
(svn r26876) -Codechange: move 'has bride above' data from m6 to type
10 years ago
rubidium
47852f119e
(svn r26875) -Codechange: move TropicZone information from m6 to type
10 years ago
rubidium
04e2324b8f
(svn r26873) -Change: split type_height into a type and height array (ic111)
10 years ago
rubidium
c0771b1657
(svn r26866) -Change: make aircraft ascend/descend when they are too close to the ground or too far away (based on patch by ic111)
10 years ago
rubidium
9e0f4b3847
(svn r26864) -Codechange: bring a bit more OO into the disaster vehicles
10 years ago
rubidium
32c56b5f84
(svn r26819) -Fix [FS#6112] (r26787): trying to delete just loaded objects that had not yet resolved their references caused a crash upon savegame load (only when loading a game from a server, e.g. joining MP)
10 years ago
rubidium
89c25b955e
(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
frosch
41b7a04a68
(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to.
11 years ago
frosch
49852e3dac
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
11 years ago
frosch
b02179bd8e
(svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve.
11 years ago
rubidium
1ffcdbd515
(svn r25954) -Fix [FS#5731]: All semaphores got converted to electric signals when loading savegames from v15 to v20 (adf88)
11 years ago
rubidium
a7fd0f8f5d
(svn r25953) -Fix [FS#5732]: Wrong bits used when converting signal types/variants while loading savegames older than v64 (adf88)
11 years ago
frosch
871519f75a
(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.
11 years ago
zuu
fb5dc7762b
(svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro)
11 years ago
zuu
dfb5663313
(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
11 years ago
frosch
69a0c91d63
(svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M.
11 years ago
frosch
35d7e8bca4
(svn r25833) -Codechange: Move ObjectType from map array into pool item.
11 years ago
frosch
2080a8c16f
(svn r25832) -Codechange: Reduce variety of object type test functions.
11 years ago
zuu
09897c5fd6
(svn r25620) -Fix (r25342): Save/load of story books were broken
11 years ago
rubidium
f9c9ff6ec3
(svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
...
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
11 years ago
fonsinchen
06d95e9123
(svn r25390) -Fix: add missing compatibility settings in afterload.
11 years ago
fonsinchen
3d0a0e8e48
(svn r25358) -Codechange: save and load link graph jobs and the schedule
11 years ago
frosch
5eddbb338b
(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
12 years ago
rubidium
aa2c1ce4b0
(svn r25152) -Fix-ish [FS#5520]: remove stray reservation from savegames affected by FS#5510 et al. upon loading
12 years ago
frosch
30f601d685
(svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter.
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
frosch
d1ab0f03bc
(svn r24790) -Remove: Classic difficulty profiles.
12 years ago
frosch
812ae4140a
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
12 years ago
alberth
732e073261
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
frosch
ce87b8fc63
(svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company.
12 years ago
planetmaker
f2e94237fc
(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)
12 years ago
frosch
0ba2ed7676
(svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION.
12 years ago
frosch
7122602026
(svn r24564) -Fix [FS#5312] (r17433): Limiting the inflation did not quite work.
12 years ago
alberth
5add39d560
(svn r24540) -Codechange: Remove the not-so-useful HALF_TILE_SIZE constant.
12 years ago
michi_cc
f3e295b4ec
(svn r24134) -Add: Configurable limits for tree planting.
13 years ago
michi_cc
6f9668330e
(svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile loop. (monoid)
13 years ago
rubidium
060cac439c
(svn r23942) -Fix: infrastructure cache of standard road stops would get messed up when buying a company with them
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
truebrain
19004a77f8
(svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in
13 years ago
rubidium
20931c5af8
(svn r23694) -Fix (rprev): somehow compilers didn't understand what I meant...
13 years ago
rubidium
a137c838f9
(svn r23693) -Fix [FS#4859]: hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour
13 years ago
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