mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Run clang-format
This commit is contained in:
parent
f5540b02c3
commit
bb1b6d2e0c
@ -16,7 +16,7 @@ if (MSVC)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(lego1_targets )
|
set(lego1_targets)
|
||||||
macro(register_lego1_target __target)
|
macro(register_lego1_target __target)
|
||||||
list(APPEND lego1_targets ${__target})
|
list(APPEND lego1_targets ${__target})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|||||||
@ -53,13 +53,13 @@ IsleApp::IsleApp()
|
|||||||
m_windowActive = 1;
|
m_windowActive = 1;
|
||||||
|
|
||||||
#ifdef COMPAT_MODE
|
#ifdef COMPAT_MODE
|
||||||
{
|
{
|
||||||
MxRect32 r(0, 0, 639, 479);
|
MxRect32 r(0, 0, 639, 479);
|
||||||
MxVideoParamFlags flags;
|
MxVideoParamFlags flags;
|
||||||
m_videoParam = MxVideoParam(r, NULL, 1, flags);
|
m_videoParam = MxVideoParam(r, NULL, 1, flags);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
m_videoParam = MxVideoParam(MxRect32(0, 0, 639, 479), NULL, 1, MxVideoParamFlags());
|
m_videoParam = MxVideoParam(MxRect32(0, 0, 639, 479), NULL, 1, MxVideoParamFlags());
|
||||||
#endif
|
#endif
|
||||||
m_videoParam.Flags().Set16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16);
|
m_videoParam.Flags().Set16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16);
|
||||||
|
|
||||||
|
|||||||
@ -15,12 +15,8 @@ class MxVideoParam {
|
|||||||
public:
|
public:
|
||||||
__declspec(dllexport) MxVideoParam();
|
__declspec(dllexport) MxVideoParam();
|
||||||
__declspec(dllexport) MxVideoParam(MxVideoParam& p_videoParam);
|
__declspec(dllexport) MxVideoParam(MxVideoParam& p_videoParam);
|
||||||
__declspec(dllexport) MxVideoParam(
|
__declspec(dllexport)
|
||||||
MxRect32& p_rect,
|
MxVideoParam(MxRect32& p_rect, MxPalette* p_palette, MxULong p_backBuffers, MxVideoParamFlags& p_flags);
|
||||||
MxPalette* p_palette,
|
|
||||||
MxULong p_backBuffers,
|
|
||||||
MxVideoParamFlags& p_flags
|
|
||||||
);
|
|
||||||
__declspec(dllexport) MxVideoParam& operator=(const MxVideoParam& p_videoParam);
|
__declspec(dllexport) MxVideoParam& operator=(const MxVideoParam& p_videoParam);
|
||||||
__declspec(dllexport) ~MxVideoParam();
|
__declspec(dllexport) ~MxVideoParam();
|
||||||
__declspec(dllexport) void SetDeviceName(char* p_deviceId);
|
__declspec(dllexport) void SetDeviceName(char* p_deviceId);
|
||||||
|
|||||||
@ -21,12 +21,7 @@ MxVideoParam::MxVideoParam()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100beca0
|
// FUNCTION: LEGO1 0x100beca0
|
||||||
MxVideoParam::MxVideoParam(
|
MxVideoParam::MxVideoParam(MxRect32& p_rect, MxPalette* p_palette, MxULong p_backBuffers, MxVideoParamFlags& p_flags)
|
||||||
MxRect32& p_rect,
|
|
||||||
MxPalette* p_palette,
|
|
||||||
MxULong p_backBuffers,
|
|
||||||
MxVideoParamFlags& p_flags
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
this->m_rect = p_rect;
|
this->m_rect = p_rect;
|
||||||
this->m_palette = p_palette;
|
this->m_palette = p_palette;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user