Rename library to AKGL (AKLabs Game Library)

This commit is contained in:
2026-05-07 22:20:10 -04:00
parent 359ae23414
commit a0b2dda4cf
45 changed files with 170 additions and 170 deletions

View File

@@ -3,13 +3,13 @@
#include <string.h>
#include <akerror.h>
#include <sdl3game/game.h>
#include <sdl3game/sprite.h>
#include <sdl3game/actor.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/iterator.h>
#include <akgl/game.h>
#include <akgl/sprite.h>
#include <akgl/actor.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/staticstring.h>
#include <akgl/iterator.h>
akerr_ErrorContext *akgl_actor_initialize(akgl_Actor *obj, char *name)
{

View File

@@ -2,10 +2,10 @@
#include <SDL3_image/SDL_image.h>
#include <SDL3_mixer/SDL_mixer.h>
#include <akerror.h>
#include <sdl3game/game.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/heap.h>
#include <sdl3game/error.h>
#include <akgl/game.h>
#include <akgl/staticstring.h>
#include <akgl/heap.h>
#include <akgl/error.h>
akerr_ErrorContext *akgl_load_start_bgm(char *fname)
{

View File

@@ -4,14 +4,14 @@
#include <string.h>
#include <jansson.h>
#include <sdl3game/game.h>
#include <sdl3game/sprite.h>
#include <sdl3game/json_helpers.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/iterator.h>
#include <sdl3game/util.h>
#include <akgl/game.h>
#include <akgl/sprite.h>
#include <akgl/json_helpers.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/staticstring.h>
#include <akgl/iterator.h>
#include <akgl/util.h>
akerr_ErrorContext *akgl_character_initialize(akgl_Character *obj, char *name)
{

View File

@@ -1,9 +1,9 @@
#include <SDL3/SDL.h>
#include <akerror.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/game.h>
#include <sdl3game/controller.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/game.h>
#include <akgl/controller.h>
akgl_ControlMap GAME_ControlMaps[AKGL_MAX_CONTROL_MAPS];

View File

@@ -1,7 +1,7 @@
#include <SDL3/SDL.h>
#include <SDL3_image/SDL_image.h>
#include <SDL3_mixer/SDL_mixer.h>
#include <sdl3game/game.h>
#include <akgl/game.h>
/* Draw a Gimpish background pattern to show transparency in the image */
void akgl_draw_background(int w, int h)

View File

@@ -5,15 +5,15 @@
#include <stdio.h>
#include <akerror.h>
#include <sdl3game/game.h>
#include <sdl3game/controller.h>
#include <sdl3game/tilemap.h>
#include <sdl3game/sprite.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/iterator.h>
#include <sdl3game/SDL_GameControllerDB.h>
#include <akgl/game.h>
#include <akgl/controller.h>
#include <akgl/tilemap.h>
#include <akgl/sprite.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/staticstring.h>
#include <akgl/iterator.h>
#include <akgl/SDL_GameControllerDB.h>
SDL_Window *window = NULL;
SDL_Renderer *renderer = NULL;

View File

@@ -1,13 +1,13 @@
#include <stdlib.h>
#include <akerror.h>
#include <sdl3game/game.h>
#include <sdl3game/sprite.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/iterator.h>
#include <sdl3game/error.h>
#include <akgl/game.h>
#include <akgl/sprite.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/staticstring.h>
#include <akgl/iterator.h>
#include <akgl/error.h>
akgl_Actor HEAP_ACTOR[AKGL_MAX_HEAP_ACTOR];
akgl_Sprite HEAP_SPRITE[AKGL_MAX_HEAP_SPRITE];

View File

@@ -2,11 +2,11 @@
#include <string.h>
#include <akerror.h>
#include <sdl3game/json_helpers.h>
#include <sdl3game/game.h>
#include <sdl3game/heap.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/registry.h>
#include <akgl/json_helpers.h>
#include <akgl/game.h>
#include <akgl/heap.h>
#include <akgl/staticstring.h>
#include <akgl/registry.h>
akerr_ErrorContext *akgl_get_json_object_value(json_t *obj, char *key, json_t **dest)
{

View File

@@ -1,10 +1,10 @@
#include <SDL3/SDL.h>
#include <akerror.h>
#include <sdl3game/sprite.h>
#include <sdl3game/registry.h>
#include <sdl3game/iterator.h>
#include <sdl3game/actor.h>
#include <akgl/sprite.h>
#include <akgl/registry.h>
#include <akgl/iterator.h>
#include <akgl/actor.h>
SDL_PropertiesID AKGL_REGISTRY_ACTOR;
SDL_PropertiesID AKGL_AKGL_REGISTRY_ACTOR_STATE_STRINGS;

View File

@@ -5,13 +5,13 @@
#include <akerror.h>
#include <libgen.h>
#include <sdl3game/game.h>
#include <sdl3game/sprite.h>
#include <sdl3game/json_helpers.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/iterator.h>
#include <akgl/game.h>
#include <akgl/sprite.h>
#include <akgl/json_helpers.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/staticstring.h>
#include <akgl/iterator.h>
static akerr_ErrorContext *akgl_sprite_load_json_spritesheet(json_t *json, akgl_SpriteSheet **sheet, char *relative_path)
{

View File

@@ -1,5 +1,5 @@
#include <akerror.h>
#include <sdl3game/staticstring.h>
#include <akgl/staticstring.h>
akerr_ErrorContext *akgl_string_initialize(akgl_String *obj, char *init)
{

View File

@@ -1,9 +1,9 @@
#include <akerror.h>
#include <SDL3/SDL.h>
#include <SDL3_ttf/SDL_ttf.h>
#include <sdl3game/text.h>
#include <sdl3game/registry.h>
#include <sdl3game/game.h>
#include <akgl/text.h>
#include <akgl/registry.h>
#include <akgl/game.h>
akerr_ErrorContext AKERR_NOIGNORE *akgl_text_loadfont(char *name, char *filepath, int size)
{

View File

@@ -5,13 +5,13 @@
#include <jansson.h>
#include <akerror.h>
#include <sdl3game/tilemap.h>
#include <sdl3game/actor.h>
#include <sdl3game/json_helpers.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/staticstring.h>
#include <sdl3game/game.h>
#include <akgl/tilemap.h>
#include <akgl/actor.h>
#include <akgl/json_helpers.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/staticstring.h>
#include <akgl/game.h>
akerr_ErrorContext *akgl_get_json_tilemap_property(json_t *obj, char *key, char *type, json_t **dest)
{

View File

@@ -5,10 +5,10 @@
#include <SDL3_image/SDL_image.h>
#include <akerror.h>
#include <sdl3game/util.h>
#include <sdl3game/heap.h>
#include <sdl3game/registry.h>
#include <sdl3game/game.h>
#include <akgl/util.h>
#include <akgl/heap.h>
#include <akgl/registry.h>
#include <akgl/game.h>
akerr_ErrorContext *akgl_rectangle_points(RectanglePoints *dest, SDL_FRect *rect)
{