|
|
|
@ -2,41 +2,41 @@
|
|
|
|
|
#define OPENMW_WORLD_HPP
|
|
|
|
|
|
|
|
|
|
#define WORLDFUNCTIONS \
|
|
|
|
|
{"CreateBaseEvent", WorldFunctions::CreateBaseEvent},\
|
|
|
|
|
{"CreateBaseEvent", WorldFunctions::CreateBaseEvent},\
|
|
|
|
|
\
|
|
|
|
|
{"AddWorldObject", WorldFunctions::AddWorldObject},\
|
|
|
|
|
{"SetBaseEventCell", WorldFunctions::SetBaseEventCell},\
|
|
|
|
|
{"SetContainerChangesAction", WorldFunctions::SetContainerChangesAction},\
|
|
|
|
|
{"AddWorldObject", WorldFunctions::AddWorldObject},\
|
|
|
|
|
{"SetBaseEventCell", WorldFunctions::SetBaseEventCell},\
|
|
|
|
|
{"SetBaseEventAction", WorldFunctions::SetBaseEventAction},\
|
|
|
|
|
\
|
|
|
|
|
{"SetObjectRefId", WorldFunctions::SetObjectRefId},\
|
|
|
|
|
{"SetObjectRefNumIndex", WorldFunctions::SetObjectRefNumIndex},\
|
|
|
|
|
{"SetObjectCharge", WorldFunctions::SetObjectCharge},\
|
|
|
|
|
{"SetObjectCount", WorldFunctions::SetObjectCount},\
|
|
|
|
|
{"SetObjectGoldValue", WorldFunctions::SetObjectGoldValue},\
|
|
|
|
|
{"SetObjectScale", WorldFunctions::SetObjectScale},\
|
|
|
|
|
{"SetObjectDoorState", WorldFunctions::SetObjectDoorState},\
|
|
|
|
|
{"SetObjectLockLevel", WorldFunctions::SetObjectLockLevel},\
|
|
|
|
|
{"SetObjectPosition", WorldFunctions::SetObjectPosition},\
|
|
|
|
|
{"SetObjectRotation", WorldFunctions::SetObjectRotation},\
|
|
|
|
|
{"SetObjectRefId", WorldFunctions::SetObjectRefId},\
|
|
|
|
|
{"SetObjectRefNumIndex", WorldFunctions::SetObjectRefNumIndex},\
|
|
|
|
|
{"SetObjectCharge", WorldFunctions::SetObjectCharge},\
|
|
|
|
|
{"SetObjectCount", WorldFunctions::SetObjectCount},\
|
|
|
|
|
{"SetObjectGoldValue", WorldFunctions::SetObjectGoldValue},\
|
|
|
|
|
{"SetObjectScale", WorldFunctions::SetObjectScale},\
|
|
|
|
|
{"SetObjectDoorState", WorldFunctions::SetObjectDoorState},\
|
|
|
|
|
{"SetObjectLockLevel", WorldFunctions::SetObjectLockLevel},\
|
|
|
|
|
{"SetObjectPosition", WorldFunctions::SetObjectPosition},\
|
|
|
|
|
{"SetObjectRotation", WorldFunctions::SetObjectRotation},\
|
|
|
|
|
\
|
|
|
|
|
{"GetObjectChangesSize", WorldFunctions::GetObjectChangesSize},\
|
|
|
|
|
{"GetObjectChangesSize", WorldFunctions::GetObjectChangesSize},\
|
|
|
|
|
\
|
|
|
|
|
{"GetObjectRefId", WorldFunctions::GetObjectRefId},\
|
|
|
|
|
{"GetObjectRefNumIndex", WorldFunctions::GetObjectRefNumIndex},\
|
|
|
|
|
{"GetObjectCharge", WorldFunctions::GetObjectCharge},\
|
|
|
|
|
{"GetObjectCount", WorldFunctions::GetObjectCount},\
|
|
|
|
|
{"GetObjectGoldValue", WorldFunctions::GetObjectGoldValue},\
|
|
|
|
|
{"GetObjectScale", WorldFunctions::GetObjectScale},\
|
|
|
|
|
{"GetObjectDoorState", WorldFunctions::GetObjectDoorState},\
|
|
|
|
|
{"GetObjectLockLevel", WorldFunctions::GetObjectLockLevel},\
|
|
|
|
|
{"GetObjectPosX", WorldFunctions::GetObjectPosX},\
|
|
|
|
|
{"GetObjectPosY", WorldFunctions::GetObjectPosY},\
|
|
|
|
|
{"GetObjectPosZ", WorldFunctions::GetObjectPosZ},\
|
|
|
|
|
{"GetObjectRotX", WorldFunctions::GetObjectRotX},\
|
|
|
|
|
{"GetObjectRotY", WorldFunctions::GetObjectRotY},\
|
|
|
|
|
{"GetObjectRotZ", WorldFunctions::GetObjectRotZ},\
|
|
|
|
|
{"GetObjectRefId", WorldFunctions::GetObjectRefId},\
|
|
|
|
|
{"GetObjectRefNumIndex", WorldFunctions::GetObjectRefNumIndex},\
|
|
|
|
|
{"GetObjectCharge", WorldFunctions::GetObjectCharge},\
|
|
|
|
|
{"GetObjectCount", WorldFunctions::GetObjectCount},\
|
|
|
|
|
{"GetObjectGoldValue", WorldFunctions::GetObjectGoldValue},\
|
|
|
|
|
{"GetObjectScale", WorldFunctions::GetObjectScale},\
|
|
|
|
|
{"GetObjectDoorState", WorldFunctions::GetObjectDoorState},\
|
|
|
|
|
{"GetObjectLockLevel", WorldFunctions::GetObjectLockLevel},\
|
|
|
|
|
{"GetObjectPosX", WorldFunctions::GetObjectPosX},\
|
|
|
|
|
{"GetObjectPosY", WorldFunctions::GetObjectPosY},\
|
|
|
|
|
{"GetObjectPosZ", WorldFunctions::GetObjectPosZ},\
|
|
|
|
|
{"GetObjectRotX", WorldFunctions::GetObjectRotX},\
|
|
|
|
|
{"GetObjectRotY", WorldFunctions::GetObjectRotY},\
|
|
|
|
|
{"GetObjectRotZ", WorldFunctions::GetObjectRotZ},\
|
|
|
|
|
\
|
|
|
|
|
{"SendContainer", WorldFunctions::SendContainer},\
|
|
|
|
|
{"SendContainer", WorldFunctions::SendContainer},\
|
|
|
|
|
\
|
|
|
|
|
{"SendObjectDelete", WorldFunctions::SendObjectDelete},\
|
|
|
|
|
{"SendObjectPlace", WorldFunctions::SendObjectPlace},\
|
|
|
|
@ -57,7 +57,7 @@ public:
|
|
|
|
|
|
|
|
|
|
static void AddWorldObject() noexcept;
|
|
|
|
|
static void SetBaseEventCell(const char* cellDescription) noexcept;
|
|
|
|
|
static void SetContainerChangesAction(int action) noexcept;
|
|
|
|
|
static void SetBaseEventAction(int action) noexcept;
|
|
|
|
|
|
|
|
|
|
static void SetObjectRefId(const char* refId) noexcept;
|
|
|
|
|
static void SetObjectRefNumIndex(int refNumIndex) noexcept;
|
|
|
|
|