mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
(Proposal) Introduction of naming convention checker (ncc
) (#322)
* Add ncc tool * Add symlink * Fixes * Try this * Try this * Try this * Try this * Add include path * Update style * Update style * Add more rules * Fix style * Update styles * Fix name parameter * Fix MxParam p * Fix m_unk0x pattern * Allow 4 digits for relative hex * Add missing offset * Fix some parameters * Fix some vtables * Fix more vtables * Update rules, fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * Fix last issue * Update readme * Update readme * Update CONTRIBUTING.md * Fix annotations * Rename * Update CONTRIBUTING.md * Update README.md
This commit is contained in:

committed by
GitHub

parent
3b155bfe38
commit
bc5ca621a4
@@ -27,19 +27,19 @@ public:
|
||||
|
||||
class GifMap {
|
||||
public:
|
||||
GifMapEntry* FindNode(const char*& string);
|
||||
GifMapEntry* FindNode(const char*& p_string);
|
||||
|
||||
inline GifData* Get(const char* string)
|
||||
inline GifData* Get(const char* p_string)
|
||||
{
|
||||
GifData* ret = NULL;
|
||||
GifMapEntry* entry = FindNode(string);
|
||||
if (((m_unk4 == entry || strcmp(string, entry->m_key) > 0) ? m_unk4 : entry) != entry)
|
||||
GifMapEntry* entry = FindNode(p_string);
|
||||
if (((m_unk0x4 == entry || strcmp(p_string, entry->m_key) > 0) ? m_unk0x4 : entry) != entry)
|
||||
ret = entry->m_value;
|
||||
return ret;
|
||||
}
|
||||
|
||||
undefined4 m_unk0;
|
||||
GifMapEntry* m_unk4;
|
||||
undefined4 m_unk0x0;
|
||||
GifMapEntry* m_unk0x4;
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d86d4
|
||||
@@ -48,12 +48,12 @@ public:
|
||||
// STUB: LEGO1 0x1005a310
|
||||
virtual ~GifManagerBase() {} // vtable+00
|
||||
|
||||
inline GifData* Get(const char* name) { return m_unk8.Get(name); }
|
||||
inline GifData* Get(const char* p_name) { return m_unk0x8.Get(p_name); }
|
||||
|
||||
protected:
|
||||
undefined4 m_unk0;
|
||||
undefined4 m_unk4;
|
||||
GifMap m_unk8;
|
||||
undefined4 m_unk0x0;
|
||||
undefined4 m_unk0x4;
|
||||
GifMap m_unk0x8;
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d86fc
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
virtual ~GifManager() {} // vtable+00
|
||||
|
||||
protected:
|
||||
undefined m_unk[0x1c];
|
||||
undefined m_unk0x14[0x1c];
|
||||
};
|
||||
|
||||
#endif // GIFMANAGER_H
|
||||
|
Reference in New Issue
Block a user