This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp | |
index a58b0efe6..1aebaa4e0 100644 | |
--- a/src/client/renderingengine.cpp | |
+++ b/src/client/renderingengine.cpp | |
@@ -146,6 +146,7 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver) | |
auto skin = createSkin(m_device->getGUIEnvironment(), | |
gui::EGST_WINDOWS_METALLIC, driver); | |
m_device->getGUIEnvironment()->setSkin(skin); | |
+ m_device->maximizeWindow(); | |
skin->drop(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
clear | |
GITURL=https://github.com/minetest | |
CORE_GIT=$GITURL/minetest | |
CORE_BRANCH=master | |
CORE_NAME=minetest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 4ec99632b153a9a3ecf6cf123353f675ba12b1d6 | |
Author: Jean-Patrick Guerrero <kilbith@users.noreply.github.com> | |
Date: Wed Nov 16 01:58:15 2022 +0100 | |
Add core.get_pixel_color() | |
diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp | |
index a5daae346..a0b90087c 100644 | |
--- a/src/script/lua_api/l_server.cpp | |
+++ b/src/script/lua_api/l_server.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cam1:set_viewport{x = 100, y = 50, w = 800, h = 600} | |
cam2:set_viewport{x = 2700, y = 1500, w = 800, h = 600} | |
player:attach_camera(cam1:get_id()) | |
player:set_active_camera(cam1:get_id()) | |
player:set_active_camera(cam2:get_id()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local vec = vector.new | |
local vec_round = vector.round | |
local cam, player | |
local hud, init_hud, smiley | |
local old_rot | |
minetest.register_on_joinplayer(function(player) | |
player = player | |
init_hud = player:hud_add { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local NUMBER_OF_CALLS = 20 | |
x = {} | |
for i = 1, 1e4 do | |
x[string.char(math.random(128))] = "foo" | |
end | |
function x.test() | |
local o = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/client/camera.cpp b/src/client/camera.cpp | |
index 46464404..5426b9df 100644 | |
--- a/src/client/camera.cpp | |
+++ b/src/client/camera.cpp | |
@@ -234,7 +234,7 @@ void Camera::addArmInertia(f32 player_yaw) | |
m_last_cam_pos.X = player_yaw; | |
m_wieldmesh_offset.X = rangelim(m_wieldmesh_offset.X, | |
- WIELDMESH_OFFSET_X - 7.0f, WIELDMESH_OFFSET_X + 7.0f); | |
+ WIELDMESH_OFFSET_X - 3.0f, WIELDMESH_OFFSET_X + 3.0f); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/client/camera.cpp b/src/client/camera.cpp | |
index 46464404..5426b9df 100644 | |
--- a/src/client/camera.cpp | |
+++ b/src/client/camera.cpp | |
@@ -234,7 +234,7 @@ void Camera::addArmInertia(f32 player_yaw) | |
m_last_cam_pos.X = player_yaw; | |
m_wieldmesh_offset.X = rangelim(m_wieldmesh_offset.X, | |
- WIELDMESH_OFFSET_X - 7.0f, WIELDMESH_OFFSET_X + 7.0f); | |
+ WIELDMESH_OFFSET_X - 3.0f, WIELDMESH_OFFSET_X + 3.0f); |