mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Refactor JukeBox, add enum for music (#988) * Refactor JukeBox, add enum for music * add BETA annotation * Fix BETA annotation * Fix BETA annotation * Fix * Consolidate state and building entity classes (#989) * Match LegoCacheSoundManager::FindSoundByKey (#991) * Match LegoCacheSoundManager::FindSoundByKey * Remove space * Implement/match LegoActor::Mute (#992) * Add more annotations to ISLE (#990) * Minor improvements in ISLE.EXE * Add more annotations * Fix * Comment out * Fix lint * Add enum for actor IDs (#993) * Implement/match LegoEntity::ClickAnimation (#994) * Implement/match LegoEntity::VTable0x38 * Update names * Implement/match LegoEntity::SwitchSound / SwitchMove / SwitchColor / SwitchMood (#995) * Implement/match LegoEntity::SwitchSound * Name * Name * Implement/match LegoEntity::SwitchMove * Mood * Implement/match LegoCharacterManager::SwitchColor (#996) * Implement/match IslePathActor::Exit (#997) * Implement/match IslePathActor::Exit * Name * Name * Partially fix vector interface * Revert "Partially fix vector interface" This reverts commit 6e7a1e2b08fd82012b28be3054eeff65428eb4d1. * Revert "Revert "Partially fix vector interface"" This reverts commit e3860e3c9fa1f8937b702d6c81d6e3bb4dadecc6. * Fix * Remove some COMPAT_MODE * Implement/match Ambulance::Notify (#998) * Update isleapp.cpp * Streamline MxVideoParamFlags (#999) * Streamline MxVideoParamFlags * Remove this-> from MxOmniCreateFlags --------- Co-authored-by: MS <disinvite@users.noreply.github.com>
69 lines
1.7 KiB
C++
69 lines
1.7 KiB
C++
#ifndef MXVIDEOPARAMFLAGS_H
|
|
#define MXVIDEOPARAMFLAGS_H
|
|
|
|
#include "mxtypes.h"
|
|
|
|
#include <windows.h>
|
|
|
|
class MxVideoParamFlags {
|
|
public:
|
|
MxVideoParamFlags();
|
|
|
|
// inlined in ISLE
|
|
inline void SetFullScreen(MxBool p_e) { m_flags1.m_bit0 = p_e; }
|
|
|
|
// FUNCTION: BETA10 0x10141f80
|
|
inline void SetFlipSurfaces(MxBool p_e) { m_flags1.m_bit1 = p_e; }
|
|
|
|
// FUNCTION: BETA10 0x10141fb0
|
|
inline void SetBackBuffers(MxBool p_e) { m_flags1.m_bit2 = p_e; }
|
|
|
|
// FUNCTION: BETA10 0x100d9250
|
|
inline void SetF1bit3(MxBool p_e) { m_flags1.m_bit3 = p_e; }
|
|
|
|
// inlined in ISLE
|
|
inline void Set16Bit(MxBool p_e) { m_flags1.m_bit5 = p_e; }
|
|
|
|
// inlined in ISLE
|
|
inline void SetWideViewAngle(MxBool p_e) { m_flags1.m_bit6 = p_e; }
|
|
|
|
// inlined in ISLE
|
|
inline void SetF1bit7(MxBool p_e) { m_flags1.m_bit7 = p_e; }
|
|
|
|
// FUNCTION: BETA10 0x100d81b0
|
|
inline void SetF2bit0(MxBool p_e) { m_flags2.m_bit0 = p_e; }
|
|
|
|
// inlined in ISLE
|
|
inline void SetF2bit1(MxBool p_e) { m_flags2.m_bit1 = p_e; }
|
|
|
|
// FUNCTION: BETA10 0x1009e770
|
|
inline MxBool GetFullScreen() { return m_flags1.m_bit0; }
|
|
|
|
// FUNCTION: BETA10 0x100d80f0
|
|
inline MxBool GetFlipSurfaces() { return m_flags1.m_bit1; }
|
|
|
|
// FUNCTION: BETA10 0x100d8120
|
|
inline MxBool GetBackBuffers() { return m_flags1.m_bit2; }
|
|
|
|
// FUNCTION: BETA10 0x10142010
|
|
inline MxBool GetF1bit3() { return m_flags1.m_bit3; }
|
|
|
|
// FUNCTION: BETA10 0x100d8150
|
|
inline MxBool Get16Bit() { return m_flags1.m_bit5; }
|
|
|
|
// FUNCTION: BETA10 0x100d8180
|
|
inline MxBool GetWideViewAngle() { return m_flags1.m_bit6; }
|
|
|
|
// FUNCTION: BETA10 0x100886b0
|
|
inline MxBool GetF2bit0() { return m_flags2.m_bit0; }
|
|
|
|
// FUNCTION: BETA10 0x10142050
|
|
inline MxBool GetF2bit1() { return m_flags2.m_bit1; }
|
|
|
|
private:
|
|
FlagBitfield m_flags1;
|
|
FlagBitfield m_flags2;
|
|
};
|
|
|
|
#endif // MXVIDEOPARAMFLAGS_H
|