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>
55 lines
1.4 KiB
C++
55 lines
1.4 KiB
C++
#ifndef MXVIDEOPARAM_H
|
|
#define MXVIDEOPARAM_H
|
|
|
|
#include "compat.h"
|
|
#include "mxrect32.h"
|
|
#include "mxtypes.h"
|
|
#include "mxvideoparamflags.h"
|
|
|
|
#include <ddraw.h>
|
|
|
|
class MxPalette;
|
|
|
|
// SIZE 0x24
|
|
class MxVideoParam {
|
|
public:
|
|
MxVideoParam();
|
|
__declspec(dllexport)
|
|
MxVideoParam(MxRect32& p_rect, MxPalette* p_palette, MxULong p_backBuffers, MxVideoParamFlags& p_flags);
|
|
MxVideoParam(MxVideoParam& p_videoParam);
|
|
~MxVideoParam();
|
|
void SetDeviceName(char* p_deviceId);
|
|
MxVideoParam& operator=(const MxVideoParam& p_videoParam);
|
|
|
|
// FUNCTION: BETA10 0x100886e0
|
|
inline MxVideoParamFlags& Flags() { return m_flags; }
|
|
|
|
// FUNCTION: BETA10 0x100d81f0
|
|
inline MxRect32& GetRect() { return m_rect; }
|
|
|
|
// FUNCTION: BETA10 0x100d8210
|
|
inline MxPalette* GetPalette() { return m_palette; }
|
|
|
|
// FUNCTION: BETA10 0x100d8240
|
|
inline void SetPalette(MxPalette* p_palette) { m_palette = p_palette; }
|
|
|
|
// FUNCTION: BETA10 0x100d8270
|
|
inline char* GetDeviceName() { return m_deviceId; }
|
|
|
|
// FUNCTION: BETA10 0x10141f60
|
|
inline MxU32 GetBackBuffers() { return m_backBuffers; }
|
|
|
|
// FUNCTION: BETA10 0x10141fe0
|
|
inline void SetBackBuffers(MxU32 p_backBuffers) { m_backBuffers = p_backBuffers; }
|
|
|
|
private:
|
|
MxRect32 m_rect; // 0x00
|
|
MxPalette* m_palette; // 0x10
|
|
MxU32 m_backBuffers; // 0x14
|
|
MxVideoParamFlags m_flags; // 0x18
|
|
int m_unk0x1c; // 0x1c
|
|
char* m_deviceId; // 0x20
|
|
};
|
|
|
|
#endif // MXVIDEOPARAM_H
|