From d12be8add036458e649e7b6d5d4712def0dc039c Mon Sep 17 00:00:00 2001 From: Lephe Date: Sun, 26 Jul 2020 11:47:23 +0200 Subject: [PATCH] remove features that are deprecated as of v2.1 --- TODO | 5 ----- include/gint/display-fx.h | 4 ---- include/gint/gray.h | 30 ------------------------------ 3 files changed, 39 deletions(-) diff --git a/TODO b/TODO index bb3dff0..5c9a794 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,3 @@ -For the 2.1.0 release: -* bopti: remove the deprecated image_t definition -* project: remove the compat branch -* project: remove the gray aliases - Extensions on existing code: * tmu: make interrupt handlers more elegant * bopti: try to display fullscreen images with TLB access + DMA on fxcg50 diff --git a/include/gint/display-fx.h b/include/gint/display-fx.h index f9dfcf2..81672e6 100644 --- a/include/gint/display-fx.h +++ b/include/gint/display-fx.h @@ -83,10 +83,6 @@ typedef struct } GPACKED(4) bopti_image_t; -/* Old alias to image_t, now deprecated because of libimg */ -typedef bopti_image_t image_t __attribute__((deprecated( - "image_t has been renamed to bopti_image_t"))); - #endif /* FX9860G */ #endif /* GINT_DISPLAY_FX */ diff --git a/include/gint/gray.h b/include/gint/gray.h index 9443a73..99dbdb0 100644 --- a/include/gint/gray.h +++ b/include/gint/gray.h @@ -144,34 +144,4 @@ void dgray_getdelays(uint32_t *light, uint32_t *dark); These pointers can be used for custom rendering functions. */ void dgray_getvram(uint32_t **light, uint32_t **dark); -//--- -// Aliases for older programs -//--- - -/* Functions for the gray engine used to be called g*() to mirror the d*() - functions of the display module. They are now bundled together, so these - aliases are for older programs that still use the g*() naming scheme */ - -#ifdef GINT_GRAY_ALIASES - -#define gclear dclear -#define grect drect -#define gpixel dpixel -#define gline dline -#define ghline dhline -#define gvline dvline -#define gimage dimage -#define gsubimage dsubimage -#define gtext dtext -#define gtext_opt dtext_opt -#define gprint dprint -#define gprint_opt dprint_opt - -#define gupdate dupdate -#define gray_delays dgray_setdelays -#define gray_config dgray_getdelays -#define gvram dgray_getvram - -#endif /* GINT_GRAY_ALIASES */ - #endif /* GINT_GRAY */