mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
Make IW4 menu rect def align be unsigned like IW5
This commit is contained in:
parent
3233186d8b
commit
399d8e834d
@ -2084,8 +2084,8 @@ namespace IW4
|
||||
float y;
|
||||
float w;
|
||||
float h;
|
||||
char horzAlign;
|
||||
char vertAlign;
|
||||
unsigned char horzAlign;
|
||||
unsigned char vertAlign;
|
||||
};
|
||||
|
||||
enum WindowDefStaticFlag : unsigned int
|
||||
|
@ -34,8 +34,8 @@ namespace IW4
|
||||
static_cast<float>(rect.y),
|
||||
static_cast<float>(rect.w),
|
||||
static_cast<float>(rect.h),
|
||||
static_cast<char>(rect.horizontalAlign),
|
||||
static_cast<char>(rect.verticalAlign)
|
||||
static_cast<unsigned char>(rect.horizontalAlign),
|
||||
static_cast<unsigned char>(rect.verticalAlign)
|
||||
};
|
||||
}
|
||||
|
||||
@ -46,8 +46,8 @@ namespace IW4
|
||||
static_cast<float>(rectRelativeTo.y + rect.y),
|
||||
static_cast<float>(rect.w),
|
||||
static_cast<float>(rect.h),
|
||||
static_cast<char>(rect.horizontalAlign),
|
||||
static_cast<char>(rect.verticalAlign)
|
||||
static_cast<unsigned char>(rect.horizontalAlign),
|
||||
static_cast<unsigned char>(rect.verticalAlign)
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user