| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor texture overrides, and add new features:
- Texture overrides can support multiple targets in one line
- Texture override files can have comment lines
- Item images/wield images can be overridden
* Formatting changes
* Address soime feedback
- Pass vectors by const reference
- Log syntax errors as warnings
- Remove 'C' prefix from TextureOverrideSource
* Simplify override target checks with an inline helper function
* make linter happy
* Apply feedback suggestions
Co-Authored-By: rubenwardy <rw@rubenwardy.com>
* Remove remaining != 0 checks
* Update copyright notice
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Fixes #9637.
|
| |
|
|
|
| |
This file is only called from client folder, retrieve its friends :)
|
|
|
|
|
|
|
|
|
|
| |
* Drop genericobject.{cpp,h}
This file is not for generic object but for ActiveObject message passing.
Put ownership of the various commands to the right objects and cleanup the related code.
* Protect ServerActiveObject::m_messages_out
* typo fix
|
| |
|
|
|
|
| |
Hide some unnecessarily verbose ones behind --trace or disable them entirely.
Remove duplicate ones. Improve their contents in some places.
|
|
|
|
|
|
|
| |
This will likely be more intuitive for users and should play better
with sandboxed distributions such as Flatpak.
In addition, the screenshot directory will now be created if it doesn't
exist already.
|
|
|
|
|
|
|
|
|
| |
Previously textures of the side faces on flowing liquid nodes would
become distorted on different axis depending on the liquid level. This
is because the nodes always had the same texture coordinates, even when
the generated face could have different sizes. This solves that problem
by adjusting the texture coordinates for the vertices making up the top
of the faces, so the textures will not look compressed for smaller
faces.
|
|
|
| |
Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
|
|
|
|
| |
bug was introduced in f3032a637c53f3c98fbbed1d3b691898aabe1687
|
|
|
| |
An alternative to #9537
|
|
|
|
|
| |
* Add translator comments for "special" strings
* Add translator comments for some "tricky" strings
|
|
|
| |
fixes #9482
|
| |
|
|
|
|
|
|
|
| |
Fix memory leak (unused allocation)
Fix star rendering
Rename sky color struct
Fix stars on android
Remove extraneous .data() from android star draw
|
| |
|
| |
|
| |
|
|
|
| |
This also fixes the F6 profiler background color -> now controlled by EnrichedString
|
| |
|
|
|
|
|
|
|
|
| |
* StaticText/EnrichedString: Styling support
* Fix tooltip fg/bgcolor
* Fix default color for substr(), add unittests
|
| |
|
|
|
|
|
| |
* Increase star count to 1000 and decrease radius slightly.
* Adjust star width.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is necessary under Windows systems, and direct IPv6 connections.
Windows universally disallows ':' from occuring in filenames.
Other disallowed characters on Windows:
\ / * ? " < > |
are not relevant to hostnames, IPv4 or IPv6 addresses.
Anyone who has got an existing server map saved on Linux with ':' in
the world save will want to keep that save.
|
| |
|
|
|
|
|
|
| |
GenericCAO::getPosition() did not take the camera offset into account
LocalPlayer attachment cleanup: Use sane getParent() function
Make that getPosition() (GenericCAO and LocalPlayer) always return the absolute position
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
fixes #8068
|
|
|
|
|
| |
Mods may want to to handle item interaction even if the item
is not marked usable (= server-side callback exists).
|
| |
|
|
|
|
| |
This also fixes find_node_near restrictions being ineffective.
|
| |
|
| |
|
|
|
|
| |
Preperation for server-sent CSM which will eventually need this.
|
| |
|
| |
|
| |
|
| |
|