mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-04 05:11:26 -05:00
afa5b90117
* Implement `LegoRaceCar::FUN_10012ff0()`, refactor based on BETA10 * Add BETA10 annotations * Rename functions and variables based on BETA10 assertions * Address issues raised by linter * Rename variable, add BETA10 vtables * Rename legoracecar files to legoracers --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
39 lines
807 B
C++
39 lines
807 B
C++
#ifndef __LEGOWEEDGE_H
|
|
#define __LEGOWEEDGE_H
|
|
|
|
#include "decomp.h"
|
|
#include "legoedge.h"
|
|
#include "misc/legotypes.h"
|
|
|
|
// might be a struct with public members
|
|
// VTABLE: LEGO1 0x100db7c0
|
|
// SIZE 0x0c
|
|
class LegoWEEdge {
|
|
public:
|
|
LegoWEEdge();
|
|
virtual ~LegoWEEdge(); // vtable+0x00
|
|
|
|
virtual LegoResult VTable0x04(); // vtable+0x04
|
|
|
|
LegoU8 GetNumEdges() { return m_numEdges; }
|
|
|
|
// FUNCTION: BETA10 0x1001cc30
|
|
LegoEdge** GetEdges() { return m_edges; }
|
|
|
|
LegoU32 IsEqual(LegoWEEdge& p_other) { return this == &p_other; }
|
|
|
|
void SetEdges(LegoEdge** p_edges, LegoU8 p_numEdges)
|
|
{
|
|
m_edges = p_edges;
|
|
m_numEdges = p_numEdges;
|
|
}
|
|
|
|
// SYNTHETIC: LEGO1 0x1009a570
|
|
// LegoWEEdge::`scalar deleting destructor'
|
|
|
|
protected:
|
|
LegoU8 m_numEdges; // 0x04
|
|
LegoEdge** m_edges; // 0x08
|
|
};
|
|
|
|
#endif // __LEGOWEEDGE_H
|