Refactor emotion assets and update documentation
Moved and updated emotion asset files, removing old versions from main/emotions and adding new ones to assets/emotions. Introduced emotion_manager module. Updated .gitignore, README, and build configuration files to reflect these changes. Removed assets/logoIro.c and added assets/logoIroScreen.c.
This commit is contained in:
@@ -1,48 +1,49 @@
|
||||
#ifndef APP_GIFDEC_H
|
||||
#define APP_GIFDEC_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct gd_Palette {
|
||||
int size;
|
||||
uint8_t colors[0x100 * 3];
|
||||
} gd_Palette;
|
||||
typedef struct app_gd_Palette {
|
||||
int size;
|
||||
uint8_t colors[0x100 * 3];
|
||||
} app_gd_Palette;
|
||||
|
||||
typedef struct gd_GCE {
|
||||
uint16_t delay;
|
||||
uint8_t tindex;
|
||||
uint8_t disposal;
|
||||
int input;
|
||||
int transparency;
|
||||
} gd_GCE;
|
||||
typedef struct app_gd_GCE {
|
||||
uint16_t delay;
|
||||
uint8_t tindex;
|
||||
uint8_t disposal;
|
||||
int input;
|
||||
int transparency;
|
||||
} app_gd_GCE;
|
||||
|
||||
typedef struct gd_GIF {
|
||||
const uint8_t *data;
|
||||
size_t data_size;
|
||||
size_t pos;
|
||||
size_t anim_start;
|
||||
uint16_t width, height;
|
||||
uint16_t depth;
|
||||
uint16_t loop_count;
|
||||
gd_GCE gce;
|
||||
gd_Palette *palette;
|
||||
gd_Palette lct, gct;
|
||||
uint16_t fx, fy, fw, fh;
|
||||
uint8_t bgindex;
|
||||
uint8_t *canvas, *frame;
|
||||
} gd_GIF;
|
||||
typedef struct app_gd_GIF {
|
||||
const uint8_t *data;
|
||||
size_t data_size;
|
||||
size_t pos;
|
||||
size_t anim_start;
|
||||
uint16_t width, height;
|
||||
uint16_t depth;
|
||||
uint16_t loop_count;
|
||||
app_gd_GCE gce;
|
||||
app_gd_Palette *palette;
|
||||
app_gd_Palette lct, gct;
|
||||
uint16_t fx, fy, fw, fh;
|
||||
uint8_t bgindex;
|
||||
uint8_t *canvas, *frame;
|
||||
} app_gd_GIF;
|
||||
|
||||
gd_GIF *gd_open_gif_mem(const uint8_t *data, size_t size);
|
||||
int gd_get_frame(gd_GIF *gif);
|
||||
void gd_render_frame(gd_GIF *gif, uint8_t *buffer);
|
||||
int gd_is_bgcolor(gd_GIF *gif, uint8_t color[3]);
|
||||
void gd_rewind(gd_GIF *gif);
|
||||
void gd_close_gif(gd_GIF *gif);
|
||||
app_gd_GIF *app_gd_open_gif_mem(const uint8_t *data, size_t size);
|
||||
int app_gd_get_frame(app_gd_GIF *gif);
|
||||
void app_gd_render_frame(app_gd_GIF *gif, uint8_t *buffer);
|
||||
void app_gd_render_frame_to_argb(app_gd_GIF *gif, uint8_t *buffer);
|
||||
int app_gd_is_bgcolor(app_gd_GIF *gif, uint8_t color[3]);
|
||||
void app_gd_rewind(app_gd_GIF *gif);
|
||||
void app_gd_close_gif(app_gd_GIF *gif);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user