diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-28 10:20:23 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-28 10:20:23 +0100 |
commit | 7508f7b26e73df24e2fcb4296b31d26470fddf76 (patch) | |
tree | abf251399b30f012713a57accd59f5e97935c635 /src/crepe/facade/SDLContext.h | |
parent | 2d623522db0677ca5e88a53e3705a10ce59ba8b6 (diff) |
adjusted more it should now be finsished
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r-- | src/crepe/facade/SDLContext.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index 7907a0f..25f2818 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -16,6 +16,16 @@ namespace crepe { +struct RenderCtx{ + const Sprite & sprite; + const Camera & cam; + const vec2 & cam_pos; + const vec2 & pos; + const double & angle; + const double & scale; + +}; + // TODO: SDL_Keycode is defined in a header not distributed with crepe, which means this // typedef is unusable when crepe is packaged. Wouter will fix this later. typedef SDL_Keycode CREPE_KEYCODES; @@ -29,6 +39,8 @@ typedef SDL_Keycode CREPE_KEYCODES; */ class SDLContext { + + public: /** * \brief Gets the singleton instance of SDLContext. |