| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
| |
Pauses all mesh animations while game is paused.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Shader generation is a mess. This commit cleans some parts up, including dropping remains of HLSL support which was never actually implemented.
|
| |
|
|
|
|
| |
IrrLicht built-in shader is broken, have to write my own
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the following table:
* MOUSE_L -> DIG
* MOUSE_R -> PLACE
* SCROLL_UP -> HOTBAR_NEXT
* SCROLL_DOWN -> HOTBAR_PREV
This commit entirely removes the special KeyTypes used for joysticks.
Support for the MOUSE KeyTypes had already been removed in the main
game code without adapting the joystick code, breaking joystick
input. This commit restores joystick functionality.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Features:
* Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes()
* New HUD elements for displaying minimap with custom size and placing
* New minimap mode for displaying a texture instead of the map
|
|
|
|
|
|
| |
Fixes some other third person camera specific attachments.
Implements a single new flag for entities to be forced visible in first person mode.
Old mods do not need to be updated to use the new flag and are fully backwards compatible.
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
|
| |
|
|
|
|
| |
Adds new object crosshair base pack texture
|
|
|
| |
Remove duplicated variables and unify the startup data into a new (inherited) struct.
|
|
|
| |
Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
Log all higher levels in LogOutputBuffer
Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
|
|
|
|
|
|
|
| |
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles.
Add "off state" textures to the builtin statbars.
Co-authored-by: SmallJoker <mk939@ymail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Server::overrideDayNightRatio doesn't require to return bool
There is no sense to sending null player, the caller should send a valid object
* Server::init: make private & cleanup
This function is always called before start() and loads some variables which can be loaded in constructor directly.
Make it private and call it directly in start
* Split Server inventory responsibility to a dedicated object
This splits permit to found various historical issues:
* duplicate lookups on player connection
* sending inventory to non related player when a player connects
* non friendly lookups on detached inventories ownership
This reduce the detached inventory complexity and also increased the
lookup performance in a quite interesting way for servers with thousands
of inventories.
|
| |
|
| |
|
| |
|
|
|
|
| |
* Add server side translations capability
|
| |
|
|
|
|
| |
Removes duplicated offset calculations from Game and use whatever the Camera class returns.
This keeps the eye position nicely in sync, and gets rid of duplicated code.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Hide some unnecessarily verbose ones behind --trace or disable them entirely.
Remove duplicate ones. Improve their contents in some places.
|
|
|
|
|
| |
* Add translator comments for "special" strings
* Add translator comments for some "tricky" strings
|
| |
|
| |
|
|
|
|
|
| |
Mods may want to to handle item interaction even if the item
is not marked usable (= server-side callback exists).
|
|
|
|
| |
Crash occurred in singleplayer when leaving a world with
autoforward enabled then re-entering a world.
|
| |
|
|
|
|
|
| |
1. Pass current camera offset to shader, so shader have access to the global coordinates
2. Pass animation timer to fragment shader. C++ code is already there, just wasn't declared in the shader
3. Delay animation timer wrap-around (from 100s to about 16 minutes)
|
|
|
|
| |
ItemDefinition &selected_def,
|
| |
|