Rename library to AKGL (AKLabs Game Library)
This commit is contained in:
@@ -6,17 +6,17 @@
|
||||
#include <SDL3_mixer/SDL_mixer.h>
|
||||
|
||||
#include <akerror.h>
|
||||
#include <sdl3game/assets.h>
|
||||
#include <sdl3game/iterator.h>
|
||||
#include <sdl3game/tilemap.h>
|
||||
#include <sdl3game/heap.h>
|
||||
#include <sdl3game/game.h>
|
||||
#include <sdl3game/controller.h>
|
||||
#include <sdl3game/draw.h>
|
||||
#include <sdl3game/sprite.h>
|
||||
#include <sdl3game/actor.h>
|
||||
#include <sdl3game/registry.h>
|
||||
#include <sdl3game/error.h>
|
||||
#include <akgl/assets.h>
|
||||
#include <akgl/iterator.h>
|
||||
#include <akgl/tilemap.h>
|
||||
#include <akgl/heap.h>
|
||||
#include <akgl/game.h>
|
||||
#include <akgl/controller.h>
|
||||
#include <akgl/draw.h>
|
||||
#include <akgl/sprite.h>
|
||||
#include <akgl/actor.h>
|
||||
#include <akgl/registry.h>
|
||||
#include <akgl/error.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -47,7 +47,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
||||
|
||||
strcpy((char *)&game.name, "charviewer");
|
||||
strcpy((char *)&game.version, "0.0.1");
|
||||
strcpy((char *)&game.uri, "net.aklabs.libsdl3game.charviewer");
|
||||
strcpy((char *)&game.uri, "net.aklabs.libakgl.charviewer");
|
||||
game.screenwidth = 640;
|
||||
game.screenheight = 480;
|
||||
|
||||
@@ -147,7 +147,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
|
||||
AKGL_BITMASK_ADD(opflags.flags, AKGL_ITERATOR_OP_RENDER);
|
||||
akgl_draw_background(game.screenwidth, game.screenheight);
|
||||
ATTEMPT {
|
||||
CATCH(errctx, akgl_tilemap_draw(renderer, (tilemap *)&gamemap, &camera, i));
|
||||
CATCH(errctx, akgl_tilemap_draw(renderer, (akgl_Tilemap *)&gamemap, &camera, i));
|
||||
SDL_EnumerateProperties(AKGL_REGISTRY_ACTOR, &akgl_registry_iterate_actor, (void *)&opflags);
|
||||
} CLEANUP {
|
||||
} PROCESS(errctx) {
|
||||
|
||||
Reference in New Issue
Block a user