summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rodeo.h')
-rw-r--r--include/rodeo.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/include/rodeo.h b/include/rodeo.h
index 1fd27a6..2d43ce0 100644
--- a/include/rodeo.h
+++ b/include/rodeo.h
@@ -2,6 +2,9 @@
// -- internal --
// public
#include "rodeo_types.h"
+#include "rodeo/input.h"
+#include "rodeo/log.h"
+#include "rodeo/common.h"
// -- external --
#include "stc/cstr.h"
@@ -14,25 +17,6 @@
#include <string.h>
#include <limits.h>
-#define mrodeo_name_concat(prefix, suffix) prefix##suffix
-
-#define mrodeo_macrovar(prefix) mrodeo_name_concat(prefix##_, __LINE__)
-
-#define mrodeo_defer_do(start, end) \
- for( \
- int mrodeo_macrovar(_macrovar_) = (start, 0); \
- !mrodeo_macrovar(_macrovar_); \
- (mrodeo_macrovar(_macrovar_) += 1), end \
- ) \
-
-#define \
-mrodeo_vargs_do(final_arg) \
- va_list vargs; \
- mrodeo_defer_do( \
- va_start(vargs, final_arg), \
- va_end(vargs) \
- ) \
-
/// --- Math ---
rodeo_color_RGBA8_t
@@ -148,14 +132,6 @@ rodeo_texture_2d_draw(
const rodeo_texture_2d_t *texture
);
-/// --- Log ---
-
-void
-rodeo_log(
- rodeo_logLevel_t loglevel,
- const char *format,
- ...
-);
/// --- Framerate ---