mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Introduce clang-format (#240)
This commit is contained in:

committed by
GitHub

parent
e928fc9425
commit
b449da1fa3
@@ -8,33 +8,35 @@ LegoState::~LegoState()
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10005f90
|
||||
MxBool LegoState::VTable0x14() {
|
||||
return TRUE;
|
||||
MxBool LegoState::VTable0x14()
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10005fa0
|
||||
MxBool LegoState::SetFlag() {
|
||||
return FALSE;
|
||||
MxBool LegoState::SetFlag()
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10005fb0
|
||||
MxResult LegoState::VTable0x1C(LegoFileStream *p_legoFileStream)
|
||||
MxResult LegoState::VTable0x1C(LegoFileStream* p_legoFileStream)
|
||||
{
|
||||
if (p_legoFileStream->IsWriteMode()) {
|
||||
p_legoFileStream->FUN_10006030(this->ClassName());
|
||||
}
|
||||
return SUCCESS;
|
||||
if (p_legoFileStream->IsWriteMode()) {
|
||||
p_legoFileStream->FUN_10006030(this->ClassName());
|
||||
}
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10006030
|
||||
LegoFileStream *LegoFileStream::FUN_10006030(MxString p_str)
|
||||
LegoFileStream* LegoFileStream::FUN_10006030(MxString p_str)
|
||||
{
|
||||
const char *data = p_str.GetData();
|
||||
MxU32 fullLength = strlen(data);
|
||||
const char* data = p_str.GetData();
|
||||
MxU32 fullLength = strlen(data);
|
||||
|
||||
MxU16 limitedLength = fullLength;
|
||||
Write(&limitedLength, sizeof(limitedLength));
|
||||
Write(data, (MxS16) fullLength);
|
||||
MxU16 limitedLength = fullLength;
|
||||
Write(&limitedLength, sizeof(limitedLength));
|
||||
Write(data, (MxS16) fullLength);
|
||||
|
||||
return this;
|
||||
return this;
|
||||
}
|
Reference in New Issue
Block a user