summaryrefslogtreecommitdiff
path: root/src/serialization-camera.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-04-02 20:46:41 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-04-02 20:46:41 -0400
commita02c7589c6c9e902c59a632aa650635336fe648c (patch)
tree8ec4800ff9f9effbd9141e02131123448679bc93 /src/serialization-camera.hpp
parentfad302f7db146a78900f9b21dbbcd97761093c1b (diff)
pke: checkpoint: major serialization refactor
Diffstat (limited to 'src/serialization-camera.hpp')
-rw-r--r--src/serialization-camera.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/serialization-camera.hpp b/src/serialization-camera.hpp
new file mode 100644
index 0000000..778febd
--- /dev/null
+++ b/src/serialization-camera.hpp
@@ -0,0 +1,11 @@
+#ifndef PKE_SERIALIZATION_CAMERA_HPP
+#define PKE_SERIALIZATION_CAMERA_HPP
+
+#include "serialization.hpp"
+#include "camera.hpp"
+
+void pke_serialize_camera(srlztn_serialize_helper *helper, const PkeCamera *cam);
+
+void pke_deserialize_camera(srlztn_deserialize_helper *helper);
+
+#endif /* PKE_SERIALIZATION_CAMERA_HPP */