diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-12 15:13:19 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-12 15:13:19 +0100 |
commit | 113e2d299d22921212a793eb7cd55afbd49ba22e (patch) | |
tree | 41c6a91473283d7a698c7947a81bc4d48df0e4e8 /src | |
parent | 4f5597885ce6af93ca4655c193982aa701afb8cf (diff) |
changed doxygen comment of friend class
Diffstat (limited to 'src')
-rw-r--r-- | src/crepe/api/LoopManager.h | 10 | ||||
-rw-r--r-- | src/crepe/facade/SDLContext.h | 2 | ||||
-rw-r--r-- | src/makefile | 4 |
3 files changed, 4 insertions, 12 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h index 755e2d2..2f03193 100644 --- a/src/crepe/api/LoopManager.h +++ b/src/crepe/api/LoopManager.h @@ -73,15 +73,7 @@ private: void render(); bool game_running = false; - // For later if singletons are removed cant make them now because destructors are private. - // std::unique_ptr<RenderSystem> render_system; - // std::unique_ptr<SDLContext> sdl_context; - // std::unique_ptr<LoopTimer> loop_timer; - // std::unique_ptr<ScriptSystem> script_system; - // std::unique_ptr<ParticleSystem> particle_system; - // std::unique_ptr<PhysicsSystem> physics_system; - // std::unique_ptr<AnimatorSystem> animator_system; - // std::unique_ptr<CollisionSystem> collision_system; + //#TODO add system instances }; } // namespace crepe diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index b51fdd5..536dec5 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -58,7 +58,7 @@ private: private: //! Will only use get_ticks friend class AnimatorSystem; - //! Will use the funtions: get_ticks, delay + //! Will only use delay friend class LoopTimer; /** * \brief Gets the current SDL ticks since the program started. diff --git a/src/makefile b/src/makefile index a2c2961..bd05b2e 100644 --- a/src/makefile +++ b/src/makefile @@ -94,10 +94,10 @@ LOEK += example/script.cpp LOEK += test/audio.cpp LOEK += test/dummy.cpp JARO += test/PhysicsTest.cpp -FMT := $(JARO) #<<< CHANGE THIS TO YOUR NAME FOR STEP 2 +FMT := $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp') format: FORCE clang-tidy -p build/compile_commands.json --fix-errors $(FMT) -# FMT += $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp') +# FMT := $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp') # TODO: re-enable linter after all corrections |