aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h
diff options
context:
space:
mode:
authorLoki Rautio <lokirautio@gmail.com>2026-03-07 21:12:22 -0600
committerLoki Rautio <lokirautio@gmail.com>2026-03-07 21:12:22 -0600
commit087b7e7abfe81dd7f0fdcdea36ac9f245950df1a (patch)
tree69454763e73ca764af4e682d3573080b13138a0e /Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h
parenta9be52c41a02d207233199e98898fe7483d7e817 (diff)
Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore functionality of the nightly. All in-game menus do not work and generating a world crashes. This reverts commit a9be52c41a02d207233199e98898fe7483d7e817.
Diffstat (limited to 'Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h')
-rw-r--r--Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h b/Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h
index b749a164..e8405d5e 100644
--- a/Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h
+++ b/Minecraft.Client/Xbox/Sentient/Include/SenClientResource.h
@@ -45,10 +45,10 @@ namespace Sentient
enum SenResourceID : INT32
{
/// This is used to indicate a failed search, an invalid resource structure, or sometimes to substitute for a default.
- SenResourceID_Invalid = static_cast<INT32>(SenResourceType_Invalid) << 24,
+ SenResourceID_Invalid = (INT32)SenResourceType_Invalid << 24,
/// This is the first VIP reward costume and there is one for each title.
- SenResourceID_Superstar_0 = static_cast<INT32>(SenResourceType_Avatar) << 24,
+ SenResourceID_Superstar_0 = (INT32)SenResourceType_Avatar << 24,
/// This is the second VIP reward costume and there is one for each title.
SenResourceID_Superstar_1,
/// This is the third VIP reward costume and there is one for each title.
@@ -59,15 +59,15 @@ namespace Sentient
SenResourceID_Superstar_4,
/// This is used for the cross-sell screen and contains things such as an image, offerID, strings, etc.
- SenResourceID_BoxArt_0 = static_cast<INT32>(SenResourceType_BoxArt) << 24,
+ SenResourceID_BoxArt_0 = (INT32)SenResourceType_BoxArt << 24,
/// This is used for game-private config files, and is only the base of the range.
/// Titles may use the entire 24-bit space for various custom config files.
- SenResourceID_Config_0 = static_cast<INT32>(SenResourceType_Config) << 24,
+ SenResourceID_Config_0 = (INT32)SenResourceType_Config << 24,
/// This is used for server-supplied help files/text.
/// At the moment, this is not supported.
- SenResourceID_Help_0 = static_cast<INT32>(SenResourceType_Help) << 24,
+ SenResourceID_Help_0 = (INT32)SenResourceType_Help << 24,
};