Skip to content

Commit

Permalink
WITCHER: Rename 'script' directory to 'nwscript'
Browse files Browse the repository at this point in the history
  • Loading branch information
smbas committed Sep 10, 2016
1 parent 471490b commit 325f1ee
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 38 deletions.
28 changes: 14 additions & 14 deletions src/engines/witcher/Makefile.am
Expand Up @@ -41,9 +41,9 @@ noinst_HEADERS = \
door.h \
placeable.h \
creature.h \
script/container.h \
script/functions.h \
script/function_tables.h \
nwscript/container.h \
nwscript/functions.h \
nwscript/function_tables.h \
lua/bindings.h \
$(EMPTY)

Expand All @@ -64,16 +64,16 @@ libwitcher_la_SOURCES = \
door.cpp \
placeable.cpp \
creature.cpp \
script/container.cpp \
script/functions.cpp \
script/functions_math.cpp \
script/functions_string.cpp \
script/functions_module.cpp \
script/functions_object.cpp \
script/functions_situated.cpp \
script/functions_creature.cpp \
script/functions_action.cpp \
script/functions_conversation.cpp \
script/functions_sound.cpp \
nwscript/container.cpp \
nwscript/functions.cpp \
nwscript/functions_math.cpp \
nwscript/functions_string.cpp \
nwscript/functions_module.cpp \
nwscript/functions_object.cpp \
nwscript/functions_situated.cpp \
nwscript/functions_creature.cpp \
nwscript/functions_action.cpp \
nwscript/functions_conversation.cpp \
nwscript/functions_sound.cpp \
lua/bindings.cpp \
$(EMPTY)
2 changes: 1 addition & 1 deletion src/engines/witcher/game.cpp
Expand Up @@ -42,7 +42,7 @@
#include "src/engines/witcher/module.h"
#include "src/engines/witcher/area.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

#include "src/engines/witcher/lua/bindings.h"

Expand Down
Expand Up @@ -33,7 +33,7 @@
#include "src/aurora/nwscript/variable.h"
#include "src/aurora/nwscript/ncsfile.h"

#include "src/engines/witcher/script/container.h"
#include "src/engines/witcher/nwscript/container.h"

namespace Engines {

Expand Down
Expand Up @@ -22,8 +22,8 @@
* An object containing scripts.
*/

#ifndef ENGINES_WITCHER_SCRIPT_CONTAINER_H
#define ENGINES_WITCHER_SCRIPT_CONTAINER_H
#ifndef ENGINES_WITCHER_NWSCRIPT_CONTAINER_H
#define ENGINES_WITCHER_NWSCRIPT_CONTAINER_H

#include "src/common/types.h"
#include "src/common/ustring.h"
Expand Down Expand Up @@ -76,4 +76,4 @@ class ScriptContainer {

} // End of namespace Engines

#endif // ENGINES_WITCHER_SCRIPT_CONTAINER_H
#endif // ENGINES_WITCHER_NWSCRIPT_CONTAINER_H
Expand Up @@ -47,8 +47,8 @@
* the order of the functions have to be the same in all three tables.
*/

#ifndef ENGINES_WITCHER_SCRIPT_FUNCTION_TABLES_H
#define ENGINES_WITCHER_SCRIPT_FUNCTION_TABLES_H
#ifndef ENGINES_WITCHER_NWSCRIPT_FUNCTION_TABLES_H
#define ENGINES_WITCHER_NWSCRIPT_FUNCTION_TABLES_H

#include "src/engines/witcher/types.h"
#include "src/engines/witcher/object.h"
Expand Down Expand Up @@ -2669,4 +2669,4 @@ const Functions::FunctionDefaults Functions::kFunctionDefaults[] = {

} // End of namespace Engines

#endif // ENGINES_WITCHER_SCRIPT_TABLES_H
#endif // ENGINES_WITCHER_NWSCRIPT_FUNCTION_TABLES_H
Expand Up @@ -44,9 +44,8 @@
#include "src/engines/witcher/object.h"
#include "src/engines/witcher/creature.h"

#include "src/engines/witcher/script/functions.h"

#include "src/engines/witcher/script/function_tables.h"
#include "src/engines/witcher/nwscript/functions.h"
#include "src/engines/witcher/nwscript/function_tables.h"

namespace Engines {

Expand Down
Expand Up @@ -22,8 +22,8 @@
* The Witcher engine functions.
*/

#ifndef ENGINES_WITCHER_SCRIPT_FUNCTIONS_H
#define ENGINES_WITCHER_SCRIPT_FUNCTIONS_H
#ifndef ENGINES_WITCHER_NWSCRIPT_FUNCTIONS_H
#define ENGINES_WITCHER_NWSCRIPT_FUNCTIONS_H

#include "src/aurora/nwscript/types.h"

Expand Down Expand Up @@ -276,4 +276,4 @@ class Functions {

} // End of namespace Engines

#endif // ENGINES_WITCHER_SCRIPT_FUNCTIONS_H
#endif // ENGINES_WITCHER_NWSCRIPT_FUNCTIONS_H
Expand Up @@ -38,7 +38,7 @@
#include "src/engines/witcher/door.h"
#include "src/engines/witcher/creature.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -33,7 +33,7 @@
#include "src/engines/witcher/objectcontainer.h"
#include "src/engines/witcher/object.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -31,7 +31,7 @@
#include "src/engines/witcher/object.h"
#include "src/engines/witcher/creature.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -27,7 +27,7 @@

#include "src/aurora/nwscript/functioncontext.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -31,7 +31,7 @@
#include "src/engines/witcher/location.h"
#include "src/engines/witcher/objectcontainer.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -33,7 +33,7 @@
#include "src/engines/witcher/object.h"
#include "src/engines/witcher/creature.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -28,7 +28,7 @@
#include "src/engines/witcher/object.h"
#include "src/engines/witcher/situated.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -32,7 +32,7 @@
#include "src/engines/witcher/object.h"
#include "src/engines/witcher/area.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
Expand Up @@ -41,7 +41,7 @@
#include "src/engines/witcher/object.h"
#include "src/engines/witcher/creature.h"

#include "src/engines/witcher/script/functions.h"
#include "src/engines/witcher/nwscript/functions.h"

namespace Engines {

Expand Down
2 changes: 1 addition & 1 deletion src/engines/witcher/object.h
Expand Up @@ -39,7 +39,7 @@
#include "src/engines/witcher/types.h"
#include "src/engines/witcher/location.h"

#include "src/engines/witcher/script/container.h"
#include "src/engines/witcher/nwscript/container.h"

namespace Engines {

Expand Down

0 comments on commit 325f1ee

Please sign in to comment.