dxx-rebirth/similar/main
Kp 6a3ded191f Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR
Rename symbol EDITOR to DXX_USE_EDITOR to show that it is a DXX
symbol, not one inherited from a library.  Move it to dxxsconf.h to
shorten the command line.

This is a mostly automated transform, but the changes to SConstruct were
manual.

git grep -wl EDITOR -- '*.h' '*.cpp' | xargs sed -i -e 's/^\s*#ifdef \(EDITOR\)\>/#if DXX_USE_\1/' -e 's/\s*#\(el\)\?if \(.*\)defined(\(EDITOR\))/#\1if \2DXX_USE_\3/' -e 's/^\s*#ifndef \(EDITOR\)\>/#if !DXX_USE_\1/'
2016-09-11 18:49:16 +00:00
..
ai.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
aipath.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
automap.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
bm.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
cntrlcen.cpp Use none_of in do_controlcen_frame search of segment children 2016-09-04 00:02:50 +00:00
collide.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
config.cpp Added new texture filtering options based on patch of user 'beware' 2016-08-29 20:53:10 +02:00
console.cpp
controls.cpp Expand get_local_player_energy 2016-09-11 18:49:13 +00:00
credits.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
digiobj.cpp
dumpmine.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
effects.cpp
endlevel.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
fireball.cpp Expand get_local_player_energy 2016-09-11 18:49:13 +00:00
fuelcen.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
fvi.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
game.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gamecntl.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gamefont.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
gamemine.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gamerend.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gamesave.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gameseg.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gameseq.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gauges.cpp Expand get_local_player_energy 2016-09-11 18:49:13 +00:00
hostage.cpp
hud.cpp Move HUD_render_message_frame into namespace dsx 2016-08-25 04:05:32 +00:00
iff.cpp Reduce scope of convert_ilbm_to_pbm rowptr 2016-09-04 00:02:51 +00:00
inferno.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
kconfig.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
kmatrix.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
laser.cpp Remove laser.cpp inclusion of unused header reverse.h 2016-09-11 18:49:14 +00:00
lighting.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
menu.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
mglobal.cpp
mission.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
morph.cpp Switch morph.cpp to reinterpret_cast 2016-09-04 00:02:53 +00:00
multi.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
multibot.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
net_udp.cpp Move IPv6 to dxxsconf.h; rename to DXX_USE_IPv6 2016-09-11 18:49:15 +00:00
newdemo.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
newmenu.cpp Re-enabled timer_delay2 for general menu handlers and adjusted them to sleep according to set FPS and not sleep at all for Multiplayer since calc_frame_time() is active in that case. Modified sleeping towards 1ms in calc_frame_time() to allow for more precise target FPS and be able to relay packets in multiplayer with less delay. 2016-08-29 16:04:46 +02:00
object.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
paging.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
physics.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
piggy.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
player.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
playsave.cpp Move USE_TRACKER to dxxsconf.h; rename to DXX_USE_TRACKER 2016-09-11 18:49:15 +00:00
polyobj.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
powerup.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
render.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
robot.cpp
scores.cpp
segment.cpp
slew.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
songs.cpp Move USE_SDLMIXER to dxxsconf.h; rename to DXX_USE_SDLMIXER 2016-09-11 18:49:15 +00:00
state.cpp Move Primary_weapon to player_info 2016-08-28 22:41:49 +00:00
switch.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
terrain.cpp Switch terrain.cpp light cast to static_cast 2016-09-04 00:02:51 +00:00
texmerge.cpp
text.cpp Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
titles.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
vclip.cpp
vers_id.cpp
wall.cpp Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
weapon.cpp Expand get_local_player_energy 2016-09-11 18:49:13 +00:00