+/*
+ * Copyright (C) Mount0 Software, Harry Godden - All Rights Reserved
+ */
+
#include "common.h"
/* Resources */
#include "road.h"
#include "scene.h"
#include "ik.h"
+#include "audio.h"
#include "terrain.h"
#include "character.h"
#include "ragdoll.h"
gate_register();
}
+static void init_other(void)
+{
+ render_init();
+ gate_init();
+ terrain_init();
+ character_init();
+ audio_init();
+}
+
vg_tex2d *texture_list[] =
{
&tex_norwey,
});
vg_tex2d_init( texture_list, vg_list_size( texture_list ) );
-
- render_init();
- gate_init();
- terrain_init();
- character_init();
+
+ init_other();
character_load( &player.mdl, "ch_default" );
character_init_ragdoll( &player.mdl );
m4x4f world_4x4;
m4x3_expand( player.camera_inverse, world_4x4 );
- gpipeline.fov = freecam? 60.0f: 120.0f; /* 120 */
+ gpipeline.fov = freecam? 60.0f: 135.0f; /* 120 */
m4x4_projection( vg_pv, gpipeline.fov,
(float)vg_window_x / (float)vg_window_y,
- 0.025f, 1000.0f );
+ 0.1f, 1500.0f );
m4x4_mul( vg_pv, world_4x4, vg_pv );