(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:
Christian Semmler
2023-12-13 05:48:14 -05:00
committed by GitHub
parent 3b155bfe38
commit bc5ca621a4
303 changed files with 2592 additions and 1844 deletions

View File

@@ -13,7 +13,7 @@ public:
MxDeviceModeFinder();
~MxDeviceModeFinder();
undefined4 m_unknown[56];
undefined4 m_pad[56];
MxDirectDraw::DeviceModesInfo* m_deviceInfo; // +0xe0
};
@@ -23,17 +23,18 @@ public:
class MxDeviceEnumerate {
public:
MxDeviceEnumerate();
virtual MxResult _DoEnumerate();
virtual MxResult DoEnumerate();
BOOL FUN_1009c070();
const char* EnumerateErrorToString(HRESULT p_error);
undefined4 m_unk004;
undefined4 m_unk008;
undefined4 m_unk00c;
MxBool m_unk010_flag; // +0x10
undefined4 m_unk0x004;
undefined4 m_unk0x008;
undefined4 m_unk0x00c;
MxBool m_unk0x010; // +0x10
undefined4 m_unknown[97];
undefined4 m_unk0x014[97];
};
// VTABLE: LEGO1 0x100db800
@@ -68,8 +69,8 @@ private:
MxDeviceModeFinder* m_pDeviceModeFinder; // +0x880
IDirect3D* m_pDirect3d; // +0x884
IDirect3DDevice* m_pDirect3dDevice;
undefined4 m_unk88c;
undefined4 m_unk890;
undefined4 m_unk0x88c;
undefined4 m_unk0x890;
};
BOOL FAR PASCAL EnumerateCallback(GUID FAR*, LPSTR, LPSTR, LPVOID);