From 6ebf0d428b25a8b4a2dee9af7a91c38b1f8ff124 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 27 Apr 2017 15:54:13 -0700 Subject: *: remove vestigial module/${module}/${module}.h Prior to rototiller_module_t these headers were included and the module-specific render functions called directly. That's no longer the case, these files are irrelevant today. --- src/modules/ray/Makefile.am | 2 +- src/modules/ray/ray.h | 8 -------- src/modules/roto/Makefile.am | 2 +- src/modules/roto/roto.h | 9 --------- src/modules/sparkler/Makefile.am | 2 +- src/modules/sparkler/sparkler.h | 8 -------- src/modules/stars/Makefile.am | 2 +- src/modules/stars/stars.h | 8 -------- 8 files changed, 4 insertions(+), 37 deletions(-) delete mode 100644 src/modules/ray/ray.h delete mode 100644 src/modules/roto/roto.h delete mode 100644 src/modules/sparkler/sparkler.h delete mode 100644 src/modules/stars/stars.h diff --git a/src/modules/ray/Makefile.am b/src/modules/ray/Makefile.am index 957b6d1..b0e9997 100644 --- a/src/modules/ray/Makefile.am +++ b/src/modules/ray/Makefile.am @@ -1,4 +1,4 @@ noinst_LIBRARIES = libray.a -libray_a_SOURCES = ray_3f.h ray.c ray_camera.c ray_camera.h ray_color.h ray_euler.c ray_euler.h ray.h ray_light_emitter.h ray_object.c ray_object.h ray_object_light.h ray_object_plane.h ray_object_point.h ray_object_sphere.h ray_object_type.h ray_ray.h ray_scene.c ray_scene.h ray_surface.h +libray_a_SOURCES = ray_3f.h ray.c ray_camera.c ray_camera.h ray_color.h ray_euler.c ray_euler.h ray_light_emitter.h ray_object.c ray_object.h ray_object_light.h ray_object_plane.h ray_object_point.h ray_object_sphere.h ray_object_type.h ray_ray.h ray_scene.c ray_scene.h ray_surface.h libray_a_CFLAGS = @ROTOTILLER_CFLAGS@ -ffast-math libray_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I@top_srcdir@/src diff --git a/src/modules/ray/ray.h b/src/modules/ray/ray.h deleted file mode 100644 index d33f96a..0000000 --- a/src/modules/ray/ray.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _RAY_RAY_H -#define _RAY_RAY_H - -#include "fb.h" - -void ray(fb_fragment_t *fragment); - -#endif diff --git a/src/modules/roto/Makefile.am b/src/modules/roto/Makefile.am index 826a9d5..cbbbe88 100644 --- a/src/modules/roto/Makefile.am +++ b/src/modules/roto/Makefile.am @@ -1,4 +1,4 @@ noinst_LIBRARIES = libroto.a -libroto_a_SOURCES = roto.c roto.h +libroto_a_SOURCES = roto.c libroto_a_CFLAGS = @ROTOTILLER_CFLAGS@ libroto_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I@top_srcdir@/src diff --git a/src/modules/roto/roto.h b/src/modules/roto/roto.h deleted file mode 100644 index 84a66a9..0000000 --- a/src/modules/roto/roto.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef _ROTO_H -#define _ROTO_H - -#include "fb.h" - -void roto64(fb_fragment_t *fragment); -void roto32(fb_fragment_t *fragment); - -#endif diff --git a/src/modules/sparkler/Makefile.am b/src/modules/sparkler/Makefile.am index ca29712..dc6089a 100644 --- a/src/modules/sparkler/Makefile.am +++ b/src/modules/sparkler/Makefile.am @@ -1,4 +1,4 @@ noinst_LIBRARIES = libsparkler.a -libsparkler_a_SOURCES = bsp.c bsp.h burst.c chunker.c chunker.h container.h list.h particle.c particle.h particles.c particles.h rocket.c simple.c spark.c sparkler.c sparkler.h v3f.h xplode.c +libsparkler_a_SOURCES = bsp.c bsp.h burst.c chunker.c chunker.h container.h list.h particle.c particle.h particles.c particles.h rocket.c simple.c spark.c sparkler.c v3f.h xplode.c libsparkler_a_CFLAGS = @ROTOTILLER_CFLAGS@ -ffast-math libsparkler_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I@top_srcdir@/src diff --git a/src/modules/sparkler/sparkler.h b/src/modules/sparkler/sparkler.h deleted file mode 100644 index 3beb610..0000000 --- a/src/modules/sparkler/sparkler.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _SPARKLER_H -#define _SPARKLER_H - -#include "fb.h" - -void sparkler(fb_fragment_t *fragment); - -#endif diff --git a/src/modules/stars/Makefile.am b/src/modules/stars/Makefile.am index 2e2c243..f1344a8 100644 --- a/src/modules/stars/Makefile.am +++ b/src/modules/stars/Makefile.am @@ -1,4 +1,4 @@ noinst_LIBRARIES = libstars.a -libstars_a_SOURCES = draw.h stars.c stars.h starslib.c starslib.h +libstars_a_SOURCES = draw.h stars.c starslib.c starslib.h libstars_a_CFLAGS = @ROTOTILLER_CFLAGS@ libstars_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I@top_srcdir@/src diff --git a/src/modules/stars/stars.h b/src/modules/stars/stars.h deleted file mode 100644 index 70ef6f2..0000000 --- a/src/modules/stars/stars.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _STARS_H -#define _STARS_H - -#include "fb.h" - -void stars(fb_fragment_t *fragment); - -#endif -- cgit v1.2.3