29 lines
No EOL
363 B
C
29 lines
No EOL
363 B
C
#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
|