visuals and a lot of other things

This commit is contained in:
2025-06-26 08:48:42 -04:00
parent ea2e7e918c
commit 6d488fce1e
21 changed files with 2315 additions and 728 deletions

View File

@@ -2,6 +2,7 @@
#include "anm2.h"
#include "resources.h"
#include "window.h"
static const SDL_DialogFileFilter DIALOG_FILE_FILTER_ANM2[] =
{
@@ -26,13 +27,14 @@ struct Dialog
{
Anm2* anm2 = NULL;
Resources* resources = NULL;
SDL_Window* window = NULL;
s32 replaceID = -1;
enum DialogType type = DIALOG_NONE;
char path[PATH_MAX] = "";
bool isSelected = false;
};
void dialog_init(Dialog* self, Anm2* anm2, Resources* resources);
void dialog_init(Dialog* self, Anm2* anm2, Resources* resources, SDL_Window* window);
void dialog_anm2_open(Dialog* self);
void dialog_png_open(Dialog* self);
void dialog_png_replace(Dialog* self);