-#include "rigidbody.h"
-#include "bvh.h"
-#include "model.h"
-
-#include "traffic.h" /*TODO: -> world_traffic.h */
-
-#include "shaders/terrain.h"
-#include "shaders/sky.h"
-#include "shaders/planeinf.h"
-#include "shaders/standard.h"
-#include "shaders/vblend.h"
-#include "shaders/gpos.h"
-#include "shaders/fscolour.h"
-#include "shaders/alphatest.h"
-
-enum { k_max_ui_segments = 8 };
-enum { k_max_ui_splits_per_segment = 16 };
-
-enum { k_max_ui_elements = k_max_ui_segments*k_max_ui_splits_per_segment };
-enum { k_max_element_verts = 10 };
-enum { k_max_element_indices = 20 };
-
-enum { k_route_ui_max_verts = k_max_ui_elements*k_max_element_verts };
-enum { k_route_ui_max_indices = k_max_ui_elements*k_max_element_indices };
-
-static struct gworld
-{
- /* gameplay */
- struct respawn_point
- {
- v3f co;
- v4f q;
- char name[32];
- }
- spawns[32];
- u32 spawn_count;
-
- struct world_audio_thing
- {
- v3f pos;
- float volume;
- u32 flags;
-
- audio_player player;
- audio_clip temp_embedded_clip;
- }
- * audio_things;
-
- u32 audio_things_count,
- audio_things_cap;
-
- struct achievement_zone
- {
- m4x3f transform, inv_transform;
- char name[32];
- int triggered;
-
- union
- {
- mdl_node *ptarget_delegated;
- struct world_audio_thing *ptarget;
- };
- }
- * achievement_zones;
-
- u32 achievement_zones_count,
- achievement_zones_cap;