Update some textures, for fun!

master
Auri 2021-09-01 15:05:11 -07:00
parent f19199dbb3
commit 73b2994fdd
10 changed files with 13 additions and 13 deletions

View File

@ -45,9 +45,9 @@ bool Input::isMouseDown(u32 button) {
void Input::setMouseLocked(bool lock) {
forceMouseUnlocked = !lock;
mouseLocked = lock;
let mousePos = static_cast<Window*>(glfwGetWindowUserPointer(window))->getSize() / 2;
glfwSetCursorPos(window, mousePos.x, mousePos.y);
ivec2 mousePos = static_cast<Window*>(glfwGetWindowUserPointer(window))->getSize() / 2;
glfwSetInputMode(window, GLFW_CURSOR, (mouseLocked ? GLFW_CURSOR_HIDDEN : GLFW_CURSOR_NORMAL));
glfwSetCursorPos(window, lock ? LOCKED_MOUSE_POS.x : mousePos.x, lock ? LOCKED_MOUSE_POS.y : mousePos.y);
}
ivec2 Input::getMousePos() {

View File

@ -45,7 +45,7 @@ chat._refresh = function()
local i = 0
for _, identifier in ipairs(chat.channel_order) do
local channel = chat.channels[identifier]
chat_menu_tabs:append(Gui.Box {
chat_menu_tabs:append(zepha.Gui.Box {
size = { '48dp', '10dp' },
pos = { i * 49 .. 'dp', '0dp' },
background = (chat.current_channel == identifier) and '#0005' or '#0002',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 B

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 496 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 689 B

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1,6 +1,6 @@
local identifier = "zeus:world:plains"
local wood = "zeus:default:wood"
local wood = "zeus:default:bush_stem"
local leaf = "zeus:default:leaves"
local none = "invalid"
@ -93,13 +93,13 @@ table.insert(structures, zepha.create_structure({
origin = V(2, 2, 2),
probability = 0.0005,
layout = {
trunk_layer_0,
trunk_layer_0,
trunk_layer_0,
trunk_layer_0,
trunk_layer_1,
trunk_layer_1,
trunk_layer_1,
-- trunk_layer_0,
-- trunk_layer_0,
-- trunk_layer_0,
-- trunk_layer_0,
-- trunk_layer_1,
-- trunk_layer_1,
-- trunk_layer_1,
trunk_layer_2,
trunk_layer_2,
trunk_layer_2,
@ -128,7 +128,7 @@ for i = 1, 5 do
layout = {{{ "zeus:default:tall_grass_" .. tostring(i) }}}
}))
end
--
table.insert(structures, zepha.create_structure({
origin = V(),
probability = 0.025,
@ -200,7 +200,7 @@ zepha.register_biome(identifier, {
},
tags = { natural = 1, default = 1 },
structures = structures,
biome_tint = "#aaed45",
biome_tint = "#6effee",
noise = noise
})