diff --git a/CMakeLists.txt b/CMakeLists.txt index a34084cd..1b341811 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 98d09a60..32b19164 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -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); diff --git a/LEGO1/omni/include/mxvideoparam.h b/LEGO1/omni/include/mxvideoparam.h index 885a8c92..6ba75cdd 100644 --- a/LEGO1/omni/include/mxvideoparam.h +++ b/LEGO1/omni/include/mxvideoparam.h @@ -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); diff --git a/LEGO1/omni/src/video/mxvideoparam.cpp b/LEGO1/omni/src/video/mxvideoparam.cpp index da948ab9..cc833727 100644 --- a/LEGO1/omni/src/video/mxvideoparam.cpp +++ b/LEGO1/omni/src/video/mxvideoparam.cpp @@ -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;