diff options
| author | realtradam <[email protected]> | 2023-04-14 16:45:29 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-04-14 16:45:29 -0400 |
| commit | 4b9437a5bf8dea4475a2dd5f433ee9729d6493c2 (patch) | |
| tree | 7e4d76abcae19747043d29d87cfe85b99b2c625c /include/rodeo.h | |
| parent | 3387c9fef273f2cc0674ea77ed950c0965299c4e (diff) | |
| download | RodeoKit-4b9437a5bf8dea4475a2dd5f433ee9729d6493c2.tar.gz RodeoKit-4b9437a5bf8dea4475a2dd5f433ee9729d6493c2.zip | |
split off logging into seperate files
Diffstat (limited to 'include/rodeo.h')
| -rw-r--r-- | include/rodeo.h | 30 |
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 --- |
