Skip to content

Commit

Permalink
Renamed world.cpp and world.h to worldspawn.cpp and worldspawn.h
Browse files Browse the repository at this point in the history
  • Loading branch information
smallmodel committed Oct 7, 2023
1 parent 475fc92 commit d757fa6
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion code/fgame/actorenemy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// actorenemy.cpp:

#include "actorenemy.h"
#include "world.h"
#include "worldspawn.h"
#include "sentient.h"
#include "actor.h"

Expand Down
2 changes: 1 addition & 1 deletion code/fgame/entity.h
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,6 @@ inline str Entity::GetRandomAlias(str name, AliasListNode_t **ret)
return realname;
}

#include "world.h"
#include "worldspawn.h"

#endif
2 changes: 1 addition & 1 deletion code/fgame/g_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "g_local.h"
#include "g_utils.h"
#include "ctype.h"
#include "world.h"
#include "worldspawn.h"
#include "scriptmaster.h"
#include "scriptthread.h"
#include "player.h"
Expand Down
2 changes: 1 addition & 1 deletion code/fgame/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

#include "game.h"
#include "scriptmaster.h"
#include "world.h"
#include "worldspawn.h"

#include "camera.h"
#include "entity.h"
Expand Down
2 changes: 1 addition & 1 deletion code/fgame/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "entity.h"
#include "consoleevent.h"
#include "player.h"
#include "world.h"
#include "worldspawn.h"
#include "weapon.h"
#include "trigger.h"
#include "scriptmaster.h"
Expand Down
2 changes: 1 addition & 1 deletion code/fgame/scriptmaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "game.h"
#include "g_spawn.h"
#include "object.h"
#include "world.h"
#include "worldspawn.h"
#include "scriptcompiler.h"
#include "scriptexception.h"

Expand Down
2 changes: 1 addition & 1 deletion code/fgame/simpleentity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

#include "glb_local.h"
#include "simpleentity.h"
#include "world.h"
#include "worldspawn.h"
#include "level.h"
#include "../script/scriptexception.h"

Expand Down
2 changes: 1 addition & 1 deletion code/fgame/trigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "trigger.h"
#include "scriptmaster.h"
#include "parm.h"
#include "world.h"
#include "worldspawn.h"
#include "barrels.h"

Event EV_Trigger_ActivateTargets
Expand Down
2 changes: 1 addition & 1 deletion code/fgame/world.cpp → code/fgame/worldspawn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// world.cpp : Holds the target list, and general info (fog and such).

#include "g_phys.h"
#include "world.h"
#include "worldspawn.h"
#include "level.h"
#include "scriptmaster.h"
#include "scriptexception.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion code/script/scriptvariable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#endif

#ifdef WITH_SCRIPT_ENGINE
# include "../fgame/world.h"
# include "../fgame/worldspawn.h"
# include "../fgame/scriptmaster.h"
# include "../fgame/simpleentity.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion code/script/scriptvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../fgame/game.h"
#include "../fgame/level.h"
#include "../fgame/parm.h"
#include "../fgame/world.h"
#include "../fgame/worldspawn.h"

#include <utility>

Expand Down

0 comments on commit d757fa6

Please sign in to comment.