mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
General refactor
This commit is contained in:
parent
de134dc2e5
commit
1d5037893c
27 changed files with 558 additions and 419 deletions
|
|
@ -12,6 +12,7 @@ class Engine;
|
|||
class Camera;
|
||||
class Batch2D;
|
||||
class ContentGfxCache;
|
||||
class LevelController;
|
||||
|
||||
/* Screen is a mainloop state */
|
||||
class Screen {
|
||||
|
|
@ -37,10 +38,10 @@ public:
|
|||
|
||||
class LevelScreen : public Screen {
|
||||
Level* level;
|
||||
LevelController* controller;
|
||||
WorldRenderer* worldRenderer;
|
||||
HudRenderer* hud;
|
||||
ContentGfxCache* cache;
|
||||
bool occlusion = true;
|
||||
void updateHotkeys();
|
||||
public:
|
||||
LevelScreen(Engine* engine, Level* level);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue