Nimbin[12]?SDL & Graphics / sdl_runtime_compiler / commits / cc17d00

sdl_runtime_compiler git · main

SDL3 game for running and compiling code at runtime

sdl3 c++ compiler dlopen cmake · first commit 2026-04-19 · last commit 2026-07-03 (3 months ago) · synced 3 days ago · upstream: git.ide3.de/hsnr/sdl-runtime-compiler

C++ 72.3% C 26.2%
git clone https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler.gitwget https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler/archive/sdl_runtime_compiler.tar.gz

Fix pult button glitch And cleanup maybe

Christian Immanuel · 2026-05-31 10:40 · cc17d00cc15eaf058e91483a2d9befe6210552ad

 src/entities/game_object.hpp | 3 ++-
 src/states/game_state.cpp    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/entities/game_object.hpp b/src/entities/game_object.hpp
index ac124e2..cfaa17c 100644
--- a/src/entities/game_object.hpp
+++ b/src/entities/game_object.hpp
@@ -55,7 +55,8 @@ struct RigidBody {
     }
 
     void apply_KickImpulse(const Vec3& impulse) {
-        if (mode == PhysicsMode::Hover || mode == PhysicsMode::AiHover) {
+        if ( mode == PhysicsMode::Hover ||
+             mode == PhysicsMode::AiHover) {
             mode = PhysicsMode::Dynamic;
             vel  = impulse;
         } else if (mode == PhysicsMode::Dynamic) {
diff --git a/src/states/game_state.cpp b/src/states/game_state.cpp
index f60ec97..6a90b19 100644
--- a/src/states/game_state.cpp
+++ b/src/states/game_state.cpp
@@ -79,8 +79,8 @@ GameState::GameState(size_t starting_level)
         Vec3{3, -15, -5},
         Vec3{1.0, 0.5, 1.0}
     ));
-    */
     ctx.scenery.back()->body.mode = PhysicsMode::Dynamic;
+    */
     // debug_SpawnWords(5);
 }