Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor

This commit is contained in:
MihailRis
2023-11-21 11:38:59 +03:00
parent f2f9343737
commit 3b03464d27
35 changed files with 472 additions and 279 deletions
+8 -6
View File
@@ -1,17 +1,19 @@
#ifndef LIGHTING_LIGHTING_H_
#define LIGHTING_LIGHTING_H_
class Content;
class Chunks;
class LightSolver;
class Lighting {
Chunks* chunks = nullptr;
LightSolver* solverR = nullptr;
LightSolver* solverG = nullptr;
LightSolver* solverB = nullptr;
LightSolver* solverS = nullptr;
const Content* const content;
Chunks* chunks;
LightSolver* solverR;
LightSolver* solverG;
LightSolver* solverB;
LightSolver* solverS;
public:
Lighting(Chunks* chunks);
Lighting(const Content* content, Chunks* chunks);
~Lighting();
void clear();