summaryrefslogtreecommitdiff
path: root/src/serialization-component.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-05-06 13:12:24 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-05-06 13:12:24 -0400
commit32968050f0b34fdabfcc2a4fb5601d4be361bbd2 (patch)
treeacef384a2156a16d4d506c37f13f79d454a4a6e9 /src/serialization-component.hpp
parentef37d054dfe5812efa9eefb4b9b18621fdabac25 (diff)
pke: major serialization refactor, first-pass
Diffstat (limited to 'src/serialization-component.hpp')
-rw-r--r--src/serialization-component.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/serialization-component.hpp b/src/serialization-component.hpp
index a01d235..7020479 100644
--- a/src/serialization-component.hpp
+++ b/src/serialization-component.hpp
@@ -6,10 +6,10 @@
#include "vendor-glm-include.hpp"
-bool pke_serialize_inst_pos(srlztn_serialize_helper *h, const glm::vec3 pos, const glm::quat quat_rot, const glm::vec3 scale);
-bool pke_deserialize_inst_pos(srlztn_deserialize_helper *h, glm::vec3 &pos, glm::quat &quat_rot, glm::vec3 &scale);
+pk_handle pke_serialize_inst_pos(srlztn_serialize_helper *h, const glm::vec3 pos, const glm::quat quat_rot, const glm::vec3 scale);
+void pke_deserialize_inst_pos(srlztn_deserialize_helper *h, pke_kve_container *kvec, glm::vec3 &pos, glm::quat &quat_rot, glm::vec3 &scale);
-bool pke_serialize_instance(srlztn_serialize_helper *h, const CompInstance *comp);
-bool pke_deserialize_instance(srlztn_deserialize_helper *h);
+pk_handle pke_serialize_instance(srlztn_serialize_helper *h, const CompInstance *comp);
+void pke_deserialize_instance(srlztn_deserialize_helper *h, pke_kve_container *kvec);
#endif /* PKE_SERIALIZATION_COMPONENT_HPP */