/* load home world */
world_load( &world_global.worlds[0], "maps/mp_home.mdl" );
+#if 0
world_load( &world_global.worlds[1], "maps/mp_gridmap.mdl" );
world_load( &world_global.worlds[2], "maps/mp_mtzero.mdl" );
world_link_nonlocal_gates( 0, 1 );
world_link_nonlocal_gates( 0, 2 );
+#endif
vg_console_load_autos();
}
player__post_update( &localplayer );
+ /* FIXME: TEMP */
+ audio_lock();
+ v3f ears = { 1.0f,0.0f,0.0f };
+ m3x3_mulv( main_camera.transform, ears, ears );
+ v3_copy( ears, vg_audio.listener_ears );
+ v3_copy( main_camera.transform[3], vg_audio.listener_pos );
+ audio_unlock();
+
#if 0
menu_update();
vehicle_update_post();
glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT );
render_main_game();
+
+ m4x4_copy( main_camera.mtx.pv, vg.pv );
/* Other shite */
glDisable(GL_BLEND);
glDisable( GL_DEPTH_TEST );
- vg_lines_drawall( (float *)main_camera.mtx.pv );
+ vg_lines_drawall();
glViewport( 0,0, vg.window_x, vg.window_y );
}