static int cl_ui = 1;
/* Components */
-//#define SR_NETWORKED
+#define SR_NETWORKED
/* uncomment this to run the game without any graphics being drawn */
//#define SR_NETWORK_TEST
int main( int argc, char *argv[] )
{
+ highscores_init( 2000, 50 );
vg_init( argc, argv, "Voyager Game Engine" );
}
vg_tex2d_free( texture_list, vg_list_size(texture_list) );
/* TODO: THE REST OF THE GOD DAMN FREEING STUFF */
steam_end();
+
+ highscores_serialize_all();
+ highscores_free();
}
void vg_update(void)
render_water_surface( vg_pv, player.camera );
vg_tex2d_bind( &tex_water, 1 ); /*TODO: ?*/
- render_world_gates( vg_pv, player.camera );
+ render_world_gates( vg_pv, player.rb.co, player.camera );
/* Copy the RGB of what we have into the background buffer */
glBindFramebuffer( GL_READ_FRAMEBUFFER, 0 );