Move from 'libsdlerror' to 'libakerror'

This commit is contained in:
2026-01-05 08:58:06 -05:00
parent 7cff27f035
commit f475dfb6ee
30 changed files with 40 additions and 40 deletions

View File

@@ -2,7 +2,7 @@
#define _GAMEPAD_H_
#include <SDL3/SDL.h>
#include <sdlerror.h>
#include <akerror.h>
ErrorContext ERROR_NOIGNORE *gamepad_handle_button_down(void *appstate, SDL_Event *event);
ErrorContext ERROR_NOIGNORE *gamepad_handle_button_up(void *appstate, SDL_Event *event);

View File

@@ -1,7 +1,7 @@
#ifndef _ASSETS_H_
#define _ASSETS_H_
#include <sdlerror.h>
#include <akerror.h>
ErrorContext ERROR_NOIGNORE *load_start_bgm(char *fname);

View File

@@ -2,7 +2,7 @@
#define _CONTROLLER_H_
#include <SDL3/SDL.h>
#include <sdlerror.h>
#include <akerror.h>
#define MAX_CONTROL_MAPS 8
#define MAX_CONTROLS 32

View File

@@ -5,7 +5,7 @@
#include "actor.h"
#include "character.h"
#include "staticstring.h"
#include <sdlerror.h>
#include <akerror.h>
#define MAX_HEAP_ACTOR 64
#define MAX_HEAP_SPRITE (MAX_HEAP_ACTOR * 16)

View File

@@ -1,7 +1,7 @@
#ifndef _JSON_HELPERS_H_
#define _JSON_HELPERS_H_
#include <sdlerror.h>
#include <akerror.h>
#include "staticstring.h"
ErrorContext ERROR_NOIGNORE *get_json_object_value(json_t *obj, char *key, json_t **dest);

View File

@@ -2,7 +2,7 @@
#define _SPRITE_H_
#include <SDL3/SDL_properties.h>
#include <sdlerror.h>
#include <akerror.h>
#define SPRITE_MAX_FRAMES 16

View File

@@ -2,7 +2,7 @@
#define _STRING_H_
#include "string.h"
#include <sdlerror.h>
#include <akerror.h>
#define MAX_STRING_LENGTH 256

View File

@@ -1,7 +1,7 @@
#ifndef _UTIL_H_
#define _UTIL_H_
#include <sdlerror.h>
#include <akerror.h>
typedef struct point {
int x;