+struct ent_marker{
+ mdl_transform transform;
+ u32 pstr_alias;
+};
+
+struct ent_skateshop{
+ mdl_transform transform;
+ u32 id_display,
+ id_info,
+ id_rack,
+ id_camera;
+};
+
+struct ent_traffic{
+ mdl_transform transform;
+ u32 submesh_start,
+ submesh_count,
+ start_node,
+ node_count;
+ float speed,
+ t;
+ u32 index; /* into the path */
+};
+
+struct ent_camera{
+ mdl_transform transform;
+ float fov;
+};
+
+VG_STATIC ent_marker *ent_find_marker( mdl_context *mdl,
+ mdl_array_ptr *arr, const char *alias )
+{
+ for( u32 i=0; i<mdl_arrcount(arr); i++ ){
+ ent_marker *marker = mdl_arritm( arr, i );
+
+ if( !strcmp( mdl_pstr( mdl, marker->pstr_alias ), alias ) ){
+ return marker;
+ }
+ }
+
+ return NULL;
+}
+