summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-01-05 03:47:22 -0500
committerrealtradam <[email protected]>2023-01-05 03:47:22 -0500
commit730e2b54cd5542a07a55dc44a57ab3f12cd70337 (patch)
treef4fadd011034e80bb55fe9ade0de2a24e3ff75ec /src/main.c
parentbe7143637ddf12ba1460a87932c964ab2de0af7b (diff)
downloadTOJam2023-730e2b54cd5542a07a55dc44a57ab3f12cd70337.tar.gz
TOJam2023-730e2b54cd5542a07a55dc44a57ab3f12cd70337.zip
update engine + cleaning
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 586d476..6a0f475 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);
}