mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-04 07:00:18 +01:00
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
This commit is contained in:
1 parent
8de3b79e65
commit
9abd52985e
483 files changed
+15228
-4114
No files matched your search
@@ -27,6 +27,7 @@
|
||||
#include "../Minecraft.h"
|
||||
#include "../ChatScreen.h"
|
||||
#include "KeyboardMouseInput.h"
|
||||
#include "ControllerBinds.h"
|
||||
#include "../User.h"
|
||||
#include "../../Minecraft.World/Socket.h"
|
||||
#include "../../Minecraft.World/ThreadName.h"
|
||||
@@ -431,6 +432,12 @@ void DefineActions(void)
|
||||
InputManager.SetGameJoypadMaps(MAP_STYLE_2,MINECRAFT_ACTION_DPAD_UP, _360_JOY_BUTTON_DPAD_UP);
|
||||
InputManager.SetGameJoypadMaps(MAP_STYLE_2,MINECRAFT_ACTION_DPAD_DOWN, _360_JOY_BUTTON_DPAD_DOWN);
|
||||
|
||||
for (unsigned char map = MAP_STYLE_0; map <= MAP_STYLE_2; ++map)
|
||||
{
|
||||
InputManager.SetGameJoypadMaps(map, MINECRAFT_ACTION_SPRINT, 0);
|
||||
InputManager.SetGameJoypadMaps(map, MINECRAFT_ACTION_PICK_BLOCK, 0);
|
||||
}
|
||||
|
||||
for (int pad = 0; pad < 4; pad++)
|
||||
{
|
||||
InputManager.AddMapButtonSwap(pad, 1, 0, _360_JOY_BUTTON_A, _360_JOY_BUTTON_B);
|
||||
@@ -1292,7 +1299,7 @@ static bool ResizeD3D(int newW, int newH)
|
||||
|
||||
Minecraft* pMinecraft = Minecraft::GetInstance();
|
||||
if (pMinecraft != nullptr)
|
||||
pMinecraft->resize(bbW, bbH);
|
||||
pMinecraft->resize(bbH > 0 ? 720 * bbW / bbH : 1280, 720);
|
||||
RenderManager.SetBackBufferSize(bbW, bbH);
|
||||
|
||||
success = true;
|
||||
@@ -1348,7 +1355,7 @@ postReset:
|
||||
|
||||
Minecraft* pMinecraft = Minecraft::GetInstance();
|
||||
if (pMinecraft != nullptr)
|
||||
pMinecraft->resize(recW, recH);
|
||||
pMinecraft->resize(recH > 0 ? 720 * recW / recH : 1280, 720);
|
||||
RenderManager.SetBackBufferSize(recW, recH);
|
||||
}
|
||||
|
||||
@@ -1531,9 +1538,10 @@ static Minecraft* InitialiseMinecraftRuntime()
|
||||
app.loadStringTable();
|
||||
ui.init(g_pd3dDevice, g_pImmediateContext, g_pRenderTargetView, g_pDepthStencilView, g_rScreenWidth, g_rScreenHeight);
|
||||
|
||||
InputManager.Initialise(1, 3, MINECRAFT_ACTION_MAX, ACTION_MAX_MENU);
|
||||
InputManager.Initialise(1, ControllerBinds::MAP_COUNT, MINECRAFT_ACTION_MAX, ACTION_MAX_MENU);
|
||||
g_KBMInput.Init();
|
||||
DefineActions();
|
||||
ControllerBinds::Init();
|
||||
InputManager.SetJoypadMapVal(0, 0);
|
||||
InputManager.SetKeyRepeatRate(0.3f, 0.2f);
|
||||
|
||||
@@ -2133,7 +2141,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
}
|
||||
|
||||
// F2 takes a screenshot (works in any context)
|
||||
if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_SCREENSHOT))
|
||||
if (!g_KBMInput.IsBindCapture() && g_KBMInput.IsBindPressed(KeyboardMouseInput::KB_SCREENSHOT))
|
||||
{
|
||||
wstring filename;
|
||||
if (TakeScreenshot(filename))
|
||||
@@ -2147,7 +2155,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
}
|
||||
|
||||
// F1 toggles the HUD
|
||||
if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_TOGGLE_HUD))
|
||||
if (!g_KBMInput.IsBindCapture() && g_KBMInput.IsBindPressed(KeyboardMouseInput::KB_TOGGLE_HUD))
|
||||
{
|
||||
const int primaryPad = ProfileManager.GetPrimaryPad();
|
||||
const unsigned char displayHud = app.GetGameSettings(primaryPad, eGameSetting_DisplayHUD);
|
||||
@@ -2156,10 +2164,10 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
}
|
||||
|
||||
// F3 toggles onscreen debug info
|
||||
if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_DEBUG_INFO)) f3ComboUsed = false;
|
||||
if (!g_KBMInput.IsBindCapture() && g_KBMInput.IsBindPressed(KeyboardMouseInput::KB_DEBUG_INFO)) f3ComboUsed = false;
|
||||
|
||||
// f3 combo
|
||||
if (g_KBMInput.IsKeyDown(KeyboardMouseInput::KEY_DEBUG_INFO))
|
||||
if (!g_KBMInput.IsBindCapture() && g_KBMInput.IsBindDown(KeyboardMouseInput::KB_DEBUG_INFO))
|
||||
{
|
||||
switch (g_KBMInput.GetPressedKey())
|
||||
{
|
||||
@@ -2191,7 +2199,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
}
|
||||
|
||||
// no combo
|
||||
if (g_KBMInput.IsKeyReleased(KeyboardMouseInput::KEY_DEBUG_INFO) && !f3ComboUsed)
|
||||
if (!g_KBMInput.IsBindCapture() && g_KBMInput.IsBindReleased(KeyboardMouseInput::KB_DEBUG_INFO) && !f3ComboUsed)
|
||||
if (pMinecraft->options)
|
||||
pMinecraft->options->renderDebug = !pMinecraft->options->renderDebug;
|
||||
|
||||
@@ -2208,7 +2216,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
#endif
|
||||
|
||||
// toggle fullscreen (DXGI exclusive via ApplyExclusiveFullscreen)
|
||||
if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_FULLSCREEN))
|
||||
if (!g_KBMInput.IsBindCapture() && g_KBMInput.IsBindPressed(KeyboardMouseInput::KB_FULLSCREEN))
|
||||
{
|
||||
ApplyExclusiveFullscreen(!g_bDxgiExclusiveFullscreen);
|
||||
app.SetGameSettings(ProfileManager.GetPrimaryPad(), eGameSetting_ExclusiveFullscreen, g_bDxgiExclusiveFullscreen ? 1 : 0);
|
||||
@@ -2234,7 +2242,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
}
|
||||
|
||||
// Open chat
|
||||
if (g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_CHAT) && app.GetGameStarted() && !ui.GetMenuDisplayed(0) && pMinecraft->screen == NULL)
|
||||
if (g_KBMInput.IsBindPressed(KeyboardMouseInput::KB_CHAT) && app.GetGameStarted() && !ui.GetMenuDisplayed(0) && pMinecraft->screen == NULL)
|
||||
{
|
||||
g_KBMInput.ClearCharBuffer();
|
||||
pMinecraft->setScreen(new ChatScreen());
|
||||
|
||||
Reference in new issue
Block a user