X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=trail.h;h=82c7d608564aeea545133224f10c35fc1295a305;hb=5f6a4f9df6c8accc89f1920bfe9ace3cbac4c4b6;hp=58bcb933427a229461f480693330e5c60d3a00aa;hpb=a109f126d8adab622e38fbcc2d4281e75255246a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/trail.h b/trail.h index 58bcb93..82c7d60 100644 --- 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 );