mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Made mesh update on node addition asynchronous on client, to reduce frametime spikes
This commit is contained in:
parent
212f34db82
commit
e56d166337
2 changed files with 13 additions and 3 deletions
11
src/main.cpp
11
src/main.cpp
|
@ -116,6 +116,11 @@ Gaming ideas:
|
|||
Game content:
|
||||
-------------
|
||||
- Glass blocks
|
||||
- WHen furnace is destroyed, move items to player's inventory
|
||||
- Growing grass, decaying leaves
|
||||
- This can be done in the active blocks I guess.
|
||||
- Lots of stuff can be done in the active blocks.
|
||||
- Uh, is there an active block list somewhere?
|
||||
|
||||
Documentation:
|
||||
--------------
|
||||
|
@ -162,7 +167,7 @@ TODO: Make fetching sector's blocks more efficient when rendering
|
|||
|
||||
TODO: Flowing water animation
|
||||
|
||||
* Combine meshes to bigger ones in ClientMap and set them EHM_STATIC
|
||||
SUGG: Combine meshes to bigger ones in ClientMap and set them EHM_STATIC
|
||||
|
||||
SUGG: Draw cubes in inventory directly with 3D drawing commands, so that
|
||||
animating them is easier.
|
||||
|
@ -190,6 +195,10 @@ SUGG: Add a "description" field to InventoryList and show it in
|
|||
GUIInventoryMenu
|
||||
- If separate menus are made for everything, this is not needed
|
||||
|
||||
TODO: See what is the main slowdown when a node is added or removed
|
||||
and make it asynchronous at least for other players
|
||||
- It probably is updateMeshes. How 'bout making it asynchronous?
|
||||
|
||||
Server:
|
||||
-------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue