Jonathan G Rennison
5770f1407a
Signals on bridges: Shrink M2 simulated signal states field
2018-07-02 18:29:10 +01:00
Jonathan G Rennison
d03139b241
Use separate bits for signals on bridge/tunnel entrance/exit red/green states
2018-06-17 04:01:31 +01:00
Jonathan G Rennison
def3a3933b
Move dual-use of load_unload_ticks for bridge/tun signals to new field
2018-03-26 18:40:05 +01:00
Jonathan G Rennison
0d2e9f91bf
Adjust signal on bridge/tunnel map bits, rename accessors, add docs.
...
Use same bit to store red/green state for entrances and exits.
No longer re-use exit bit to store red/green state of entrance.
Avoid modifying the M2 of tunnel entrances/exits.
Rename and rationalise map accessor functions.
Document bits used in landscape HTML docs.
2016-09-18 20:06:39 +01:00
Jonathan G Rennison
888cd1be07
Merge branch 'cpp-11' into signal_tunnels_bridges
...
# Conflicts:
# src/saveload/saveload.cpp
2016-09-11 13:16:54 +01:00
alberth
a959c0c965
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
2016-09-04 12:57:43 +00:00
Jonathan G Rennison
83f6463a6f
Bump version, set semaphore/pbs/exit sig state on upgrade.
2016-02-21 12:11:25 +00:00
frosch
c5a4b89915
(svn r27320) -Codechange: Do not drop order backups when loading a savegame for replaying.
2015-06-27 11:46:41 +00:00
rubidium
0c2f4bdc2b
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
ab3660278a
(svn r26880) -Add: stub settings for limiting bridge and map height
2014-09-21 11:27:34 +00:00
rubidium
dc2b4f2498
(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible
2014-09-21 11:24:51 +00:00
rubidium
f3b79480ed
(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable
2014-09-21 11:23:33 +00:00
rubidium
173a234951
(svn r26876) -Codechange: move 'has bride above' data from m6 to type
2014-09-21 11:20:11 +00:00
rubidium
f82c07b582
(svn r26875) -Codechange: move TropicZone information from m6 to type
2014-09-21 11:18:10 +00:00
rubidium
337af973b0
(svn r26873) -Change: split type_height into a type and height array (ic111)
2014-09-21 11:14:58 +00:00
rubidium
39ded38c01
(svn r26866) -Change: make aircraft ascend/descend when they are too close to the ground or too far away (based on patch by ic111)
2014-09-21 06:35:34 +00:00
rubidium
8ab4f746f2
(svn r26864) -Codechange: bring a bit more OO into the disaster vehicles
2014-09-20 15:46:44 +00:00
rubidium
c225276a7a
(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)
2014-09-14 15:11:33 +00:00
rubidium
fb9dbf30fa
(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)
2014-05-11 18:02:11 +00:00
rubidium
2be4215f43
(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
2014-04-23 20:13:33 +00:00
frosch
eb6974179d
(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.
2014-02-07 23:48:56 +00:00
frosch
74916a103e
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
2013-12-23 18:09:29 +00:00
frosch
7fcae50579
(svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve.
2013-12-22 11:55:07 +00:00
rubidium
8a419c7f46
(svn r25954) -Fix [FS#5731]: All semaphores got converted to electric signals when loading savegames from v15 to v20 (adf88)
2013-11-08 21:27:56 +00:00
rubidium
7b8ad4dc3b
(svn r25953) -Fix [FS#5732]: Wrong bits used when converting signal types/variants while loading savegames older than v64 (adf88)
2013-11-08 21:25:35 +00:00
frosch
336dc88c19
(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.
2013-10-13 10:51:58 +00:00
zuu
27b153d16a
(svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro)
2013-10-12 22:23:43 +00:00
zuu
e124838db5
(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)
2013-10-12 22:07:58 +00:00
frosch
f794b9786f
(svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M.
2013-10-12 16:35:50 +00:00
frosch
d9d978d6d2
(svn r25833) -Codechange: Move ObjectType from map array into pool item.
2013-10-12 16:30:42 +00:00
frosch
478500abbc
(svn r25832) -Codechange: Reduce variety of object type test functions.
2013-10-12 16:30:22 +00:00
zuu
4b036690e2
(svn r25620) -Fix (r25342): Save/load of story books were broken
2013-07-21 13:18:45 +00:00
rubidium
1cf6dad8f2
(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)
2013-06-29 09:47:18 +00:00
fonsinchen
f509032ca0
(svn r25390) -Fix: add missing compatibility settings in afterload.
2013-06-10 21:30:31 +00:00
fonsinchen
111ecddb50
(svn r25358) -Codechange: save and load link graph jobs and the schedule
2013-06-09 13:02:05 +00:00
frosch
c5d7445704
(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-04-13 13:42:08 +00:00
rubidium
7aefa8527c
(svn r25152) -Fix-ish [FS#5520]: remove stray reservation from savegames affected by FS#5510 et al. upon loading
2013-04-06 18:30:45 +00:00
frosch
789e4a8998
(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.
2013-03-22 21:27:13 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
76fef0843c
(svn r24790) -Remove: Classic difficulty profiles.
2012-12-05 19:36:41 +00:00
frosch
9ef1c5f4c3
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
2012-12-05 19:36:04 +00:00
alberth
19adc87262
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
2012-12-01 13:12:39 +00:00
frosch
6af105dc6b
(svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company.
2012-11-12 20:14:08 +00:00
planetmaker
f46b2fd4b3
(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)
2012-10-20 22:05:26 +00:00
frosch
c3fe49c958
(svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION.
2012-10-01 19:31:55 +00:00
frosch
aea90e69f6
(svn r24564) -Fix [FS#5312] (r17433): Limiting the inflation did not quite work.
2012-10-01 19:29:31 +00:00
alberth
670c364323
(svn r24540) -Codechange: Remove the not-so-useful HALF_TILE_SIZE constant.
2012-09-21 20:31:06 +00:00
michi_cc
07f32df363
(svn r24134) -Add: Configurable limits for tree planting.
2012-04-17 19:43:52 +00:00
michi_cc
2eae02db59
(svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile loop. (monoid)
2012-04-17 19:43:43 +00:00
rubidium
61ce522bfa
(svn r23942) -Fix: infrastructure cache of standard road stops would get messed up when buying a company with them
2012-02-13 17:18:20 +00:00