Skip to content

Commit

Permalink
Fix naming core and graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalkah committed Aug 17, 2024
1 parent d4a0fe8 commit 20ecc64
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions src/Core/include/Core/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*
*/

#ifndef CORE_GAME_H_
#define CORE_GAME_H_
#ifndef CORE_INCLUDE_CORE_GAME_H_
#define CORE_INCLUDE_CORE_GAME_H_

#include <Camera/camera.h>
#include <Characters/player.h>
Expand Down Expand Up @@ -65,4 +65,4 @@ class Game

} // namespace wolfenstein

#endif // CORE_GAME_H_
#endif // CORE_INCLUDE_CORE_GAME_H_
6 changes: 3 additions & 3 deletions src/Core/src/game.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "Core/game.h"
#include "Graphics/renderer.h"
#include "Math/vector.h"
#include <Core/game.h>
#include <Graphics/renderer.h>
#include <Math/vector.h>
#include <SDL2/SDL_video.h>
#include <functional>

Expand Down
10 changes: 5 additions & 5 deletions src/Graphics/include/Graphics/renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
*
*/

#ifndef GRAPHICS_RENDERER_H_
#define GRAPHICS_RENDERER_H_
#ifndef GRAPHICS_INCLUDE_GRAPHICS_RENDERER_H_
#define GRAPHICS_INCLUDE_GRAPHICS_RENDERER_H_

#include "GameObjects/game_object.h"
#include "scene.h"
#include <Camera/camera.h>
#include <GameObjects/game_object.h>
#include <Graphics/scene.h>
#include <SDL2/SDL.h>
#include <memory>
#include <queue>
Expand Down Expand Up @@ -109,4 +109,4 @@ class Renderer
};

} // namespace wolfenstein
#endif // GRAPHICS_RENDERER_H_
#endif // GRAPHICS_INCLUDE_GRAPHICS_RENDERER_H_
10 changes: 5 additions & 5 deletions src/Graphics/include/Graphics/scene.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
*
*/

#ifndef GRAPHICS_SCENE_H_
#define GRAPHICS_SCENE_H_
#ifndef GRAPHICS_INCLUDE_GRAPHICS_SCENE_H_
#define GRAPHICS_INCLUDE_GRAPHICS_SCENE_H_

#include <memory>
#include <vector>

#include "GameObjects/game_object.h"
#include "Map/map.h"
#include <GameObjects/game_object.h>
#include <Map/map.h>

namespace wolfenstein {

Expand All @@ -40,4 +40,4 @@ class Scene

} // namespace wolfenstein

#endif // GRAPHICS_SCENE_H_
#endif // GRAPHICS_INCLUDE_GRAPHICS_SCENE_H_
10 changes: 5 additions & 5 deletions src/Graphics/src/renderer.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include "Graphics/renderer.h"
#include "Camera/ray.h"
#include "GameObjects/static_object.h"
#include "Map/map.h"
#include "Math/vector.h"
#include <Camera/ray.h>
#include <Characters/player.h>
#include <GameObjects/static_object.h>
#include <Graphics/renderer.h>
#include <Map/map.h>
#include <Math/vector.h>
#include <SDL2/SDL_rect.h>
#include <SDL2/SDL_render.h>
#include <TextureManager/texture_manager.h>
Expand Down
2 changes: 1 addition & 1 deletion src/Graphics/src/scene.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Graphics/scene.h"
#include <Graphics/scene.h>

namespace wolfenstein {

Expand Down

0 comments on commit 20ecc64

Please sign in to comment.