1 // Copyright (C) 2021 Harry Godden (hgn) - All Rights Reserved
5 int main( int argc
, char *argv
[] )
7 vg_init( argc
, argv
, "Voyager Game Engine" );
10 void vg_register(void){}
12 void vg_update(void){}
16 glViewport( 0,0, vg_window_x
, vg_window_y
);
18 glDisable( GL_DEPTH_TEST
);
19 glClearColor( 0.1f
, 0.1f
, 0.2f
, 1.0f
);
20 glClear( GL_COLOR_BUFFER_BIT
| GL_DEPTH_BUFFER_BIT
);
22 // Rest of drawing code...
28 (ui_px
[2]){ vg_window_x
/ 2, vg_window_y
/ 2 },
29 "Voyager Game Engine", 2, k_text_align_center
33 (ui_px
[2]){ vg_window_x
/ 2, vg_window_y
/ 2 + 30 },
34 "Template project file", 1, k_text_align_center