Refactor file names based on BETA10 (#1064)

* Refactor file names based on BETA10

* Extract LegoDeviceEnumerate to dedicated file

* Fix compiler errors

* Migrate contiguous block of code to `LegoDeviceEnumerate`

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-07-08 23:52:50 +02:00
committed by GitHub
parent afa5b90117
commit 4a861faca3
13 changed files with 424 additions and 405 deletions

View File

@@ -1,10 +1,13 @@
#ifndef ACT3ACTOR_H
#define ACT3ACTOR_H
#ifndef ACT3ACTORS_H
#define ACT3ACTORS_H
#include "legoanimactor.h"
// File name verified by multiple assertions, e.g. BETA10 0x10018391
// VTABLE: LEGO1 0x100d7668 LegoPathActor
// VTABLE: LEGO1 0x100d7738 LegoAnimActor
// VTABLE: BETA10 0x101b8a98 LegoPathActor
// SIZE 0x178
class Act3Actor : public LegoAnimActor {
public:
@@ -30,4 +33,4 @@ private:
undefined4 m_unk0x1c; // 0x1c
};
#endif // ACT3ACTOR_H
#endif // ACT3ACTORS_H

View File

@@ -1,7 +1,7 @@
#ifndef ACT3BRICKSTER_H
#define ACT3BRICKSTER_H
#include "act3actor.h"
#include "act3actors.h"
// VTABLE: LEGO1 0x100d7838 LegoPathActor
// VTABLE: LEGO1 0x100d7908 LegoAnimActor

View File

@@ -1,7 +1,7 @@
#ifndef ACT3COP_H
#define ACT3COP_H
#include "act3actor.h"
#include "act3actors.h"
// VTABLE: LEGO1 0x100d7750 LegoPathActor
// VTABLE: LEGO1 0x100d7820 LegoAnimActor

View File

@@ -1,4 +1,4 @@
#include "act3actor.h"
#include "act3actors.h"
DECOMP_SIZE_ASSERT(Act3Actor, 0x178)

View File

@@ -5,7 +5,7 @@
#include "act2genactor.h"
#include "act2policestation.h"
#include "act3.h"
#include "act3actor.h"
#include "act3actors.h"
#include "act3brickster.h"
#include "act3cop.h"
#include "act3shark.h"

View File

@@ -4,6 +4,7 @@
#include "legoinputmanager.h"
#include "legomain.h"
#include "misc.h"
#include "mxdirectx/legodxinfo.h"
#include "mxdirectx/mxdirect3d.h"
#include "mxdirectx/mxstopwatch.h"
#include "mxdisplaysurface.h"