Added splashpack parser, made renderer a singleton
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "psyqo/trigonometry.hh"
|
||||
#include "psyqo/matrix.hh"
|
||||
#include "psyqo/vector.hh"
|
||||
|
||||
#include "mesh.hh"
|
||||
@@ -9,9 +9,13 @@ namespace psxsplash {
|
||||
|
||||
class GameObject final {
|
||||
public:
|
||||
psyqo::Vec3 m_pos;
|
||||
psyqo::Angle m_rot[3];
|
||||
Mesh m_mesh;
|
||||
bool m_is_static;
|
||||
psyqo::Vec3 position;
|
||||
psyqo::Matrix33 rotation;
|
||||
psyqo::PrimPieces::TPageAttr texture;
|
||||
uint16_t polyCount;
|
||||
union {
|
||||
Tri *polygons;
|
||||
uint32_t polygonsOffset;
|
||||
};
|
||||
};
|
||||
} // namespace psxsplash
|
||||
Reference in New Issue
Block a user