mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Naming
This commit is contained in:
parent
084de867b3
commit
c2a2f1a56c
@ -64,7 +64,7 @@ class MxDisplaySurface : public MxCore {
|
|||||||
MxS32 p_bottom,
|
MxS32 p_bottom,
|
||||||
MxS32 p_width,
|
MxS32 p_width,
|
||||||
MxS32 p_height,
|
MxS32 p_height,
|
||||||
MxBool p_und
|
MxBool p_RLE
|
||||||
); // vtable+0x30
|
); // vtable+0x30
|
||||||
virtual undefined4 VTable0x34(
|
virtual undefined4 VTable0x34(
|
||||||
undefined4,
|
undefined4,
|
||||||
|
|||||||
@ -491,7 +491,7 @@ void MxDisplaySurface::VTable0x30(
|
|||||||
MxS32 p_bottom,
|
MxS32 p_bottom,
|
||||||
MxS32 p_width,
|
MxS32 p_width,
|
||||||
MxS32 p_height,
|
MxS32 p_height,
|
||||||
MxBool p_und
|
MxBool p_RLE
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (!GetRectIntersection(
|
if (!GetRectIntersection(
|
||||||
@ -527,7 +527,7 @@ void MxDisplaySurface::VTable0x30(
|
|||||||
switch (m_surfaceDesc.ddpfPixelFormat.dwRGBBitCount) {
|
switch (m_surfaceDesc.ddpfPixelFormat.dwRGBBitCount) {
|
||||||
case 8: {
|
case 8: {
|
||||||
MxU8* surface = (MxU8*) ddsd.lpSurface + p_right + (p_bottom * ddsd.lPitch);
|
MxU8* surface = (MxU8*) ddsd.lpSurface + p_right + (p_bottom * ddsd.lPitch);
|
||||||
if (p_und) {
|
if (p_RLE) {
|
||||||
MxS32 size = p_bitmap->GetBmiHeader()->biSizeImage;
|
MxS32 size = p_bitmap->GetBmiHeader()->biSizeImage;
|
||||||
DrawTransparentRLE(data, surface, size, p_width, p_height, ddsd.lPitch, 8);
|
DrawTransparentRLE(data, surface, size, p_width, p_height, ddsd.lPitch, 8);
|
||||||
}
|
}
|
||||||
@ -553,7 +553,7 @@ void MxDisplaySurface::VTable0x30(
|
|||||||
}
|
}
|
||||||
case 16: {
|
case 16: {
|
||||||
MxU8* surface = (MxU8*) ddsd.lpSurface + (2 * p_right) + (p_bottom * ddsd.lPitch);
|
MxU8* surface = (MxU8*) ddsd.lpSurface + (2 * p_right) + (p_bottom * ddsd.lPitch);
|
||||||
if (p_und) {
|
if (p_RLE) {
|
||||||
MxS32 size = p_bitmap->GetBmiHeader()->biSizeImage;
|
MxS32 size = p_bitmap->GetBmiHeader()->biSizeImage;
|
||||||
DrawTransparentRLE(data, surface, size, p_width, p_height, ddsd.lPitch, 16);
|
DrawTransparentRLE(data, surface, size, p_width, p_height, ddsd.lPitch, 16);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,6 +13,7 @@ m_HELDesc: 'Allow this variable name'
|
|||||||
p_HWDesc: 'Allow this variable name'
|
p_HWDesc: 'Allow this variable name'
|
||||||
p_HELDesc: 'Allow this variable name'
|
p_HELDesc: 'Allow this variable name'
|
||||||
e_RAMStream: 'Allow this enum constant'
|
e_RAMStream: 'Allow this enum constant'
|
||||||
|
p_RLE: 'Allow this parameter name'
|
||||||
p_milliseconds: 'Probably a bug with function call'
|
p_milliseconds: 'Probably a bug with function call'
|
||||||
m_increaseAmount: "Can't currently detect member in union"
|
m_increaseAmount: "Can't currently detect member in union"
|
||||||
m_increaseFactor: "Can't currently detect member in union"
|
m_increaseFactor: "Can't currently detect member in union"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user