glider bugfixes & animation
[carveJwlIkooP6JGAAIwe30JlM.git] / entity.h
index 0e65c268a6c81f71ac05bb306f688532e2318ffe..1c11f38ce3ec3544d7c82ac935df6f71c09463ca 100644 (file)
--- a/entity.h
+++ b/entity.h
@@ -168,13 +168,17 @@ struct ent_checkpoint{
    u16 gate_index,
        path_start,
        path_count;
+
+   /* EXTENSION */
+   f32 best_time;
 };
 
 enum ent_route_flag {
    k_ent_route_flag_achieve_silver = 0x1,
    k_ent_route_flag_achieve_gold   = 0x2,
 
-   k_ent_route_flag_out_of_zone    = 0x10
+   k_ent_route_flag_out_of_zone    = 0x10,
+   k_ent_region_flag_hasname       = 0x20
 };
 
 struct ent_route{
@@ -204,6 +208,9 @@ struct ent_route{
    /* v104+, but always accessible */
    u32 flags;
    f64 best_laptime;
+   f32 ui_stopper, ui_residual;
+
+   ui_px ui_first_block_width, ui_residual_block_w;
 };
 
 struct ent_water{
@@ -400,6 +407,7 @@ struct ent_worldinfo{
    u32 pstr_name, pstr_author, pstr_desc;
    f32 timezone;
    u32 pstr_skybox;
+   u32 flags;
 };
 
 static ent_marker *ent_find_marker( mdl_context *mdl,
@@ -511,6 +519,7 @@ struct ent_challenge{
 
 struct ent_relay {
    u32 targets[4][2];
+   u32 targets_events[4];
 };
 
 struct ent_cubemap {
@@ -534,7 +543,7 @@ struct ent_miniworld {
 
 struct ent_prop {
    mdl_transform transform;
-   u32 submesh_start, submesh_count, flags;
+   u32 submesh_start, submesh_count, flags, pstr_alias;
 };
 
 struct ent_region {