Implement some Act1State functions (#520)

* Implement some Act1State functions

* ci: push fix commits to pr

* ci fix

* Show diffs generated by clang-format

* Run clang-format

* Fix naming

* re-use _countof + add parentheses

* Fix naming

* Use MxS32

* Annotate Act1State::NamedPlane::~NamedPlane

* Apply suggestions

* Read and Write Mx3DPointFloat's

* Annotations, spacing

* Add Mx3DPointFloat copy ctor, match some functions

* Fix WriteVector3

* Adding more spacing for readability

* Use MxResult as a return type for Serialize

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Anonymous Maarten
2024-02-03 02:03:52 +01:00
committed by GitHub
parent 6653533b1f
commit 57d5949d84
10 changed files with 433 additions and 34 deletions

View File

@@ -14,7 +14,7 @@
#endif
#ifndef _countof
#define _countof(arr) sizeof(arr) / sizeof(arr[0])
#define _countof(arr) (sizeof(arr) / sizeof(arr[0]))
#endif
typedef unsigned char undefined;