projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
main.c
diff --git
a/main.c
b/main.c
index 266e080803cc4b50190e795b33eb39854151d0cd..7495ff34d9b5368422934a50063a89a64c2d8cdc 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-21,7
+21,7
@@
static int sv_scene = 0;
static int cl_ui = 1;
/* Components */
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
/* uncomment this to run the game without any graphics being drawn */
//#define SR_NETWORK_TEST
@@
-88,6
+88,7
@@
vg_tex2d *texture_list[] =
int main( int argc, char *argv[] )
{
int main( int argc, char *argv[] )
{
+ highscores_init( 2000, 50 );
vg_init( argc, argv, "Voyager Game Engine" );
}
vg_init( argc, argv, "Voyager Game Engine" );
}
@@
-254,6
+255,9
@@
void vg_free(void)
vg_tex2d_free( texture_list, vg_list_size(texture_list) );
/* TODO: THE REST OF THE GOD DAMN FREEING STUFF */
steam_end();
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)
}
void vg_update(void)
@@
-502,6
+506,7
@@
void vg_ui(void)
//glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
audio_debug_soundscapes();
//glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
audio_debug_soundscapes();
+ world_audio_debug();
#if 0
static double last_b_press = 0.0;
#if 0
static double last_b_press = 0.0;