Difference between revisions of "TTDPatchFlags"

From GRFSpecs
Jump to navigationJump to search
Line 8: Line 8:
 
In the table below you find all the TTDPatch flags that belong to <-+Param-num+-> = 85 in Action 7 & Action 9.
 
In the table below you find all the TTDPatch flags that belong to <-+Param-num+-> = 85 in Action 7 & Action 9.
   
||'''Bit'''|'''Switch (bit set = switch on)'''
+
||'''Bit'''|'''Switch (bit set = switch on)'''|'''Correspondence in OpenTTD'''
   
0C|keepsmallairport
+
0C|keepsmallairport|station.never_expire_airports
   
0D|newairports
+
0D|newairports|1
   
0E|largestations
+
0E|largestations|1
   
0F|longbridges
+
0F|longbridges|construction.longbridges
   
10|loadtime
+
10|loadtime|0
   
12|presignals
+
12|presignals|1
   
13|extpresignals
+
13|extpresignals|1
   
16|enginespersist
+
16|enginespersist|vehicles.never_expire_vehicles
   
1B|multihead
+
1B|multihead|1
   
1D|lowmemory
+
1D|lowmemory|1
   
1E|generalfixes
+
1E|generalfixes|1
   
27|moreairports
+
27|moreairports|economy.station_noise_level
   
28|mammothtrains
+
28|mammothtrains|vehicle.mammoth_trains
   
29|trainrefit
+
29|trainrefit|1
   
2B|subsidiaries
+
2B|subsidiaries|0
   
2C|gradualloading
+
2C|gradualloading|order.gradual_loading
   
32|(Set to bit 0 of unifiedmaglev mode)
+
32|(Set to bit 0 of unifiedmaglev mode)|1 (n/a)
   
33|(Set to bit 1 of unifiedmaglev mode)
+
33|(Set to bit 1 of unifiedmaglev mode)|1 (n/a)
   
34|bridgespeedlimits
+
34|bridgespeedlimits|1
   
36|eternalgame
+
36|eternalgame|1
   
37|newtrains
+
37|newtrains|1
   
38|newrvs
+
38|newrvs|1
   
39|newships
+
39|newships|1
   
3A|newplanes
+
3A|newplanes|1
   
3B|signalsontrafficside
+
3B|signalsontrafficside|consruction.signal_side
   
3C|electrifiedrailway
+
3C|electrifiedrailway|vehicle.disable_elrails
   
41 *|loadallgraphics
+
41 *|loadallgraphics|1
   
43|semaphores
+
43|semaphores|1
   
4A|newobjects (since r2364)
+
4A|newobjects (since r2364)|1
   
4B|enhancegui
+
4B|enhancegui|0
   
4C|newagerating
+
4C|newagerating|0
   
4D|buildonslopes
+
4D|buildonslopes|construction.build_on_slopes
   
4E|fullloadany
+
4E|fullloadany|1
   
4F|planespeed
+
4F|planespeed|1
   
50 *|moreindustriesperclimate
+
50 *|moreindustriesperclimate|0
   
51|moretoylandfeatures
+
51|moretoylandfeatures|0
   
52|newstations
+
52|newstations|1
   
53|tracktypecostdiff
+
53|tracktypecostdiff|1
   
54|manualconvert
+
54|manualconvert|1
   
55|buildoncoasts
+
55|buildoncoasts|construction.build_on_slopes
   
56|canals
+
56|canals|1
   
57|newstartyear
+
57|newstartyear|1
   
58|freighttrains
+
58|freighttrains|vehicle.freight_trains > 1
   
59|newhouses
+
59|newhouses|1
   
5A|newbridges
+
5A|newbridges|1
   
5B|newtownnames
+
5B|newtownnames|1
   
5C|moreanimation
+
5C|moreanimation|1
   
5D|wagonspeedlimits
+
5D|wagonspeedlimits|vehicle.wagon_speed_limits
   
5E|newshistory
+
5E|newshistory|1
   
5F+|custombridgeheads
+
5F|custombridgeheads|0
   
60|newcargodistribution
+
60|newcargodistribution|0
   
61|windowsnap
+
61|windowsnap|1
   
62|townbuildnoroads
+
62|townbuildnoroads|not (economy.allow_town_roads or _generating_world)
   
63|pathbasedsignalling
+
63|pathbasedsignalling|1
   
64|aichoosechances
+
64|aichoosechances|0
   
65|resolutionwidth
+
65|resolutionwidth|1
   
66|resolutionheight
+
66|resolutionheight|1
   
67|newindustries
+
67|newindustries|1
   
68|fifoloading
+
68|fifoloading|order.improved_load
   
69|townroadbranchprob
+
69|townroadbranchprob|0
   
6A +|tempsnowline
+
6A|tempsnowline|0
   
6B|newcargos
+
6B|newcargos|1
   
6C|enhancemultiplayer
+
6C|enhancemultiplayer|1
   
6D|onewayroads
+
6D|onewayroads|1
   
6E|irregularstations
+
6E|irregularstations|station.nonuniform_stations
   
