mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Pad all single-digit hexadecimal values with zero (#504)
* Pad all single-digit hexadecimal values with zero * One more fix
This commit is contained in:
committed by
GitHub
parent
35def3013a
commit
bcdddd4c7e
@@ -4,7 +4,7 @@
|
||||
#include "legostorage.h"
|
||||
#include "memory.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoPaletteEntry, 0x3);
|
||||
DECOMP_SIZE_ASSERT(LegoPaletteEntry, 0x03);
|
||||
DECOMP_SIZE_ASSERT(LegoImage, 0x310);
|
||||
|
||||
// FUNCTION: LEGO1 0x100994c0
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
class LegoStorage;
|
||||
|
||||
// SIZE 0x3
|
||||
// SIZE 0x03
|
||||
class LegoPaletteEntry {
|
||||
public:
|
||||
LegoPaletteEntry();
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
#include <memory.h>
|
||||
#include <string.h>
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoStorage, 0x8);
|
||||
DECOMP_SIZE_ASSERT(LegoStorage, 0x08);
|
||||
DECOMP_SIZE_ASSERT(LegoMemory, 0x10);
|
||||
DECOMP_SIZE_ASSERT(LegoFile, 0xc);
|
||||
DECOMP_SIZE_ASSERT(LegoFile, 0x0c);
|
||||
|
||||
// FUNCTION: LEGO1 0x10099080
|
||||
LegoMemory::LegoMemory(void* p_buffer) : LegoStorage()
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "legoimage.h"
|
||||
#include "legostorage.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoTexture, 0x4);
|
||||
DECOMP_SIZE_ASSERT(LegoTexture, 0x04);
|
||||
|
||||
// FUNCTION: LEGO1 0x10098fb0
|
||||
LegoTexture::LegoTexture()
|
||||
|
||||
@@ -9,17 +9,17 @@
|
||||
class LegoStorage;
|
||||
|
||||
// VTABLE: LEGO1 0x100db778
|
||||
// SIZE 0x4
|
||||
// SIZE 0x04
|
||||
class LegoTreeNodeData {
|
||||
public:
|
||||
LegoTreeNodeData() {}
|
||||
virtual ~LegoTreeNodeData() {}
|
||||
|
||||
// FUNCTION: LEGO1 0x10099fe0
|
||||
virtual LegoResult Read(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x4
|
||||
virtual LegoResult Read(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x04
|
||||
|
||||
// FUNCTION: LEGO1 0x10099ff0
|
||||
virtual LegoResult Write(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x8
|
||||
virtual LegoResult Write(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x08
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1009a000
|
||||
// LegoTreeNodeData::`scalar deleting destructor'
|
||||
@@ -44,21 +44,21 @@ public:
|
||||
// LegoTreeNode::`scalar deleting destructor'
|
||||
|
||||
protected:
|
||||
LegoTreeNodeData* m_data; // 0x4
|
||||
LegoU32 m_numChildren; // 0x8
|
||||
LegoTreeNode** m_children; // 0xc
|
||||
LegoTreeNodeData* m_data; // 0x04
|
||||
LegoU32 m_numChildren; // 0x08
|
||||
LegoTreeNode** m_children; // 0x0c
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100db768
|
||||
// SIZE 0x8
|
||||
// SIZE 0x08
|
||||
class LegoTree {
|
||||
public:
|
||||
LegoTree();
|
||||
virtual ~LegoTree();
|
||||
LegoTreeNode* GetRoot() { return m_root; }
|
||||
void SetRoot(LegoTreeNode* p_root) { m_root = p_root; }
|
||||
virtual LegoResult Read(LegoStorage* p_storage); // vtable+0x4
|
||||
virtual LegoResult Write(LegoStorage* p_storage); // vtable+0x8
|
||||
virtual LegoResult Read(LegoStorage* p_storage); // vtable+0x04
|
||||
virtual LegoResult Write(LegoStorage* p_storage); // vtable+0x08
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10099de0
|
||||
// LegoTree::`scalar deleting destructor'
|
||||
@@ -69,9 +69,9 @@ protected:
|
||||
void Delete(LegoTreeNode* p_node);
|
||||
|
||||
// FUNCTION: LEGO1 0x10099f70
|
||||
virtual LegoTreeNodeData* CreateData() { return new LegoTreeNodeData(); } // vtable+0xc
|
||||
virtual LegoTreeNodeData* CreateData() { return new LegoTreeNodeData(); } // vtable+0x0c
|
||||
|
||||
LegoTreeNode* m_root; // 0x4
|
||||
LegoTreeNode* m_root; // 0x04
|
||||
};
|
||||
|
||||
#endif // __LEGOTREE_H
|
||||
|
||||
Reference in New Issue
Block a user