aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-05-11 00:40:55 +0200
committerkdx <kikoodx@paranoici.org>2023-05-11 00:42:21 +0200
commit6ab047e30169ebf8f440d87dae68e0fdf6cc239f (patch)
tree333f4947779e2a5223c7b248b3234ac514ef14f0 /headers
parenta4112e4311eb226c4f43cb697aa7f6c34bd7b9a5 (diff)
downloadtzr-6ab047e30169ebf8f440d87dae68e0fdf6cc239f.tar.gz
depreciate light system
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h2
-rw-r--r--headers/TZR_globals.h1
-rw-r--r--headers/TZR_light.h11
-rw-r--r--headers/TZR_types.h2
4 files changed, 2 insertions, 14 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index 6c8fa9d..ac450ac 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -19,7 +19,7 @@
.show_cursor=false, \
.mixer=TZR_MIXER_ON, \
.png_loading=true, \
- .light_system=false, \
+ .hd_render=false, \
.title="TZR", \
._=0, __VA_ARGS__ })
diff --git a/headers/TZR_globals.h b/headers/TZR_globals.h
index cfedc43..2406ff5 100644
--- a/headers/TZR_globals.h
+++ b/headers/TZR_globals.h
@@ -11,7 +11,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;
diff --git a/headers/TZR_light.h b/headers/TZR_light.h
deleted file mode 100644
index 6d55944..0000000
--- a/headers/TZR_light.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#pragma once
-
-#if __STDC_VERSION__ > 201710L
-[[nodiscard]]
-#endif
-int TZR_LightBegin(void);
-
-#if __STDC_VERSION__ > 201710L
-[[nodiscard]]
-#endif
-int TZR_LightEnd(void);
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index b9ec3eb..55a0d1d 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -54,10 +54,10 @@ struct TZR_Config {
int scale;
int target_fps;
bool pixel_perfect;
+ bool hd_render;
bool show_cursor;
unsigned int mixer;
bool png_loading;
- bool light_system;
const char *title;
};