Including the binary of the splaspack, added FPS camera

This commit is contained in:
2025-03-26 13:50:27 +01:00
parent dbc4bcb068
commit 68084796df
12 changed files with 336 additions and 150 deletions

View File

@@ -1,24 +1,24 @@
#pragma once
#include "psyqo/matrix.hh"
#include "psyqo/vector.hh"
#include <cstdint>
#include <psyqo/matrix.hh>
#include <psyqo/vector.hh>
#include "mesh.hh"
#include <cstdint>
namespace psxsplash {
class GameObject final {
public:
psyqo::Vec3 position; // 12 bytes
psyqo::Matrix33 rotation; // 36 bytes
uint16_t polyCount; // 2 bytes
psyqo::PrimPieces::TPageAttr texture; // 2 bytes
psyqo::Vec3 position; // 12 bytes
psyqo::Matrix33 rotation; // 36 bytes
uint16_t polyCount; // 2 bytes
psyqo::PrimPieces::TPageAttr texture; // 2 bytes
uint16_t clutX, clutY;
uint16_t clut[256];
union { // 4 bytes
union { // 4 bytes
Tri *polygons;
uint32_t polygonsOffset;
};
};
} // namespace psxsplash
} // namespace psxsplash