revision 2
[carveJwlIkooP6JGAAIwe30JlM.git] / trail.h
diff --git a/trail.h b/trail.h
index 58bcb933427a229461f480693330e5c60d3a00aa..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;
@@ -28,11 +25,9 @@ struct trail_system {
    f32 width, lifetime, min_dist;
 };
 
-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 );