the final rename

This commit is contained in:
MihailRis 2024-05-06 03:38:19 +03:00
parent f27a418dbe
commit 1627e21c1d
196 changed files with 836 additions and 815 deletions

View file

@ -1,12 +1,12 @@
#include <iostream>
#include <assert.h>
#include "LightSolver.h"
#include "Lightmap.h"
#include "../content/Content.h"
#include "../voxels/Chunks.h"
#include "../voxels/Chunk.h"
#include "../voxels/voxel.h"
#include "../voxels/Block.h"
#include "LightSolver.hpp"
#include "Lightmap.hpp"
#include "../content/Content.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/voxel.hpp"
#include "../voxels/Block.hpp"
LightSolver::LightSolver(const ContentIndices* contentIds, Chunks* chunks, int channel)
: contentIds(contentIds),

View file

@ -1,5 +1,5 @@
#ifndef LIGHTING_LIGHTSOLVER_H_
#define LIGHTING_LIGHTSOLVER_H_
#ifndef LIGHTING_LIGHTSOLVER_HPP_
#define LIGHTING_LIGHTSOLVER_HPP_
#include <queue>
@ -28,4 +28,4 @@ public:
void solve();
};
#endif /* LIGHTING_LIGHTSOLVER_H_ */
#endif /* LIGHTING_LIGHTSOLVER_HPP_ */

View file

@ -1,16 +1,16 @@
#include <memory>
#include "Lighting.h"
#include "LightSolver.h"
#include "Lightmap.h"
#include "../content/Content.h"
#include "../voxels/Chunks.h"
#include "../voxels/Chunk.h"
#include "../voxels/voxel.h"
#include "../voxels/Block.h"
#include "../constants.h"
#include "../typedefs.h"
#include "../util/timeutil.h"
#include "Lighting.hpp"
#include "LightSolver.hpp"
#include "Lightmap.hpp"
#include "../content/Content.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/voxel.hpp"
#include "../voxels/Block.hpp"
#include "../constants.hpp"
#include "../typedefs.hpp"
#include "../util/timeutil.hpp"
Lighting::Lighting(const Content* content, Chunks* chunks)
: content(content), chunks(chunks) {

View file

@ -1,7 +1,7 @@
#ifndef LIGHTING_LIGHTING_H_
#define LIGHTING_LIGHTING_H_
#ifndef LIGHTING_LIGHTING_HPP_
#define LIGHTING_LIGHTING_HPP_
#include "../typedefs.h"
#include "../typedefs.hpp"
class Content;
class ContentIndices;
@ -28,4 +28,4 @@ public:
static void prebuildSkyLight(Chunk* chunk, const ContentIndices* indices);
};
#endif /* LIGHTING_LIGHTING_H_ */
#endif /* LIGHTING_LIGHTING_HPP_ */

View file

@ -1,4 +1,4 @@
#include "Lightmap.h"
#include "Lightmap.hpp"
#include "../util/data_io.hpp"

View file

@ -1,8 +1,8 @@
#ifndef LIGHTING_LIGHTMAP_H_
#define LIGHTING_LIGHTMAP_H_
#ifndef LIGHTING_LIGHTMAP_HPP_
#define LIGHTING_LIGHTMAP_HPP_
#include "../constants.h"
#include "../typedefs.h"
#include "../constants.hpp"
#include "../typedefs.hpp"
#include <memory>
@ -87,4 +87,4 @@ public:
static std::unique_ptr<light_t[]> decode(ubyte* buffer);
};
#endif /* LIGHTING_LIGHTMAP_H_ */
#endif /* LIGHTING_LIGHTMAP_HPP_ */