mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-30 03:26:12 -05:00
9e686e2a87
* cmake+ci: run clang-tidy
* Remove DESCRIPTION from LEGO1/LegoOmni.mingw.def
* Add initial .clang-tidy and fixes
* fix file perms
* Comment out DESCRIPTION
* Remove LegoEntity::~LegoEntity and MxPresenter::~MxPresenter from mingw's LEGO1.def
* Looks like clang is allergic to the libs in the directx5 SDK
* Update .clang-tidy
* Fix typo in .clang-tidy
* Attempt to generate an action error
* Revert "Attempt to generate an action error"
This reverts commit 96c4c65fed
.
* cmake: test with -Wparentheses + optionally with -Werror
* ci: -k0 is a Ninja argument
* Use -Werror only for msys2 builds
* cmake: only emit warnings for specific warnings
* cmake: and don't do -Werror/-WX anymore
* Fix warnings
* Fix mingw warnings
---------
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(); }
|
|
|
|
MxS8 Compare(MxVariable*, MxVariable*) override; // vtable+0x14
|
|
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
|