Setup cammera2d and types

This commit is contained in:
n0ffie 2025-02-07 11:46:09 +01:00
parent 39abfaa978
commit fdebdd3ca2
6 changed files with 201 additions and 63 deletions

29
alyson/includes/alyson.h Normal file
View file

@ -0,0 +1,29 @@
#pragma once
#ifndef ALYSON_HPP
#define ALYSON_HPP
#ifndef ASSETS_PATH
#define ASSETS_PATH "./assets/"
#endif
#define MANGLE_RES_PATH(path) ASSETS_PATH "/" path
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
#include "types.h"
usx init(usx task);
void update(float dt);
void render(float dt);
#ifdef __cplusplus
}
#endif
#endif // ALYSON_HPP