mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-23 07:58:21 -05:00
5f413165cc
* cmake: use imported targets for 3rd party libs * Fix casing of skateboard.h include * cmake: tglrl realtime viewmanager mxgeometry * cmake: spin off some source in static libraries * dx5 for everyone * ci: bump actions/checkout to v4 * move LEGO1/realtime/realtimeview.cpp to lego1 because it exports symbols * add misc library * Add omni library * Return of the .def's * Remove COMPAT_CONST in MxVideoParam::MxVideoParam * Run clang-format * move LEGO1/realtime/realtimeview.cpp to realtime lib * Add 3dmanager library * Rename .def files * Remove incorrect deps to Omni * Remove DLL expor decls * Remove unnecessary library dep from ROI * Remove COMPAT_CONST * Move 3dmanager lib before Omni * Remove mxgeometry lib (`geom` is actually `lego/sources/geom`, which we don't have in our decomp yet) * viewmanager has a dependency on realtime + fix mingw's def * Remove Smacker::Smacker from lego1 link libraries --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
71 lines
1.9 KiB
C++
71 lines
1.9 KiB
C++
#ifndef MXVARIABLETABLE_H
|
|
#define MXVARIABLETABLE_H
|
|
|
|
#include "mxhashtable.h"
|
|
#include "mxtypes.h"
|
|
#include "mxvariable.h"
|
|
|
|
// VTABLE: LEGO1 0x100dc1c8
|
|
// SIZE 0x28
|
|
class MxVariableTable : public MxHashTable<MxVariable*> {
|
|
public:
|
|
MxVariableTable() { m_customDestructor = Destroy; }
|
|
void SetVariable(const char* p_key, const char* p_value);
|
|
void SetVariable(MxVariable* p_var);
|
|
const char* GetVariable(const char* p_key);
|
|
|
|
static void Destroy(MxVariable* p_obj) { p_obj->Destroy(); }
|
|
|
|
virtual MxS8 Compare(MxVariable*, MxVariable*) override; // vtable+0x14
|
|
virtual MxU32 Hash(MxVariable*) override; // vtable+0x18
|
|
|
|
// SYNTHETIC: LEGO1 0x100afdd0
|
|
// MxVariableTable::`scalar deleting destructor'
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100dc1b0
|
|
// class MxCollection<MxVariable *>
|
|
|
|
// VTABLE: LEGO1 0x100dc1e8
|
|
// class MxHashTable<MxVariable *>
|
|
|
|
// VTABLE: LEGO1 0x100dc680
|
|
// class MxHashTableCursor<MxVariable *>
|
|
|
|
// TEMPLATE: LEGO1 0x100afcd0
|
|
// MxCollection<MxVariable *>::Compare
|
|
|
|
// TEMPLATE: LEGO1 0x100afce0
|
|
// MxCollection<MxVariable *>::~MxCollection<MxVariable *>
|
|
|
|
// TEMPLATE: LEGO1 0x100afd30
|
|
// MxCollection<MxVariable *>::Destroy
|
|
|
|
// SYNTHETIC: LEGO1 0x100afd40
|
|
// MxCollection<MxVariable *>::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x100afdb0
|
|
// MxVariableTable::Destroy
|
|
|
|
// TEMPLATE: LEGO1 0x100afdc0
|
|
// MxHashTable<MxVariable *>::Hash
|
|
|
|
// TEMPLATE: LEGO1 0x100b0bd0
|
|
// MxHashTable<MxVariable *>::~MxHashTable<MxVariable *>
|
|
|
|
// SYNTHETIC: LEGO1 0x100b0ca0
|
|
// MxHashTable<MxVariable *>::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x100b7680
|
|
// MxHashTableCursor<MxVariable *>::~MxHashTableCursor<MxVariable *>
|
|
|
|
// SYNTHETIC: LEGO1 0x100b76d0
|
|
// MxHashTableCursor<MxVariable *>::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x100b7ab0
|
|
// MxHashTable<MxVariable *>::Resize
|
|
|
|
// TEMPLATE: LEGO1 0x100b7b80
|
|
// MxHashTable<MxVariable *>::NodeInsert
|
|
|
|
#endif // MXVARIABLETABLE_H
|