(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

@@ -11,7 +11,7 @@ MxDirect3D::MxDirect3D()
{
this->m_pDirect3d = NULL;
this->m_pDirect3dDevice = NULL;
this->m_unk88c = NULL;
this->m_unk0x88c = NULL;
this->m_pDeviceModeFinder = NULL;
}
@@ -52,7 +52,7 @@ BOOL MxDirect3D::Create(
success = TRUE;
if (!success)
FUN_1009D920();
FUN_1009d920();
return success;
}
@@ -164,10 +164,10 @@ void MxDirect3D::BuildErrorString(const char* p_format, ...)
}
// FUNCTION: LEGO1 0x1009c6c0
MxResult MxDeviceEnumerate::_DoEnumerate()
MxResult MxDeviceEnumerate::DoEnumerate()
{
// TODO: what does ECX refer to in this context?
if (m_unk010_flag)
if (m_unk0x010)
return FAILURE;
HRESULT ret = DirectDrawEnumerate(EnumerateCallback, this);
@@ -176,7 +176,7 @@ MxResult MxDeviceEnumerate::_DoEnumerate()
return FAILURE;
}
m_unk010_flag = TRUE;
m_unk0x010 = TRUE;
return SUCCESS;
}