dxx-rebirth/common/main
Kp a1bdd81d41 Exclude unused code from D2 non-editor build
gamedata_read_tbl is only called if (D1 || (D2 && EDITOR)).  Exclude
defining it for (D2 && !EDITOR).  From there, also exclude defining or
reading the alias list, which is only written by a function
called by gamedata_read_tbl.

Reported-by: heftig <https://github.com/dxx-rebirth/dxx-rebirth/issues/642>
2022-06-11 15:00:02 +00:00
..
ai.h Remove force_dump_ai_objects_all 2022-06-05 17:44:53 +00:00
aistruct.h Tighten index handling for Ai_transition_table 2022-01-08 17:48:09 +00:00
automap.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
bm.h Exclude unused code from D2 non-editor build 2022-06-11 15:00:02 +00:00
cast_range_result.h Remove static inline declarations from fwd-partial_range.h 2020-06-10 02:25:32 +00:00
cli.cpp Return string width/height from gr_get_string_size 2021-09-12 16:20:52 +00:00
cli.h Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
cmd.cpp Tighten type info for d_strdup 2022-04-24 20:42:01 +00:00
cmd.h Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
cntrlcen.h Validate control center trigger sides on load 2022-01-09 15:25:42 +00:00
collide.h Use enumerated_array for shared_segment::sides 2022-01-15 20:39:10 +00:00
config.h Move ResolutionX, ResolutionY to CCfg 2021-01-25 00:45:07 +00:00
controls.h Pass control_info & to various functions 2020-10-12 03:28:26 +00:00
credits.h Split credits_show special case into dedicated functions 2016-08-19 03:41:42 +00:00
cvar.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
cvar.h Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
d_array.h Use enumerated_array for indexing player input controls 2022-02-27 14:23:53 +00:00
d_bitset.h Replace __attribute_warn_unused_result with C++17 [[nodiscard]] 2021-06-28 03:37:51 +00:00
d_crange.h Flatten constant_xrange hierarchy 2022-02-27 14:23:53 +00:00
d_enumerate.h Split player start generation 2022-02-19 14:52:17 +00:00
d_levelstate.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
d_range.h Tighten symbol visibility for xrange 2022-03-05 17:23:51 +00:00
d_srcloc.h Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
d_zip.h Pass range index_type through zip_iterator 2022-02-13 19:13:38 +00:00
digi.h Change enum sidenum_t to enum class sidenum_t 2022-06-05 17:44:52 +00:00
effects.h Use enumerated_array for unique_segment::sides 2022-01-15 20:39:10 +00:00
endlevel.h Reorder endlevel definitions to split by dcx/dsx 2020-10-01 03:25:27 +00:00
ephemeral_range.h Flatten type hierarchy for enumerated_iterator 2022-02-19 14:52:17 +00:00
escort.h Pass context to drop_stolen_items 2022-02-05 13:30:56 +00:00
fireball.h Split powerup.h to fwd-powerup.h 2022-02-12 18:57:12 +00:00
fuelcen.h Enable repaircenter in D1 2022-06-05 17:44:52 +00:00
fvi.h Fix check_header_includes=1 build of fvi.h 2022-06-05 17:44:52 +00:00
fwd-d_array.h Add forward-declaration header for enumerated_array 2020-08-06 03:47:56 +00:00
fwd-game.h Change enum sidenum_t to enum class sidenum_t 2022-06-05 17:44:52 +00:00
fwd-inferno.h Split inferno.h to fwd-inferno.h 2022-02-12 18:57:12 +00:00
fwd-object.h Pass Object array to object_goto_next_viewer 2022-06-05 17:44:53 +00:00
fwd-piggy.h Exclude unused code from D2 non-editor build 2022-06-11 15:00:02 +00:00
fwd-player.h Move Afterburner_charge to dsx 2020-09-11 03:08:02 +00:00
fwd-powerup.h Split powerup.h to fwd-powerup.h 2022-02-12 18:57:12 +00:00
fwd-segment.h Change enum sidenum_t to enum class sidenum_t 2022-06-05 17:44:52 +00:00
fwd-vclip.h Qualify uses of std::array 2020-05-02 21:18:42 +00:00
fwd-wall.h Pass LevelUniqueWallSubsystemState to wall_init 2022-04-17 22:27:19 +00:00
fwd-weapon.h Fix BUG on show-path cheat 2022-05-21 19:51:18 +00:00
game.h Use enum class for cockpit_mode_t 2022-02-12 18:57:12 +00:00
gamefont.h Make font scaling constructors explicit 2021-09-19 10:53:48 +00:00
gamemine.h Remove support for reading Miner's .LVL files 2020-12-20 20:39:07 +00:00
gamepal.h Fix check_header_includes build 2016-01-09 16:38:12 +00:00
gameplayopt.h Add experimental support for autosaves 2020-04-19 20:47:07 +00:00
gamesave.h Move savegame POF names to stack 2020-08-24 01:31:28 +00:00
gameseg.h Use sidenum_t in more places 2022-02-19 14:52:17 +00:00
gameseq.h Split inferno.h to fwd-inferno.h 2022-02-12 18:57:12 +00:00
gauges.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
hostage.h Refer to <array> directly, not through "compiler-array.h" 2020-05-02 21:18:42 +00:00
hudmsg.h Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
inferno.h Split inferno.h to fwd-inferno.h 2022-02-12 18:57:12 +00:00
kconfig.h Reduce lifetime of joy_axis 2022-02-27 14:23:53 +00:00
kmatrix.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
laser.h Use enum class for weapon_sound_flag 2022-04-24 20:42:01 +00:00
lighting.h Use enum class for vertnum_t 2020-12-26 21:17:29 +00:00
menu.h Move some menu code into namespaces 2020-09-11 03:08:02 +00:00
mission.h Expand macro Current_mission_longname 2021-11-01 03:37:19 +00:00
morph.h Move various definitions into namespaces 2020-12-19 16:13:26 +00:00
multi.h Simplify UPID_QUIT_JOINING 2022-06-05 17:44:53 +00:00
multibot.h Pass object& to multi_drop_robot_powerups 2022-02-05 13:30:56 +00:00
multiinternal.h Improve vulcan/gauss pickup rules 2022-02-05 13:30:56 +00:00
net_udp.h Add const qualifiers to some net_udp functions 2022-06-05 17:44:53 +00:00
newdemo.h Change enum sidenum_t to enum class sidenum_t 2022-06-05 17:44:52 +00:00
newmenu.h Save parent canvas in listbox_layout 2021-09-12 16:20:52 +00:00
nvparse.h Replace "compiler-type_traits.h" with <type_traits> 2017-06-25 20:46:03 +00:00
object.h Move object_rw to namespace dsx 2022-01-09 15:25:42 +00:00
objnum.h Use enum class for object_signature_t 2020-08-10 03:45:13 +00:00
paging.h Pass Vclip as context 2018-10-21 00:24:07 +00:00
physfsrwops.h Return error code from PHYSFSRWOPS_openRead* 2021-07-25 23:00:56 +00:00
physics.h Qualify uses of std::array 2020-05-02 21:18:42 +00:00
physics_info.h Fix check_header_includes=1 build 2020-05-17 23:35:25 +00:00
piggy.h Split piggy.h -> fwd-piggy.h 2022-06-05 17:44:52 +00:00
player-callsign.h Remove unused return value of callsign_t::copy 2022-05-10 01:58:55 +00:00
player-flags.h Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
player.h Only prepare pause time if it will be shown 2021-09-12 16:20:52 +00:00
playsave.h Use enumerated_array for indexing player input controls 2022-02-27 14:23:53 +00:00
polyobj.h Move Pof_names to d_level_shared_polygon_model_state 2020-08-24 01:31:28 +00:00
powerup.h Split powerup.h to fwd-powerup.h 2022-02-12 18:57:12 +00:00
render.h Use enum sidenum_t in more places 2022-01-09 15:25:42 +00:00
render_state.h Refer to <array> directly, not through "compiler-array.h" 2020-05-02 21:18:42 +00:00
robot.h Fix BUG on show-path cheat 2022-05-21 19:51:18 +00:00
scores.h Pass canvas to scores_view_menu 2021-09-19 10:53:48 +00:00
screens.h Disallow direct construction of grs_canvas 2021-09-04 12:17:14 +00:00
segiter.h Replace __attribute_warn_unused_result with C++17 [[nodiscard]] 2021-06-28 03:37:51 +00:00
segment.h Change enum sidenum_t to enum class sidenum_t 2022-06-05 17:44:52 +00:00
segpoint.h Use enum class for vertnum_t 2020-12-26 21:17:29 +00:00
selfiter.h Rework compress_segments to use segment iterators 2022-06-05 17:44:52 +00:00
slew.h Pass control_info & to various functions 2020-10-12 03:28:26 +00:00
songs.h Refactor song loading 2019-08-25 16:43:17 +00:00
sounds.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
state.h Pass canvas to savegame_chooser_newmenu 2021-09-19 10:53:48 +00:00
switch.h Change enum sidenum_t to enum class sidenum_t 2022-06-05 17:44:52 +00:00
terrain.h Reorder endlevel definitions to split by dcx/dsx 2020-10-01 03:25:27 +00:00
texmerge.h Move grs_main_bitmap earlier in the header 2021-09-04 12:17:14 +00:00
text.h Use named Difficulty_level enum members in MENU_DIFFICULTY_TEXT 2020-12-27 22:03:09 +00:00
textures.h Qualify uses of std::array 2020-05-02 21:18:42 +00:00
titles.h Remove support for show_order_form 2020-10-22 02:26:17 +00:00
valptridx.tcc Use enum class for actdoornum_t 2020-12-20 20:39:07 +00:00
vclip.h Qualify uses of std::array 2020-05-02 21:18:42 +00:00
vers_id.h Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
wall.h Fix LTO ODR build failure in wall.h 2022-04-17 22:27:19 +00:00
weapon.h Use enum class for weapon_info::persistent 2021-09-19 10:53:48 +00:00
weapon_id.h Whitelist Vertigo smelter's phoenix cannon 2019-10-21 03:45:29 +00:00