add medals to miniworld display
[carveJwlIkooP6JGAAIwe30JlM.git] / entity.h
index c3b6694b23c3a3ef329306ea1e0c2799ca2ca5d8..3fd3508eef3358ff47766b73ef2ad11cc0dddbc0 100644 (file)
--- a/entity.h
+++ b/entity.h
@@ -118,6 +118,8 @@ enum ent_gate_flag{
    k_ent_gate_flip        = 0x4, /* flip direction 180* for exiting portal */
    k_ent_gate_custom_mesh = 0x8, /* use a custom submesh instead of default */
    k_ent_gate_locked      = 0x10,/* has to be unlocked to be useful */
+
+   k_ent_gate_clean_pass  = 0x20,/* player didn't rewind while getting here */
 };
 
 struct ent_gate{
@@ -187,6 +189,10 @@ struct ent_route{
    f64 timing_base;
 
    u32 id_camera; /* v103+ */
+
+   /* v104+, but always accessible */
+   u32 achievment_status;
+   f64 best_laptime;
 };
 
 struct ent_water{
@@ -247,9 +253,11 @@ struct ent_marker{
 };
 
 enum skateshop_type{
-   k_skateshop_type_boardshop,
-   k_skateshop_type_charshop,
-   k_skateshop_type_worldshop,
+   k_skateshop_type_boardshop = 0,
+   k_skateshop_type_charshop = 1,
+   k_skateshop_type_worldshop = 2,
+   k_skateshop_type_DELETED = 3,
+   k_skateshop_type_server = 4
 };
 
 struct ent_skateshop{
@@ -275,6 +283,11 @@ struct ent_skateshop{
              id_info;
       }
       worlds;
+
+      struct{
+         u32 id_lever;
+      }
+      server;
    };
 };