Introduce clang-format (#240)

This commit is contained in:
Christian Semmler
2023-10-24 19:38:27 -04:00
committed by GitHub
parent e928fc9425
commit b449da1fa3
408 changed files with 12434 additions and 12813 deletions

View File

@@ -1,4 +1,5 @@
#include "mxatomidcounter.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(MxAtomIdCounter, 0x14);
@@ -7,12 +8,12 @@ DECOMP_SIZE_ASSERT(MxAtomIdCounterSet, 0x10);
// OFFSET: LEGO1 0x100ad7f0
void MxAtomIdCounter::Inc()
{
m_value++;
m_value++;
}
// OFFSET: LEGO1 0x100ad800
void MxAtomIdCounter::Dec()
{
if (m_value)
m_value--;
if (m_value)
m_value--;
}