Kp
636e1b6d5e
Use enumerated_array for unique_side::uvls
2022-01-15 20:39:10 +00:00
Kp
dc2e86760e
Use enumerated_array for Side_opposite
2022-01-15 20:39:10 +00:00
Kp
f47a2c9f0d
Convert Side_to_verts to enumerated_array<..., sidenum_t>
2022-01-09 15:25:42 +00:00
Kp
6cdc181218
Use enum class for segment_relative_vertnum
2022-01-09 15:25:42 +00:00
Kp
3da988708e
Change Side_opposite value_type to sidenum_t
2021-11-01 03:37:20 +00:00
Kp
6467929025
Consolidate Side_to_verts and Side_to_verts_int
...
They have been the same variable since
a8c3a7f10b
("Alias Side_to_verts to
Side_to_verts_int").
2021-11-01 03:37:20 +00:00
Dmitry Grigoryev
fbd05a1592
optimize include files (include what you use)
2021-02-06 21:38:50 +01:00
Kp
faa4d2ce34
Use enum class for vertnum_t
2020-12-26 21:17:29 +00:00
Kp
038c6aef4d
Move d_level_unique_object_state to a separate header
...
This is required to untangle the cross-inclusion of object.h and
morph.h.
2020-08-10 03:45:14 +00:00
Kp
a4f2edfaa9
Move LevelSharedVertexState into d_level_shared_segment_state
2020-05-17 23:35:25 +00:00
Kp
53761500f1
Qualify uses of std::array
2020-05-02 21:18:42 +00:00
Kp
714c13b3c1
Move WallAnims into d_game_shared_state
2020-04-04 19:30:22 +00:00
Kp
2daf788b34
Move transition_segnum to d_player_unique_endlevel_state
...
transition_segnum is a function of how the player exited the mine, since
there could be multiple exit tunnels, although current code appears not
to handle that well in other places. Therefore, it needs to be
per-player data, not part of the level data, where it would not depend
on the player exiting.
2019-08-15 01:34:22 +00:00
Kp
9bafdc9078
Move Death_sequence_aborted to d_game_view_unique_state
2019-08-15 01:34:22 +00:00
Kp
9689a7f7d2
Move Base_control_center_explosion_time to d_level_shared_control_center_state
2019-08-15 01:34:22 +00:00
Kp
b8fa75c8cb
Move Level_shake_frequency to d_level_shared_seismic_state
2019-08-06 02:59:41 +00:00
Kp
184337e6e1
Move Seismic_disturbance_end_time to d_level_unique_seismic_state
2019-08-06 02:59:40 +00:00
Kp
ef0e64d421
Move awareness events to d_level_unique_robot_awareness_state
2019-08-06 02:59:40 +00:00
Kp
3d8c02fefa
Move Final_boss_is_dead to d_game_unique_state
2019-08-06 02:59:40 +00:00
Kp
de77d2412b
Move Automap_visited to d_level_unique_automap_state
2019-08-06 02:59:40 +00:00
Kp
595c3ca086
Move Boss_cloak_interval to d_level_shared_boss_state
2019-07-13 22:28:57 +00:00
Kp
0c7de10512
Track chosen pilot name outside Players[]
...
Players need not be defined outside a game, but the pilot's name needs
to be available outside a game. Therefore, track it outside Players[].
2019-07-07 22:00:02 +00:00
Kp
1eaaff3016
Move Difficulty_level to GameUniqueState
2019-06-27 03:26:20 +00:00
Kp
bea95ce1df
Reset definedness of per-game globals on new game
2019-06-27 03:26:20 +00:00
Kp
cc248602fd
Track headlights in d_level_unique_light_state
2019-04-13 18:00:07 +00:00
Kp
699030606e
Move Effects to d_level_unique_effects_clip_state
2019-03-03 00:31:09 +00:00
Kp
1008ab397e
Move Objects to d_level_unique_object_state
2019-03-03 00:31:08 +00:00
Kp
d7e85e0cff
Move Boss_gate_segs, Boss_teleport_segs to d_level_shared_boss_state
2019-02-02 18:36:39 +00:00
Kp
943e0a8b5f
Move Station to d_level_unique_fuelcenter_state
2019-02-02 18:36:39 +00:00
Kp
919580eaa9
Move RobotCenters to d_level_shared_robotcenter_state
2019-02-02 18:36:39 +00:00
Kp
a02ad8b164
Move Robot_joints to d_level_shared_robot_joint_state
2018-12-30 00:43:59 +00:00
Kp
1f18db3c39
Move TmapInfo to d_level_unique_tmap_info_state
2018-12-30 00:43:59 +00:00
Kp
e84a65edc6
Move Robot_info into LevelSharedRobotInfoState
2018-12-30 00:43:59 +00:00
Kp
03fe3a6696
Move Polygon_models into LevelSharedPolygonModelState
2018-12-30 00:43:59 +00:00
Kp
4c7555216a
Move Dynamic_light into LevelUniqueLightState
2018-12-30 00:43:58 +00:00
Kp
6ee28c3fe0
Move Triggers to d_level_unique_trigger_state
2018-12-30 00:43:58 +00:00
Kp
4b125af449
Move ActiveDoors to d_level_unique_active_door_state
2018-12-30 00:43:58 +00:00
Kp
865bad8607
Move CloakingWalls to d_level_unique_cloaking_wall_state
2018-12-30 00:43:58 +00:00
Kp
9be3c8e2e8
Move Walls into d_level_unique_wall_state
2018-12-30 00:43:58 +00:00
Kp
b3cd7588ef
Move Delta_lights into d_level_shared_destructible_light_state
2018-12-30 00:43:58 +00:00
Kp
46644b4e91
Move Dl_indices into d_level_shared_destructible_light_state
2018-12-30 00:43:58 +00:00
Kp
040de5b10e
Rename ObjectState to LevelUniqueObjectState for consistency
2018-12-30 00:43:57 +00:00
Kp
1a5844e218
Move Vertices out of global scope
2018-12-30 00:43:57 +00:00
Kp
65225680c1
Move Num_vertices into d_level_shared_vertex_state
2018-12-30 00:43:57 +00:00
Kp
aa9e6da297
Pass Dl_indices as context
2018-12-30 00:43:57 +00:00
Kp
f7ad4d9b1a
Pass segments to find_point_seg
2018-09-19 02:13:30 +00:00
Kp
01512015a8
Move Num_segments to new d_level_shared_segment_state
2018-09-19 02:13:29 +00:00
Kp
93789f0666
Use valptridx for Dl_indices
2018-06-06 04:53:45 +00:00
Kp
6ab28cb8cb
Use enum for Difficulty_level
2018-05-12 18:24:19 +00:00
Kp
c9da856a90
Fix struct/class class-key mismatch in mglobal
...
clang warns when a type is declared with `struct`, then instantiated
with `class`. Change the declaration to `class` to match the
instantiation.
2018-04-03 03:20:08 +00:00