mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
Remove Editor & specter
This commit is contained in:
@@ -75,7 +75,7 @@ add_library(AssetNameMapNull
|
||||
get_target_property(HECL_INCLUDES hecl-full INCLUDE_DIRECTORIES)
|
||||
target_include_directories(RetroDataSpec PUBLIC ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}
|
||||
${HECL_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR})
|
||||
target_link_libraries(RetroDataSpec PUBLIC amuse zeus nod specter squish ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} lzokay logvisor)
|
||||
target_link_libraries(RetroDataSpec PUBLIC amuse zeus nod squish ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} lzokay logvisor)
|
||||
if(COMMAND add_sanitizers)
|
||||
add_sanitizers(RetroDataSpec)
|
||||
endif()
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
namespace DataSpec::DNAMP1 {
|
||||
struct Actor : IScriptObject {
|
||||
AT_DECL_DNA_YAMLV
|
||||
String<-1> name SO_NAME_SPECPROP();
|
||||
Value<atVec3f> location SO_LOCATION_SPECPROP();
|
||||
Value<atVec3f> orientation SO_ORIENTATION_SPECPROP();
|
||||
Value<atVec3f> scale SO_SCALE_SPECPROP();
|
||||
Value<atVec3f> collisionExtent SO_COLLISION_EXTENT_SPECPROP();
|
||||
Value<atVec3f> collisionOffset SO_COLLISION_OFFSET_SPECPROP();
|
||||
String<-1> name;
|
||||
Value<atVec3f> location;
|
||||
Value<atVec3f> orientation;
|
||||
Value<atVec3f> scale;
|
||||
Value<atVec3f> collisionExtent;
|
||||
Value<atVec3f> collisionOffset;
|
||||
Value<float> mass;
|
||||
Value<float> zMomentum;
|
||||
HealthInfo healthInfo;
|
||||
|
||||
@@ -3,18 +3,9 @@
|
||||
#include "../DNAMP1.hpp"
|
||||
#include "../SAVW.hpp"
|
||||
#include "zeus/CAABox.hpp"
|
||||
#include "specter/genie.hpp"
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#define SO_NAME_SPECPROP() SPECTER_PROPERTY("Name", "Instance name; Used to debug scripting events")
|
||||
#define SO_LOCATION_SPECPROP() SPECTER_PROPERTY("Location", "World relative location of the Actor instance")
|
||||
#define SO_ORIENTATION_SPECPROP() SPECTER_PROPERTY("Orientation", "Object local axis-angle")
|
||||
#define SO_SCALE_SPECPROP() SPECTER_PROPERTY("Scale", "Object local scale")
|
||||
#define SO_COLLISION_EXTENT_SPECPROP() SPECTER_PROPERTY("Collision Extent", "")
|
||||
#define SO_COLLISION_OFFSET_SPECPROP() SPECTER_PROPERTY("Collision Offset", "")
|
||||
#define SO_ACTIVE_SPECPROP() SPECTER_PROPERTY("Active", "If enabled, object instance is drawn and updated")
|
||||
|
||||
namespace DataSpec::DNAMP1 {
|
||||
|
||||
zeus::CTransform ConvertEditorEulerToTransform4f(const zeus::CVector3f& scale, const zeus::CVector3f& orientation,
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "../../DNACommon/DNACommon.hpp"
|
||||
#include "../DNAMP1.hpp"
|
||||
#include "../SAVW.hpp"
|
||||
#include "specter/genie.hpp"
|
||||
|
||||
namespace DataSpec::DNAMP1 {
|
||||
|
||||
@@ -49,7 +48,7 @@ enum class EPickupType : atUint32 {
|
||||
World = 38,
|
||||
Spirit = 39,
|
||||
Newborn = 40
|
||||
} SPECTER_ENUM("Pickup Type", "", EPickupType);
|
||||
};
|
||||
|
||||
enum class ESpecialFunctionType : atUint32 {
|
||||
What,
|
||||
@@ -85,7 +84,7 @@ enum class ESpecialFunctionType : atUint32 {
|
||||
Ending,
|
||||
FusionRelay,
|
||||
WeaponSwitch // PAL Only
|
||||
} SPECTER_ENUM("Special Function", "", ESpecialFunctionType);
|
||||
};
|
||||
|
||||
struct AnimationParameters : BigDNA {
|
||||
AT_DECL_DNA_YAML
|
||||
@@ -211,9 +210,9 @@ struct GrappleParameters : BigDNA {
|
||||
struct HealthInfo : BigDNA {
|
||||
AT_DECL_DNA_YAML
|
||||
Value<atUint32> propertyCount;
|
||||
Value<float> health SPECTER_PROPERTY("Health", "Base health for object");
|
||||
Value<float> knockbackResistance SPECTER_PROPERTY("Knockback Resistance", "");
|
||||
} SPECTER_PROPERTY("Health Info", "");
|
||||
Value<float> health;
|
||||
Value<float> knockbackResistance;
|
||||
};
|
||||
|
||||
struct LightParameters : BigDNA {
|
||||
AT_DECL_DNA_YAML
|
||||
|
||||
Reference in New Issue
Block a user