Refactor geom library into geom and shape (#1263)

* Refactor `geom` library into `geom` and `util`

* Rename to `shape`
This commit is contained in:
Christian Semmler
2024-12-23 09:25:23 -07:00
committed by GitHub
parent 5b19d7953a
commit 1b99d75543
13 changed files with 35 additions and 12 deletions

View File

@@ -1,10 +1,10 @@
#include "legolod.h"
#include "geom/legomesh.h"
#include "legoroi.h"
#include "misc/legocontainer.h"
#include "misc/legostorage.h"
#include "shape/legomesh.h"
#include "tgl/d3drm/impl.h"
DECOMP_SIZE_ASSERT(LODObject, 0x04)

View File

@@ -1,12 +1,12 @@
#include "legoroi.h"
#include "anim/legoanim.h"
#include "geom/legobox.h"
#include "geom/legosphere.h"
#include "legolod.h"
#include "misc/legocontainer.h"
#include "misc/legostorage.h"
#include "realtime/realtime.h"
#include "shape/legobox.h"
#include "shape/legosphere.h"
#include <string.h>
#include <vec.h>

View File

@@ -6,6 +6,7 @@
DECOMP_SIZE_ASSERT(LegoBox, 0x18)
// FUNCTION: LEGO1 0x100d3740
// FUNCTION: BETA10 0x1018f83c
LegoResult LegoBox::Read(LegoStorage* p_storage)
{
LegoResult result;

View File

@@ -1,7 +1,7 @@
#include "legocolor.h"
#include "decomp.h"
#include "legostorage.h"
#include "misc/legostorage.h"
DECOMP_SIZE_ASSERT(LegoColor, 0x03)

View File

@@ -1,7 +1,7 @@
#ifndef __LEGOCOLOR_H
#define __LEGOCOLOR_H
#include "legotypes.h"
#include "misc/legotypes.h"
class LegoStorage;

View File

@@ -2,7 +2,7 @@
#define __LEGOMESH_H
#include "decomp.h"
#include "misc/legocolor.h"
#include "legocolor.h"
#include "misc/legotypes.h"
class LegoStorage;