Setup cammera2d and types
This commit is contained in:
parent
39abfaa978
commit
fdebdd3ca2
6 changed files with 201 additions and 63 deletions
29
alyson/includes/alyson.h
Normal file
29
alyson/includes/alyson.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue