mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
Use standard small-id types in player options
This commit is contained in:
parent
c72b3d757a
commit
d89db4917a
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "UIScene.h"
|
#include "UIScene.h"
|
||||||
|
|
||||||
class UIScene_InGamePlayerOptionsMenu : public UIScene
|
class UIScene_InGamePlayerOptionsMenu : public UIScene
|
||||||
|
|
@ -27,7 +29,7 @@ private:
|
||||||
|
|
||||||
bool m_bShouldNavBack;
|
bool m_bShouldNavBack;
|
||||||
bool m_editingSelf;
|
bool m_editingSelf;
|
||||||
BYTE m_networkSmallId;
|
std::uint8_t m_networkSmallId;
|
||||||
unsigned int m_playerPrivileges;
|
unsigned int m_playerPrivileges;
|
||||||
|
|
||||||
UIControl_Label m_labelGamertag;
|
UIControl_Label m_labelGamertag;
|
||||||
|
|
@ -87,4 +89,4 @@ private:
|
||||||
used after changing the moderator checkbox.
|
used after changing the moderator checkbox.
|
||||||
*/
|
*/
|
||||||
void resetCheatCheckboxes();
|
void resetCheatCheckboxes();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -388,7 +388,7 @@ DLCOffersParam;
|
||||||
typedef struct _InGamePlayerOptionsInitData
|
typedef struct _InGamePlayerOptionsInitData
|
||||||
{
|
{
|
||||||
int iPad;
|
int iPad;
|
||||||
BYTE networkSmallId;
|
std::uint8_t networkSmallId;
|
||||||
unsigned int playerPrivileges;
|
unsigned int playerPrivileges;
|
||||||
} InGamePlayerOptionsInitData;
|
} InGamePlayerOptionsInitData;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
#include "../Media/xuiscene_ingame_player_options.h"
|
#include "../Media/xuiscene_ingame_player_options.h"
|
||||||
|
|
||||||
class CScene_InGamePlayerOptions : public CXuiSceneImpl
|
class CScene_InGamePlayerOptions : public CXuiSceneImpl
|
||||||
|
|
@ -79,7 +81,7 @@ public:
|
||||||
private:
|
private:
|
||||||
bool m_editingSelf;
|
bool m_editingSelf;
|
||||||
int m_iPad;
|
int m_iPad;
|
||||||
BYTE m_networkSmallId;
|
std::uint8_t m_networkSmallId;
|
||||||
unsigned int m_playerPrivileges;
|
unsigned int m_playerPrivileges;
|
||||||
D3DXVECTOR3 m_OriginalPosition;
|
D3DXVECTOR3 m_OriginalPosition;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue