diff options
Diffstat (limited to 'src/sldj.h')
-rw-r--r-- | src/sldj.h | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -1,22 +1,31 @@ #include <stdio.h> #include <stdlib.h> -#include <raylib.h> -#include <math.h> #include <stdint.h> +#include <math.h> + +#include <raylib.h> #include "sldjConfig.h" #include "util.h" +#include "scripting.h" #ifndef SLDJ_H #define SLDJ_H typedef struct Sldj { - RenderTexture screenTexture; - int frameCounter; + RenderTexture viewport; + + uint32_t frameCounter; + uint16_t xCount; + uint16_t yCount; + + SldjScripting scripting; } Sldj; void initSldj(Sldj* sldj); void updateSldj(Sldj* sldj); void closeSldj(Sldj* sldj); +void resetViewport(Sldj* sldj, int width, int height); + #endif |