- replaced homegrown SWORD, SBYTE and uint32_t types.
This commit is contained in:
parent
cc1241a4b8
commit
c008ddaf66
61 changed files with 235 additions and 238 deletions
|
|
@ -153,12 +153,12 @@ CVAR (Color, am_ovportalcolor, 0x004022, CVAR_ARCHIVE);
|
|||
struct AMColor
|
||||
{
|
||||
int Index;
|
||||
uint32 RGB;
|
||||
uint32_t RGB;
|
||||
|
||||
void FromCVar(FColorCVar & cv)
|
||||
{
|
||||
Index = cv.GetIndex();
|
||||
RGB = uint32(cv) | MAKEARGB(255, 0, 0, 0);
|
||||
RGB = uint32_t(cv) | MAKEARGB(255, 0, 0, 0);
|
||||
}
|
||||
|
||||
void FromRGB(int r,int g, int b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue