mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
EngineSettings.chunksLoadSpeed; removed unused assets
This commit is contained in:
parent
7730da0056
commit
e437cc99ce
14 changed files with 55 additions and 33 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef VOXELS_CHUNKSCONTROLLER_H_
|
||||
#define VOXELS_CHUNKSCONTROLLER_H_
|
||||
|
||||
#include "../typedefs.h"
|
||||
|
||||
class Level;
|
||||
class Chunks;
|
||||
class Lighting;
|
||||
|
|
@ -13,10 +15,12 @@ private:
|
|||
Level* level;
|
||||
Chunks* chunks;
|
||||
Lighting* lighting;
|
||||
int64_t avgDurationMcs = 1000;
|
||||
public:
|
||||
ChunksController(Level* level, Chunks* chunks, Lighting* lighting);
|
||||
~ChunksController();
|
||||
|
||||
void update(int64_t maxDuration);
|
||||
bool loadVisible(WorldFiles* worldFiles);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue