update helpers/location to 'frosted' ui
[carveJwlIkooP6JGAAIwe30JlM.git] / trail.h
diff --git a/trail.h b/trail.h
index dc90fc9438414e45c598a161c3774bd5d56887fd..82c7d608564aeea545133224f10c35fc1295a305 100644 (file)
--- a/trail.h
+++ b/trail.h
@@ -1,7 +1,4 @@
-#ifndef TRAIL_H
-#define TRAIL_H
-
-#include "skaterift.h"
+#pragma once
 
 typedef struct trail_system trail_system;
 typedef struct trail_point trail_point;
@@ -26,18 +23,11 @@ struct trail_system {
 
    /* render settings */
    f32 width, lifetime, min_dist;
-}
-static trails_test = {
-   .width = 0.25f,
-   .lifetime = 5.0f,
-   .min_dist = 0.5f
 };
 
-static void trail_alloc( trail_system *sys, u32 max );
-static void trail_system_update( trail_system *sys, f32 dt, 
-                                 v3f co, v3f normal, f32 alpha );
-static void trail_system_debug( trail_system *sys );
-static void trail_system_prerender( trail_system *sys );
-static void trail_system_render( trail_system *sys, camera *cam );
-
-#endif /* TRAIL_H */
+void trail_alloc( trail_system *sys, u32 max );
+void trail_system_update( trail_system *sys, f32 dt, v3f co, 
+                          v3f normal, f32 alpha );
+void trail_system_debug( trail_system *sys );
+void trail_system_prerender( trail_system *sys );
+void trail_system_render( trail_system *sys, vg_camera *cam );