diff options
Diffstat (limited to 'src/TZR.h')
-rw-r--r-- | src/TZR.h | 22 |
1 files changed, 5 insertions, 17 deletions
@@ -64,10 +64,10 @@ struct TZR_Config { int scale; int target_fps; bool pixel_perfect; + bool hd_render; + bool scale_linear; bool show_cursor; unsigned int mixer; - bool png_loading; - bool light_system; const char *title; }; @@ -163,7 +163,6 @@ extern size_t ___tzr_resources_size; extern SDL_Window *___tzr_window; extern SDL_Renderer *___tzr_renderer; extern SDL_Texture *___tzr_target; -extern SDL_Texture *___tzr_target_light; extern unsigned long ___tzr_tick; extern unsigned long ___tzr_next_time; extern unsigned long ___tzr_min_dt; @@ -336,17 +335,6 @@ int _TZR_DrawRectangle(const TZR_DrawRectangleArgs *args); int _TZR_DrawImage(const TZR_DrawImageArgs *args); void TZR_ScreenTransform(int *x, int *y); -/* headers/TZR_light.h */ - -#if __STDC_VERSION__ > 201710L -[[nodiscard]] -#endif -int TZR_LightBegin(void); - -#if __STDC_VERSION__ > 201710L -[[nodiscard]] -#endif -int TZR_LightEnd(void); /* headers/TZR_keystate.h */ TZR_KeyState TZR_GetKeyState(int scancode); @@ -368,10 +356,10 @@ bool TZR_IsKeyPressed(int scancode); .scale=2, \ .target_fps=60, \ .pixel_perfect=true, \ + .hd_render=false, \ + .scale_linear=false, \ .show_cursor=false, \ .mixer=TZR_MIXER_ON, \ - .png_loading=true, \ - .light_system=false, \ .title="TZR", \ ._=0, __VA_ARGS__ }) @@ -414,4 +402,4 @@ unsigned long TZR_GetTick(void); ** FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ** IN THE SOFTWARE. */ -/* commit hash: a4112e4311eb226c4f43cb697aa7f6c34bd7b9a5 */ +/* commit hash: e23ea946042ebc30965fd9a162e3871aab18b35e */ |