6F|morestatistics
+
6F|morestatistics|1
   
70|newsounds
+
70|newsounds|1
   
71|autoreplace
+
71|autoreplace|1
   
72|autoslope
+
72|autoslope|1
   
73|followvehicle
+
73|followvehicle|0
   
74|trams
+
74|trams|1
   
75|enhancetunnels
+
75|enhancetunnels|0
   
76|shortrvs
+
76|shortrvs|1
   
77|articulatedrvs
+
77|articulatedrvs|1
   
78|dynamicengines (OpenTTD, since r12924)
+
78|dynamicengines|vehicle.dynamic_engines, since r12924
   
7E|variablerunningcosts (since r1421)
+
7E|variablerunningcosts (since r1421)|1
   
7F|set if any switches are on||
+
7F|set if any switches are on|1||
   
 
<nowiki><nowiki>* loadallgraphics is obsolete (and its bit unused) since revision 401. The next official versions were the 5/Jun/2006 nightly (402) and 2.5 beta 6 (472)</nowiki></nowiki>
 
<nowiki><nowiki>* loadallgraphics is obsolete (and its bit unused) since revision 401. The next official versions were the 5/Jun/2006 nightly (402) and 2.5 beta 6 (472)</nowiki></nowiki>
   
 
<nowiki><nowiki><nowiki>*</nowiki> moreindustriesperclimate is obsolete (and its bit unused) since 2.5 beta 2.</nowiki></nowiki>
 
<nowiki><nowiki><nowiki>*</nowiki> moreindustriesperclimate is obsolete (and its bit unused) since 2.5 beta 2.</nowiki></nowiki>
 
<nowiki><nowiki>+ not supported in OpenTTD (it always returns 0)
 

Revision as of 15:32, 14 January 2011

TTDPatch Flags for Action 7/9 Variable 85

TTDPatch Flags for Action 7/9 Variable 85

Additional Information

In the table below you find all the TTDPatch flags that belong to <-+Param-num+-> = 85 in Action 7 & Action 9.

||Bit|Switch (bit set = switch on)|Correspondence in OpenTTD

0C|keepsmallairport|station.never_expire_airports

0D|newairports|1

0E|largestations|1

0F|longbridges|construction.longbridges

10|loadtime|0

12|presignals|1

13|extpresignals|1

16|enginespersist|vehicles.never_expire_vehicles

1B|multihead|1

1D|lowmemory|1

1E|generalfixes|1

27|moreairports|economy.station_noise_level

28|mammothtrains|vehicle.mammoth_trains

29|trainrefit|1

2B|subsidiaries|0

2C|gradualloading|order.gradual_loading

32|(Set to bit 0 of unifiedmaglev mode)|1 (n/a)

33|(Set to bit 1 of unifiedmaglev mode)|1 (n/a)

34|bridgespeedlimits|1

36|eternalgame|1

37|newtrains|1

38|newrvs|1

39|newships|1

3A|newplanes|1

3B|signalsontrafficside|consruction.signal_side

3C|electrifiedrailway|vehicle.disable_elrails

41 *|loadallgraphics|1

43|semaphores|1

4A|newobjects (since r2364)|1

4B|enhancegui|0

4C|newagerating|0

4D|buildonslopes|construction.build_on_slopes

4E|fullloadany|1

4F|planespeed|1

50 *|moreindustriesperclimate|0

51|moretoylandfeatures|0

52|newstations|1

53|tracktypecostdiff|1

54|manualconvert|1

55|buildoncoasts|construction.build_on_slopes

56|canals|1

57|newstartyear|1

58|freighttrains|vehicle.freight_trains > 1

59|newhouses|1

5A|newbridges|1

5B|newtownnames|1

5C|moreanimation|1

5D|wagonspeedlimits|vehicle.wagon_speed_limits

5E|newshistory|1

5F|custombridgeheads|0

60|newcargodistribution|0

61|windowsnap|1

62|townbuildnoroads|not (economy.allow_town_roads or _generating_world)

63|pathbasedsignalling|1

64|aichoosechances|0

65|resolutionwidth|1

66|resolutionheight|1

67|newindustries|1

68|fifoloading|order.improved_load

69|townroadbranchprob|0

6A|tempsnowline|0

6B|newcargos|1

6C|enhancemultiplayer|1

6D|onewayroads|1

6E|irregularstations|station.nonuniform_stations

6F|morestatistics|1

70|newsounds|1

71|autoreplace|1

72|autoslope|1

73|followvehicle|0

74|trams|1

75|enhancetunnels|0

76|shortrvs|1

77|articulatedrvs|1

78|dynamicengines|vehicle.dynamic_engines, since r12924

7E|variablerunningcosts (since r1421)|1

7F|set if any switches are on|1||

<nowiki>* loadallgraphics is obsolete (and its bit unused) since revision 401. The next official versions were the 5/Jun/2006 nightly (402) and 2.5 beta 6 (472)</nowiki>

<nowiki><nowiki>* moreindustriesperclimate is obsolete (and its bit unused) since 2.5 beta 2.</nowiki></nowiki>