diff options
| -rw-r--r-- | .vimrc | 2 | ||||
| m--------- | external/RodeoEngine | 0 | ||||
| -rw-r--r-- | src/main.c | 12 |
3 files changed, 8 insertions, 6 deletions
@@ -0,0 +1,2 @@ +" press F5 to compile and execute the project code +map <f5> :AsyncRun -save=1 -cwd=<root> ./build ; ./run <CR> diff --git a/external/RodeoEngine b/external/RodeoEngine -Subproject 6e4540372bb862afb4fc084d5c5e68ba0ae9c67 +Subproject b1f855a82b40f1caeaf4d672638f2cfc933c804 @@ -1,13 +1,13 @@ #include <stdio.h> #include <stdbool.h> -#include "SDL2/SDL.h" -#include "SDL2/SDL_syswm.h" -#include "bgfx/c99/bgfx.h" +//#include "SDL2/SDL.h" +//#include "SDL2/SDL_syswm.h" +//#include "bgfx/c99/bgfx.h" #include "rodeo.h" -Rodeo__Data_t _state = {0}; -Rodeo__Data_t* state = &_state; +Rodeo__data_t _state = {0}; +Rodeo__data_t *state = &_state; int main() @@ -18,7 +18,7 @@ main() { Rodeo__begin(state); - bgfx_dbg_text_printf(0, 2, 0x6f, "Description: Initialization and debug text."); + Rodeo__draw_debug_text(1, 1, "Debug %s Test", "Text"); Rodeo__end(state); } |
