Skip to content

Commit

Permalink
Merge pull request #119 from uPiscium/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
uPiscium authored Jul 28, 2024
2 parents 28b55a9 + 513c483 commit a0d4e97
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 51 deletions.
6 changes: 3 additions & 3 deletions includes/TerreateGraphics.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_TERREATECORE_HPP__
#define __TERREATE_CORE_TERREATECORE_HPP__
#ifndef __TERREATE_GRAPHICS_TERREATEGRAPHICS_HPP__
#define __TERREATE_GRAPHICS_TERREATEGRAPHICS_HPP__

#include "animation.hpp"
#include "buffer.hpp"
Expand Down Expand Up @@ -39,4 +39,4 @@ class Clock : public Object {
void Initialize(Bool const &enableConsoleLog = false);
void Terminate();
} // namespace TerreateGraphics::Core
#endif // __TERREATE_CORE_TERREATECORE_HPP__
#endif // __TERREATE_GRAPHICS_TERREATEGRAPHICS_HPP__
6 changes: 3 additions & 3 deletions includes/animation.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_ANIMATION_HPP__
#define __TERREATE_CORE_ANIMATION_HPP__
#ifndef __TERREATE_GRAPHICS_ANIMATION_HPP__
#define __TERREATE_GRAPHICS_ANIMATION_HPP__

#include "defines.hpp"
#include "object.hpp"
Expand Down Expand Up @@ -73,4 +73,4 @@ class Animation : public Core::Object {
};
} // namespace TerreateGraphics::Animation

#endif // __TERREATE_CORE_ANIMATION_HPP__
#endif // __TERREATE_GRAPHICS_ANIMATION_HPP__
6 changes: 3 additions & 3 deletions includes/bitflag.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_BITFLAG_HPP__
#define __TERREATE_CORE_BITFLAG_HPP__
#ifndef __TERREATE_GRAPHICS_BITFLAG_HPP__
#define __TERREATE_GRAPHICS_BITFLAG_HPP__

#include "defines.hpp"

Expand Down Expand Up @@ -208,4 +208,4 @@ template <enumtype T> BitFlag<T> operator^(T const &lhs, T const &rhs) {
}
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_BITFLAG_HPP__
#endif // __TERREATE_GRAPHICS_BITFLAG_HPP__
6 changes: 3 additions & 3 deletions includes/buffer.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_BUFFER_HPP__
#define __TERREATE_CORE_BUFFER_HPP__
#ifndef __TERREATE_GRAPHICS_BUFFER_HPP__
#define __TERREATE_GRAPHICS_BUFFER_HPP__

#include "defines.hpp"
#include "logger.hpp"
Expand Down Expand Up @@ -146,4 +146,4 @@ class Buffer final : public Object {
};
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_BUFFER_HPP__
#endif // __TERREATE_GRAPHICS_BUFFER_HPP__
6 changes: 3 additions & 3 deletions includes/defines.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_DEFINES_HPP__
#define __TERREATE_CORE_DEFINES_HPP__
#ifndef __TERREATE_GRAPHICS_DEFINES_HPP__
#define __TERREATE_GRAPHICS_DEFINES_HPP__

#include <atomic>
#include <chrono>
Expand Down Expand Up @@ -634,4 +634,4 @@ static unsigned COLOR_BUFFERS[] = {
(GLenum)Attachment::COLOR30, (GLenum)Attachment::COLOR31};
} // namespace TerreateGraphics::Defines

#endif // __TERREATE_CORE_DEFINES_HPP__
#endif // __TERREATE_GRAPHICS_DEFINES_HPP__
6 changes: 3 additions & 3 deletions includes/event.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_EVENT_HPP__
#define __TERREATE_CORE_EVENT_HPP__
#ifndef __TERREATE_GRAPHICS_EVENT_HPP__
#define __TERREATE_GRAPHICS_EVENT_HPP__

#include "defines.hpp"
#include "logger.hpp"
Expand Down Expand Up @@ -53,4 +53,4 @@ class EventSystem : public Object {
};
} // namespace TerreateGraphics::Event

#endif // __TERREATE_CORE_EVENT_HPP__
#endif // __TERREATE_GRAPHICS_EVENT_HPP__
6 changes: 3 additions & 3 deletions includes/font.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_FONT_HPP__
#define __TERREATE_CORE_FONT_HPP__
#ifndef __TERREATE_GRAPHICS_FONT_HPP__
#define __TERREATE_GRAPHICS_FONT_HPP__

#include <ft2build.h>
#include FT_FREETYPE_H
Expand Down Expand Up @@ -88,4 +88,4 @@ class Font final : public Object {
};
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_FONT_HPP__
#endif // __TERREATE_GRAPHICS_FONT_HPP__
6 changes: 3 additions & 3 deletions includes/job.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_JOB_HPP__
#define __TERREATE_CORE_JOB_HPP__
#ifndef __TERREATE_GRAPHICS_JOB_HPP__
#define __TERREATE_GRAPHICS_JOB_HPP__

#include "defines.hpp"
#include "logger.hpp"
Expand Down Expand Up @@ -156,4 +156,4 @@ class JobSystem : public Object {
};
} // namespace TerreateGraphics::Job

