Files
neoLegacy/Minecraft.Client/Common/UI/UIEnums.h
T
Tranqlmao 9abd52985e TU53 + Bug Fixes (Many)
Patch Notes:
Blocks
+ Colored shulker boxes
+ Concrete powder
+ Concrete
+ Glazed terracotta
Items
+ Shulker shell
+ Iron nugget
UI Changes
+ Added Custom Controls to Keyboard & Mouse, as well as Controller
+ Added Custom SuperFlat
+ Added Edit Server Menu
+ Added Firework Crafting
Feature Changes
+ Host Options
+ Added Pick Block
+ Added off-hand slot for maps and arrows.
Bug Fixes & changes
+ TU47: Banner hitbox wrong (and inventory model fixed)
+ TU47/48: Ice not melting properly
+ TU48: Dead bushes not dropping sticks
+ TU48: Guardians and polar bears not dropping cooked fish when on fire
+ TU48: Bonus chest missing saplings and seeds
+ TU48: Frosted ice obtainable
+ TU48: Hoppers not collecting items
+ TU48: Wither skeletons spawning in 2-high gaps
+ TU48: End crystals exploding with “TNT Explodes” off
+ TU48: Tamed ocelots staying hostile
+ TU48: Signs not placing on tall grass
+ TU51: Skeleton hitbox wrong
+ TU53: Fall damage in shallow water
+ TU53: Squids not spawning in man-made pools
+ Elytra has been improved to be more accurate to the source material
+ Removed Spectral Arrow from crafting
+ Fixed several broken item descriptions
+ You can no longer cook Pufferfish or Clownfish
+ Fixed scaling issue with paperdoll and chat
+ Iron and gold armor can now be smelted into nuggets.
+ More items can now be used as fuel in a furnace.
+ Using a firework rocket while gliding with elytra will now give the player a boost.
+ Changed the color of dyes, wool, carpets, and banners.
+ Reordered all colored blocks and items in the Creative inventory. Banners now have the same order of colors as all other colored blocks and items.
+ Fishing rods can now hook on entities without causing knockback or pseudo-damage.
+ Fixed banner crafting
+ Fixed Map colors for certain blocks
+ Fixed Path block height
+ Fixed String block issues
+ Fixed Item frame culling.
+ Fixed Tutorial world NBT/Block State issues
+ Fixed World Slider
+ Fixed Enderman AI
+ Fixed Player animation bug
+ HUD Flash text changes
+ Generation accuracy changes
+ Many other small accuracy changes and fixes
2026-11-24 13:44:06 -05:00

269 lines
6.2 KiB
C

