mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Various code cleanup & little performance improvement on HTTP download (#5772)
* Disable or remove unused enum members/functions * Tiny code style fixes * Make some functions const * Replace ClientMediaDownloader std::unordered_map with std::map
This commit is contained in:
parent
35267406aa
commit
ce9802266e
15 changed files with 18 additions and 85 deletions
|
@ -28,9 +28,9 @@ enum ActiveObjectType {
|
|||
ACTIVEOBJECT_TYPE_TEST = 1,
|
||||
// Deprecated stuff
|
||||
ACTIVEOBJECT_TYPE_ITEM = 2,
|
||||
ACTIVEOBJECT_TYPE_RAT = 3,
|
||||
ACTIVEOBJECT_TYPE_OERKKI1 = 4,
|
||||
ACTIVEOBJECT_TYPE_FIREFLY = 5,
|
||||
// ACTIVEOBJECT_TYPE_RAT = 3,
|
||||
// ACTIVEOBJECT_TYPE_OERKKI1 = 4,
|
||||
// ACTIVEOBJECT_TYPE_FIREFLY = 5,
|
||||
ACTIVEOBJECT_TYPE_MOBV2 = 6,
|
||||
// End deprecated stuff
|
||||
ACTIVEOBJECT_TYPE_LUAENTITY = 7,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue