sfan5
51294163bb
Use Irrlicht bindings for GL call
2022-03-09 22:37:34 +01:00
Dmitry Kostenko
4801bdf45a
Correct normal bias for entities
...
Remove use of magic constants.
Apply cameraOffset
Calculate distance projected on SM plane
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
8f652f4e31
Fix shadows for upright sprite nodes
...
Avoid using read only materials in mesh scene node, as
it confuses shadow renderer.
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
d2a3bed240
Avoid possible buffer overflow when checking face normals
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
e4583cb9b7
Use correct indexes when checking mesh normals
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
1175f48d05
Detect 'insane' normals in checkMeshNormals.
...
Detect non-zero normals which point in the opposite direction from the
face plane normal.
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
54dccc480e
Improve lighting of entities.
...
Pass correct natural & artificial light to the shaders
Use natural/artificial light ratio for correct rendering of shadows
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
4e39cdef94
Apply shadow texture to wield-based entities
...
For example, dropped nodes and items.
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
2bba53b2c3
Render shadows on entities.
...
Fixes problem with mod 'drawers'.
2022-03-07 23:45:26 +01:00
Lars Müller
b9e886726c
Readd basic_debug as a HUD flag ( #12020 )
2022-03-05 22:16:17 +01:00
DS
a8707158a5
Allow to set the displayed item count and its alignment via meta ( #8448 )
...
* Allow to set the displayed item count and its offset via meta
* fix rect constr call
* devtest: add dump_item chatcommand
* fix rect2 constr call (sdim is a position (typedef for v2s32), not a dimension) and remove background because it would work now
* add missing utf8 to wide conversion
* rename to count_meta
2022-02-10 06:17:52 -05:00
rubenwardy
c61998bd20
Revert "Disable dynamic shadows for the 5.5.0 release" ( #12032 )
2022-01-31 21:48:14 +00:00
Lars Mueller
1e4d6672be
Fix builtin statbar backgrounds
...
see #12000
2022-01-31 16:35:30 -05:00
sfan5
5da204f5bc
Get rid of basic_debug
last minute
...
This isn't a revert but rather just disables the codepaths. also see #12011
2022-01-30 21:32:49 +01:00
SmallJoker
a27362de6a
Disable dynamic shadows for the 5.5.0 release
...
The dynamic shadows are yet not in the desired state to justify the
inclusion into version 5.5.0. A stable release is long overdue, hence
this allows fixes to continue in 5.6.0-dev to finally release an
acceptable version of the dynamic shadows feature.
Reverting this commit is highly recommended to proceed in development.
2022-01-29 18:42:55 -05:00
sfan5
058846d687
Rework drawtime and related timekeeping code to use microseconds
2022-01-27 22:30:02 +01:00
Jude Melton-Houghton
fc161e757c
Automatically migrate client mod storage ( #11960 )
2022-01-27 22:24:30 +01:00
sfan5
f8cef52ea0
Fix consistency of sky sun/moon texture behaviour
...
Also cleans up related code somewhat.
2022-01-22 11:18:34 -05:00
Zughy
37d80784dd
Allow resetting celestial vault elements by leaving its arguments empty ( #11922 )
2022-01-22 12:42:49 +01:00
sfan5
f66ed2c27f
Fix local animation not instantly updating after being set
2022-01-19 23:30:18 +01:00
Dmitry Kostenko
b6555ee6af
Reset override material in anaglyph
...
Reset override material properties before applying the color filter.
2022-01-16 13:10:33 +01:00
sfan5
5eb45e1ea0
Restore pass-through of direction keys ( #11924 )
...
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
2022-01-09 18:46:36 +01:00
sfan5
76dbd0d2d0
Fully remove bitmap font support ( #11863 )
...
Freetype is now a build requirement.
2022-01-08 14:53:25 +01:00
Jude Melton-Houghton
bf22569019
Use a database for mod storage ( #11763 )
2022-01-07 20:28:49 +02:00
Wuzzy
84fdd369d4
Cap damage overlay duration to 1 second ( #11871 )
2022-01-02 22:14:02 -05:00
x2048
e030d9cff0
Recalculate normals before adding mesh to the scene
2022-01-02 14:32:13 +01:00
ShadowNinja
29d2b2ccd0
Print announce error response ( #11878 )
...
Fix HTTPFetch caller and request ID to 64 bits
Check that allocated caller ID is not DISCARD
Print body if serverlist request returns error
Don't print control characters from HTTP responses
Document special HTTPFetch caller IDs
Allow unicode to be printed
2022-01-01 22:44:56 +01:00
Vincent Robinson
4a16ab3585
Improve TTF support for pixel-style fonts ( #11848 )
2021-12-30 12:54:21 -08:00
sfan5
0ea8df4d64
Socket-related cleanups
...
Improve error handling on Windows and reduce the size of the `Address` class
2021-12-29 23:01:26 +01:00
Vitaliy
9b650b9efb
Add more neighbors on mesh update ( #6765 )
2021-12-29 22:59:53 +01:00
SmallJoker
481bb90eac
Fix segfault in drawItems() due to missing inventory list
...
This fixes a nullptr dereference when the specified inventory list is not known.
Happens when HUD elements are sent before the required inventory list is created.
2021-12-29 19:20:49 +01:00
JosiahWI
7f6306ca96
Restore GCC 5 compatibility ( #11778 )
2021-12-28 14:05:49 +01:00
sfan5
49f7d2494c
Protect font initialization with mutex
...
fixes #4532
2021-12-18 20:38:33 +01:00
ROllerozxa
fcf86ded8f
Disable inventory if player's inventory formspec is blank ( #11827 )
2021-12-13 17:43:29 +01:00
Wuzzy
f71091bf52
Remove creative/damage info in Esc/Pause menu
2021-12-13 17:33:21 +01:00
sfan5
ff934d538c
Fix various code & correctness issues ( #11815 )
2021-12-05 14:40:30 +01:00
SmallJoker
57a59ae92d
Network: Delete copy constructor and use std::move instead ( #11642 )
...
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
2021-12-01 20:22:33 +01:00
HybridDog
7a1464d783
Minimap: gamma-correct average texture colour calculation ( #9249 )
...
This calculates the average texture colour while heeding the sRGB colourspace.
2021-11-26 19:30:49 +01:00
sfan5
206e131854
Add backwards-compatible behaviour if too few CAO textures specified
...
(#11766 )
2021-11-22 17:27:49 +00:00
savilli
c9070e54bc
Fix local digging animation ( #11772 )
2021-11-19 22:31:04 +00:00
Riceball LEE
693f98373b
Localize error messages in mainmenu ( #11495 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-11-01 12:27:46 +00:00
Wuzzy
6910c8d920
Fix number of tool uses being off by 1..32767 ( #11110 )
2021-10-31 22:33:33 +00:00
Isabelle COWAN-BERGMAN
532d5b21fd
Add joystick layout for DragonRise GameCube controller ( #11467 )
2021-10-31 19:17:47 +01:00
Jude Melton-Houghton
1e26e45530
Limit stepheight smoothing to the stepheight and stop smoothing during jumps ( #11705 )
2021-10-25 20:31:14 +02:00
Lars Müller
0d345dc1bd
Fix view bobbing not resetting when resting
...
partially fixes #11694 , also fixes #11692
2021-10-20 21:51:21 +02:00
Wuzzy
86b44ecd82
Add no_texture.png as fallback for unspecified textures
2021-10-20 21:50:16 +02:00
LoneWolfHT
c82ec8b210
Fix compiling on Windows with Visual Studio
2021-10-15 18:16:09 +02:00
hecks
02292e03e4
Add embedded PNG texture modifier ( #11498 )
2021-10-13 17:51:37 +02:00
SmallJoker
ecc6f4ba25
Remove a few unused functions reported by callcatcher ( #11658 )
2021-10-12 20:12:20 +02:00
lhofhansl
b4b9bee5f2
Reduce shadow jitter ( #11668 )
2021-10-05 21:54:01 +02:00