#pragma once
// Defines the fixed groups for UI (lower numbers ticked first, rendered last (ie on top))
enum EUIGroup
{
eUIGroup_Fullscreen,
eUIGroup_Player1,
#ifndef __PSVITA__
eUIGroup_Player2,
eUIGroup_Player3,
eUIGroup_Player4,
#endif
eUIGroup_COUNT,
eUIGroup_PAD, // Special case to determine the group from the pad (default)
};
// Defines the layers in a UI group (lower numbers ticked first, rendered last (ie on top))
enum EUILayer
{
#ifndef _CONTENT_PACKAGE
eUILayer_Debug,
#endif
eUILayer_Tooltips,
eUILayer_Error,
eUILayer_Alert,
eUILayer_Fullscreen, // Note: Fullscreen in this context doesn't necessarily mean fill the whole screen, but fill the whole viewport for this group. Enables processes that don't interefere with normal scene stack
eUILayer_Popup,
eUILayer_Scene,
//eUILayer_Chat,
eUILayer_HUD,
eUILayer_COUNT,
};
// Defines the scenes and components that can be added to a layer
// If you add to the enums below, you need to add the scene name in the right place in CConsoleMinecraftApp::wchSceneA
enum EUIScene
{
eUIScene_PartnernetPassword = 0,
eUIScene_Intro,
eUIScene_SaveMessage,
eUIScene_MainMenu,
eUIScene_FullscreenProgress,
eUIScene_PauseMenu,
eUIScene_CraftingMenu,
eUIScene_ClassicCraftingMenu,
eUIScene_FurnaceMenu,
eUIScene_ContainerMenu,
eUIScene_LargeContainerMenu,// for splitscreen
eUIScene_InventoryMenu,
eUIScene_DispenserMenu,
eUIScene_DebugOptions,
eUIScene_DebugTips,
eUIScene_HelpAndOptionsMenu,
eUIScene_HowToPlay,
eUIScene_HowToPlayMenu,
eUIScene_ControlsMenu,
eUIScene_SettingsOptionsMenu,
eUIScene_SettingsAudioMenu,
eUIScene_SettingsGraphicsMenu,
eUIScene_SettingsPostProcessingMenu,
eUIScene_SettingsUIMenu,
eUIScene_SettingsMenu,
eUIScene_LeaderboardsMenu,
eUIScene_Credits,
eUIScene_DeathMenu,
eUIComponent_TutorialPopup,
eUIScene_CreateWorldMenu,
eUIScene_LoadOrJoinMenu,
eUIScene_JoinMenu,
eUIScene_SignEntryMenu,
eUIScene_InGameInfoMenu,
eUIScene_ConnectingProgress,
eUIScene_DLCOffersMenu,
eUIScene_SocialPost,
eUIScene_TrialExitUpsell,
eUIScene_LoadMenu,
eUIComponent_Chat,
eUIScene_ReinstallMenu,
eUIScene_SkinSelectMenu,
eUIScene_TextEntry,
eUIScene_InGameHostOptionsMenu,
eUIScene_InGamePlayerOptionsMenu,
eUIScene_CreativeMenu,
eUIScene_LaunchMoreOptionsMenu,
eUIScene_LoadCreateJoinMenu,
eUIScene_DLCMainMenu,
eUIScene_NewUpdateMessage,
eUIScene_EnchantingMenu,
eUIScene_BrewingStandMenu,
eUIScene_EndPoem,
eUIScene_HUD,
eUIScene_TradingMenu,
eUIScene_AnvilMenu,
eUIScene_TeleportMenu,
eUIScene_HopperMenu,
eUIScene_BeaconMenu,
eUIScene_HorseMenu,
eUIScene_FireworksMenu,
eUIScene_BookMenu,
eUIScene_AchievementsMenu,
#ifdef _XBOX
// eUIScene_TransferToXboxOne,
#endif
// ****************************************
// ****************************************
// ********** IMPORTANT ******************
// ****************************************
// ****************************************
// When adding new scenes here, you must also update the switches in CConsoleMinecraftApp::NavigateToScene
// There are quite a few so you need to check them all
// Also update UILayer::updateFocusState
#ifndef _XBOX
// Anything non-xbox should be added here. The ordering of scenes above is required for sentient reporting on xbox 360 to continue to be accurate
eUIComponent_Panorama,
eUIComponent_Logo,
eUIComponent_DebugUIConsole,
eUIComponent_DebugUIMarketingGuide,
eUIComponent_Tooltips,
eUIComponent_PressStartToPlay,
eUIComponent_MenuBackground,
eUIScene_Keyboard,
eUIScene_QuadrantSignin,
eUIScene_MessageBox,
eUIScene_Timer,
eUIScene_EULA,
eUIScene_InGameSaveManagementMenu,
eUIScene_LanguageSelector,
#ifdef _WINDOWS64
eUIScene_KeybindsMenu,
eUIScene_BindingsTypeMenu,
eUIScene_SuperflatMenu,
eUIScene_SuperflatEditLayerMenu,
eUIScene_SuperflatPresetsMenu,
eUIScene_EditServerMenu,
#endif
#endif // ndef _XBOX
#ifdef _DEBUG_MENUS_ENABLED
eUIScene_DebugOverlay,
eUIScene_DebugItemEditor,
eUIScene_DebugCreateSchematic,
eUIScene_DebugSetCamera,
#endif
eUIScene_COUNT,
};
// Used by the fullscreen progress scene to decide what to do when a thread finishes
enum ProgressionCompletionType
{
e_ProgressCompletion_NoAction,
e_ProgressCompletion_NavigateBack,
e_ProgressCompletion_CloseUIScenes,
e_ProgressCompletion_CloseAllPlayersUIScenes,
e_ProgressCompletion_NavigateToHomeMenu,
e_ProgressCompletion_AutosaveNavigateBack,
e_ProgressCompletion_NavigateBackToScene,
};
enum EToolTipButton
{
eToolTipButtonA = 0,
eToolTipButtonB,
eToolTipButtonX,
eToolTipButtonY,
eToolTipButtonLT,
eToolTipButtonRT,
eToolTipButtonLB,
eToolTipButtonRB,
eToolTipButtonLS,
eToolTipButtonRS,
eToolTipButtonBack,
eToolTipNumButtons
};
enum EToolTipItem
{
eToolTipNone = -1,
eToolTipPickupPlace_OLD = 0, // To support existing menus.
eToolTipExit,
eToolTipPickUpGeneric,
eToolTipPickUpAll,
eToolTipPickUpHalf,
eToolTipPlaceGeneric,
eToolTipPlaceOne,
eToolTipPlaceAll,
eToolTipDropGeneric,
eToolTipDropOne,
eToolTipDropAll,
eToolTipSwap,
eToolTipQuickMove,
eToolTipQuickMoveIngredient,
eToolTipQuickMoveFuel,
eToolTipWhatIsThis,
eToolTipEquip,
eToolTipClearQuickSelect,
eToolTipQuickMoveTool,
eToolTipQuickMoveArmor,
eToolTipQuickMoveWeapon,
eToolTipDye,
eToolTipRepair,
eNumToolTips
};
enum EHowToPlayPage
{
eHowToPlay_WhatsNew = 0,
eHowToPlay_Basics,
eHowToPlay_Multiplayer,
eHowToPlay_HUD,
eHowToPlay_Creative,
eHowToPlay_Inventory,
eHowToPlay_Chest,
eHowToPlay_LargeChest,
eHowToPlay_Enderchest,
eHowToPlay_InventoryCrafting,
eHowToPlay_CraftTable,
eHowToPlay_Furnace,
eHowToPlay_Dispenser,
eHowToPlay_Brewing,
eHowToPlay_Enchantment,
eHowToPlay_Anvil,
eHowToPlay_FarmingAnimals,
eHowToPlay_Breeding,
eHowToPlay_Trading,
eHowToPlay_Horses,
eHowToPlay_Beacons,
eHowToPlay_Fireworks,
eHowToPlay_Hoppers,
eHowToPlay_Droppers,
eHowToPlay_NetherPortal,
eHowToPlay_TheEnd,
#ifdef _XBOX
eHowToPlay_SocialMedia,
eHowToPlay_BanList,
#endif
eHowToPlay_HostOptions,
eHowToPlay_NumPages
};
// Credits
enum ECreditTextTypes
{
eExtraLargeText = 0,
eLargeText,
eMediumText,
eSmallText,
eNumTextTypes
};
enum EUIMessage
{
eUIMessage_InventoryUpdated,
eUIMessage_COUNT,
};
#define NO_TRANSLATED_STRING ( -1 ) // String ID used to indicate that we are using non localised string.
#define CONNECTING_PROGRESS_CHECK_TIME 500