2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Syntax fixes for PubUtilLib.

This commit is contained in:
Darryl Pogue
2011-07-24 15:26:58 -07:00
parent e6a625674f
commit 46c4a457e0
39 changed files with 59 additions and 60 deletions

View File

@ -32,11 +32,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
class plLODMipmap : public plMipmap
{
protected:
const enum
enum
{
kRefBase = 0
};
const enum
enum
{
kNumLODs = 5
};

View File

@ -383,7 +383,7 @@ plMipmap *plMipmap::ISplitAlpha()
switch( fUncompressedInfo.fType )
{
case fUncompressedInfo.kRGB8888:
case UncompressedInfo::kRGB8888:
// first byte is the alpha channel, we will drop this byte into the red channel for compression
while (curByte < numBytes)
{
@ -411,7 +411,7 @@ void plMipmap::IRecombineAlpha( plMipmap *alphaChannel )
switch( fUncompressedInfo.fType )
{
case fUncompressedInfo.kRGB8888:
case UncompressedInfo::kRGB8888:
// first byte is the alpha channel, we will grab this byte from the red channel for reconstitution
while (curByte < numBytes)
{