Skip to content

Commit

Permalink
Add: Constants and varact2 variable associated with road waypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Apr 24, 2024
1 parent 448b440 commit 266cb38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nml/actions/action2var_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,8 @@ def industry_cargotype(name, args, pos, info):

'animation_frame' : {'var': 0x49, 'start': 0, 'size': 8},

'drawn_in_gui' : {'var': 0x50, 'start': 4, 'size': 1},

'waiting_triggers' : {'var': 0x5F, 'start': 0, 'size': 8},
'random_bits' : {'var': 0x5F, 'start': 8, 'size': 24},
'random_bits_tile' : {'var': 0x5F, 'start': 24, 'size': 8},
Expand Down
3 changes: 3 additions & 0 deletions nml/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,16 +1152,19 @@ def constant_number(name, info, pos):

"RST_TYPE_BUS" : 0,
"RST_TYPE_TRUCK" : 1,
"RST_TYPE_WAYPOINT" : 2,

"RST_DRAW_FLAG_BAY_ROAD" : 0,
"RST_DRAW_FLAG_DRIVE_THROUGH_ROAD_OVERLAY" : 1,
"RST_DRAW_FLAG_WAYPOINT_GROUND" : 2,

"RST_GENERAL_FLAG_RANDOM_ANIMATION" : 0,
"RST_GENERAL_FLAG_NO_CATENARY" : 2,
"RST_GENERAL_FLAG_DRIVE_THROUGH_ONLY" : 3,
"RST_GENERAL_FLAG_NO_AUTO_ROAD_CONNECTION" : 4,
"RST_GENERAL_FLAG_BUILD_MENU_ROAD_ONLY" : 5,
"RST_GENERAL_FLAG_BUILD_MENU_TRAM_ONLY" : 6,
"RST_GENERAL_FLAG_DRAW_MODE_REGISTER" : 8,

"RST_VIEW_BAY_NE" : 0,
"RST_VIEW_BAY_SE" : 1,
Expand Down

0 comments on commit 266cb38

Please sign in to comment.