Run clang-format

This commit is contained in:
Christian Semmler 2024-01-24 19:23:53 -05:00
parent f5540b02c3
commit bb1b6d2e0c
4 changed files with 10 additions and 19 deletions

View File

@ -16,7 +16,7 @@ if (MSVC)
endif()
endif()
set(lego1_targets )
set(lego1_targets)
macro(register_lego1_target __target)
list(APPEND lego1_targets ${__target})
endmacro()

View File

@ -53,13 +53,13 @@ IsleApp::IsleApp()
m_windowActive = 1;
#ifdef COMPAT_MODE
{
MxRect32 r(0, 0, 639, 479);
MxVideoParamFlags flags;
m_videoParam = MxVideoParam(r, NULL, 1, flags);
}
{
MxRect32 r(0, 0, 639, 479);
MxVideoParamFlags flags;
m_videoParam = MxVideoParam(r, NULL, 1, flags);
}
#else
m_videoParam = MxVideoParam(MxRect32(0, 0, 639, 479), NULL, 1, MxVideoParamFlags());
m_videoParam = MxVideoParam(MxRect32(0, 0, 639, 479), NULL, 1, MxVideoParamFlags());
#endif
m_videoParam.Flags().Set16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16);

View File

@ -15,12 +15,8 @@ class MxVideoParam {
public:
__declspec(dllexport) MxVideoParam();
__declspec(dllexport) MxVideoParam(MxVideoParam& p_videoParam);
__declspec(dllexport) MxVideoParam(
MxRect32& p_rect,
MxPalette* p_palette,
MxULong p_backBuffers,
MxVideoParamFlags& p_flags
);
__declspec(dllexport)
MxVideoParam(MxRect32& p_rect, MxPalette* p_palette, MxULong p_backBuffers, MxVideoParamFlags& p_flags);
__declspec(dllexport) MxVideoParam& operator=(const MxVideoParam& p_videoParam);
__declspec(dllexport) ~MxVideoParam();
__declspec(dllexport) void SetDeviceName(char* p_deviceId);

View File

@ -21,12 +21,7 @@ MxVideoParam::MxVideoParam()
}
// FUNCTION: LEGO1 0x100beca0
MxVideoParam::MxVideoParam(
MxRect32& p_rect,
MxPalette* p_palette,
MxULong p_backBuffers,
MxVideoParamFlags& p_flags
)
MxVideoParam::MxVideoParam(MxRect32& p_rect, MxPalette* p_palette, MxULong p_backBuffers, MxVideoParamFlags& p_flags)
{
this->m_rect = p_rect;
this->m_palette = p_palette;