37 m_rect = p_videoParam.m_rect;
38 m_palette = p_videoParam.m_palette;
39 m_backBuffers = p_videoParam.m_backBuffers;
40 m_flags = p_videoParam.m_flags;
41 m_unk0x1c = p_videoParam.m_unk0x1c;
50 if (m_deviceId !=
NULL) {
59 if (m_deviceId !=
NULL) {
63 if (p_deviceId !=
NULL) {
64 m_deviceId =
new char[strlen(p_deviceId) + 1];
66 if (m_deviceId !=
NULL) {
67 strcpy(m_deviceId, p_deviceId);
79 m_rect = p_videoParam.m_rect;
80 m_palette = p_videoParam.m_palette;
81 m_backBuffers = p_videoParam.m_backBuffers;
82 m_flags = p_videoParam.m_flags;
83 m_unk0x1c = p_videoParam.m_unk0x1c;
[AI] Encapsulates a DirectDraw 8-bit (256 color) palette for use with DirectX rendering.
[AI] Rectangle using 32-bit signed integer coordinates.
[AI] Manages video parameter flags, providing an abstraction for various video settings such as fulls...
[AI] Video parameter configuration for display and rendering, encapsulates resolution,...
~MxVideoParam()
[AI] Destructor, frees device name memory if used. [AI]
void SetDeviceName(char *p_deviceId)
[AI] Set the device name/id for this video parameter (e.g., a specific display adapter),...
MxPalette MxULong MxVideoParamFlags & p_flags
MxVideoParam()
[AI] Construct MxVideoParam with default screen rectangle (640x480), no palette, zero backbuffers,...
MxPalette MxULong p_backBuffers
MxVideoParam & operator=(const MxVideoParam &p_videoParam)
[AI] Assignment operator, performs deep copy (including device name string) of another instance.
#define DECOMP_SIZE_ASSERT(T, S)
#define NULL
[AI] Null pointer value (C/C++ semantics).