#endif // __TERREATE_CORE_JOB_HPP__
#endif // __TERREATE_GRAPHICS_JOB_HPP__
6 changes: 3 additions & 3 deletions includes/logger.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_LOGGER_HPP__
#define __TERREATE_CORE_LOGGER_HPP__
#ifndef __TERREATE_GRAPHICS_LOGGER_HPP__
#define __TERREATE_GRAPHICS_LOGGER_HPP__

#include "defines.hpp"

Expand Down Expand Up @@ -38,4 +38,4 @@ void Debug(Str const &msg);
void Trace(Str const &msg);
} // namespace TerreateGraphics::Logger

#endif // __TERREATE_CORE_LOGGER_HPP__
#endif // __TERREATE_GRAPHICS_LOGGER_HPP__
6 changes: 3 additions & 3 deletions includes/model.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_MODEL_HPP__
#define __TERREATE_CORE_MODEL_HPP__
#ifndef __TERREATE_GRAPHICS_MODEL_HPP__
#define __TERREATE_GRAPHICS_MODEL_HPP__

#include "bitflag.hpp"
#include "buffer.hpp"
Expand Down Expand Up @@ -420,4 +420,4 @@ class Model : public Core::Object {
};
} // namespace TerreateGraphics::Model

#endif // __TERREATE_CORE_MODEL_HPP__
#endif // __TERREATE_GRAPHICS_MODEL_HPP__
6 changes: 3 additions & 3 deletions includes/object.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_OBJECT_HPP__
#define __TERREATE_CORE_OBJECT_HPP__
#ifndef __TERREATE_GRAPHICS_OBJECT_HPP__
#define __TERREATE_GRAPHICS_OBJECT_HPP__

#include <cstring>
#include <random>
Expand Down Expand Up @@ -65,4 +65,4 @@ template <> struct std::hash<TerreateGraphics::Core::UUID> {
}
};

#endif // __TERREATE_CORE_OBJECT_HPP__
#endif // __TERREATE_GRAPHICS_OBJECT_HPP__
6 changes: 3 additions & 3 deletions includes/screen.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_SCREEN_HPP__
#define __TERREATE_CORE_SCREEN_HPP__
#ifndef __TERREATE_GRAPHICS_SCREEN_HPP__
#define __TERREATE_GRAPHICS_SCREEN_HPP__

#include "defines.hpp"
#include "logger.hpp"
Expand Down Expand Up @@ -90,4 +90,4 @@ class Screen final : public Object {
};
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_SCREEN_HPP__
#endif // __TERREATE_GRAPHICS_SCREEN_HPP__
6 changes: 3 additions & 3 deletions includes/shader.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_SHADER_HPP__
#define __TERREATE_CORE_SHADER_HPP__
#ifndef __TERREATE_GRAPHICS_SHADER_HPP__
#define __TERREATE_GRAPHICS_SHADER_HPP__

#include "defines.hpp"
#include "logger.hpp"
Expand Down Expand Up @@ -268,4 +268,4 @@ class Shader final : public Object {
};
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_SHADER_HPP__
#endif // __TERREATE_GRAPHICS_SHADER_HPP__
6 changes: 3 additions & 3 deletions includes/skeleton.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_SKELETON_HPP__
#define __TERREATE_CORE_SKELETON_HPP__
#ifndef __TERREATE_GRAPHICS_SKELETON_HPP__
#define __TERREATE_GRAPHICS_SKELETON_HPP__

#include "defines.hpp"
#include "object.hpp"
Expand Down Expand Up @@ -151,4 +151,4 @@ class Skeleton : public Core::Object {
};
} // namespace TerreateGraphics::Animation

#endif // __TERREATE_CORE_SKELETON_HPP__
#endif // __TERREATE_GRAPHICS_SKELETON_HPP__
6 changes: 3 additions & 3 deletions includes/text.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_TEXT_HPP__
#define __TERREATE_CORE_TEXT_HPP__
#ifndef __TERREATE_GRAPHICS_TEXT_HPP__
#define __TERREATE_GRAPHICS_TEXT_HPP__

#include "defines.hpp"
#include "font.hpp"
Expand Down Expand Up @@ -41,4 +41,4 @@ class Text : public Core::Object {
};
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_TEXT_HPP__
#endif // __TERREATE_GRAPHICS_TEXT_HPP__
6 changes: 3 additions & 3 deletions includes/texture.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_TEXTURE_HPP__
#define __TERREATE_CORE_TEXTURE_HPP__
#ifndef __TERREATE_GRAPHICS_TEXTURE_HPP__
#define __TERREATE_GRAPHICS_TEXTURE_HPP__

#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
Expand Down Expand Up @@ -175,4 +175,4 @@ class CubeTexture final : public Object {
};
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_TEXTURE_HPP__
#endif // __TERREATE_GRAPHICS_TEXTURE_HPP__
6 changes: 3 additions & 3 deletions includes/window.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __TERREATE_CORE_WINDOW_HPP__
#define __TERREATE_CORE_WINDOW_HPP__
#ifndef __TERREATE_GRAPHICS_WINDOW_HPP__
#define __TERREATE_GRAPHICS_WINDOW_HPP__

#include "defines.hpp"
#include "logger.hpp"
Expand Down Expand Up @@ -657,4 +657,4 @@ class Window final : public Object {
};
} // namespace TerreateGraphics::Core

#endif // __TERREATE_CORE_WINDOW_HPP__
#endif // __TERREATE_GRAPHICS_WINDOW_HPP__

0 comments on commit a0d4e97

Please sign in to comment.