summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-09-30 12:36:07 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-09-30 12:36:07 +0000
commita236f09f952238bd0efcbad63f9ce892660c5094 (patch)
tree3b1a2b60c6d870637a126893ad8b44025170ba65
parenta67e78c324b3c5c55b67face676910f8ba39fc40 (diff)
Renamed the core Revenge source code.
-rw-r--r--src/Makefile.am24
-rw-r--r--src/Makefile.in64
-rw-r--r--src/gl_alpha_test.c2
-rw-r--r--src/gl_blend.c2
-rw-r--r--src/gl_clear.c2
-rw-r--r--src/gl_clip_plane.c2
-rw-r--r--src/gl_color_logic_op.c2
-rw-r--r--src/gl_cull_face.c2
-rw-r--r--src/gl_depth_func.c2
-rw-r--r--src/gl_depth_mask.c2
-rw-r--r--src/gl_depth_range.c2
-rw-r--r--src/gl_front_face.c2
-rw-r--r--src/gl_line_smooth.c2
-rw-r--r--src/gl_line_smooth_hint.c2
-rw-r--r--src/gl_line_width.c2
-rw-r--r--src/gl_null.c2
-rw-r--r--src/gl_point_size.c2
-rw-r--r--src/gl_primitives.c2
-rw-r--r--src/gl_render_mode.c2
-rw-r--r--src/gl_scissor_test.c2
-rw-r--r--src/gl_shade_model.c2
-rw-r--r--src/gl_texture.c2
-rw-r--r--src/gl_texture_mag_filter.c2
-rw-r--r--src/gl_texture_min_filter.c2
-rw-r--r--src/gl_texture_wrap_s.c2
-rw-r--r--src/gl_texture_wrap_t.c2
-rw-r--r--src/revenge_detect.c (renamed from src/detect.c)4
-rw-r--r--src/revenge_detect.h (renamed from src/detect.h)0
-rw-r--r--src/revenge_dump.c (renamed from src/dump.c)8
-rw-r--r--src/revenge_dump.h (renamed from src/dump.h)0
-rw-r--r--src/revenge_main.c (renamed from src/main.c)6
-rw-r--r--src/revenge_main.h (renamed from src/main.h)0
-rw-r--r--src/revenge_memory.c (renamed from src/memory.c)4
-rw-r--r--src/revenge_memory.h (renamed from src/memory.h)0
-rw-r--r--src/revenge_register.c (renamed from src/register.c)2
-rw-r--r--src/revenge_register.h (renamed from src/register.h)0
-rw-r--r--src/revenge_test.c (renamed from src/test.c)6
-rw-r--r--src/revenge_test.h (renamed from src/test.h)0
38 files changed, 84 insertions, 82 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index bc1072e..20f1751 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,10 +3,6 @@ AM_CFLAGS = -DGL_GLEXT_PROTOTYPES -Wall `sdl-config --cflags`
bin_PROGRAMS = revenge
revenge_SOURCES = \
- detect.c \
- detect.h \
- dump.c \
- dump.h \
gl_alpha_test.c \
gl_alpha_test.h \
gl_blend.c \
@@ -55,11 +51,15 @@ revenge_SOURCES = \
gl_texture_wrap_s.h \
gl_texture_wrap_t.c \
gl_texture_wrap_t.h \
- main.c \
- main.h \
- memory.c \
- memory.h \
- register.c \
- register.h \
- test.c \
- test.h
+ revenge_detect.c \
+ revenge_detect.h \
+ revenge_dump.c \
+ revenge_dump.h \
+ revenge_main.c \
+ revenge_main.h \
+ revenge_memory.c \
+ revenge_memory.h \
+ revenge_register.c \
+ revenge_register.h \
+ revenge_test.c \
+ revenge_test.h
diff --git a/src/Makefile.in b/src/Makefile.in
index b4a0004..4b1f84a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -43,20 +43,22 @@ CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
-am_revenge_OBJECTS = detect.$(OBJEXT) dump.$(OBJEXT) \
- gl_alpha_test.$(OBJEXT) gl_blend.$(OBJEXT) gl_clear.$(OBJEXT) \
- gl_clip_plane.$(OBJEXT) gl_color_logic_op.$(OBJEXT) \
- gl_cull_face.$(OBJEXT) gl_depth_func.$(OBJEXT) \
- gl_depth_mask.$(OBJEXT) gl_depth_range.$(OBJEXT) \
- gl_front_face.$(OBJEXT) gl_line_smooth.$(OBJEXT) \
- gl_line_smooth_hint.$(OBJEXT) gl_line_width.$(OBJEXT) \
- gl_null.$(OBJEXT) gl_point_size.$(OBJEXT) \
- gl_primitives.$(OBJEXT) gl_render_mode.$(OBJEXT) \
- gl_scissor_test.$(OBJEXT) gl_shade_model.$(OBJEXT) \
- gl_texture.$(OBJEXT) gl_texture_mag_filter.$(OBJEXT) \
+am_revenge_OBJECTS = gl_alpha_test.$(OBJEXT) gl_blend.$(OBJEXT) \
+ gl_clear.$(OBJEXT) gl_clip_plane.$(OBJEXT) \
+ gl_color_logic_op.$(OBJEXT) gl_cull_face.$(OBJEXT) \
+ gl_depth_func.$(OBJEXT) gl_depth_mask.$(OBJEXT) \
+ gl_depth_range.$(OBJEXT) gl_front_face.$(OBJEXT) \
+ gl_line_smooth.$(OBJEXT) gl_line_smooth_hint.$(OBJEXT) \
+ gl_line_width.$(OBJEXT) gl_null.$(OBJEXT) \
+ gl_point_size.$(OBJEXT) gl_primitives.$(OBJEXT) \
+ gl_render_mode.$(OBJEXT) gl_scissor_test.$(OBJEXT) \
+ gl_shade_model.$(OBJEXT) gl_texture.$(OBJEXT) \
+ gl_texture_mag_filter.$(OBJEXT) \
gl_texture_min_filter.$(OBJEXT) gl_texture_wrap_s.$(OBJEXT) \
- gl_texture_wrap_t.$(OBJEXT) main.$(OBJEXT) memory.$(OBJEXT) \
- register.$(OBJEXT) test.$(OBJEXT)
+ gl_texture_wrap_t.$(OBJEXT) revenge_detect.$(OBJEXT) \
+ revenge_dump.$(OBJEXT) revenge_main.$(OBJEXT) \
+ revenge_memory.$(OBJEXT) revenge_register.$(OBJEXT) \
+ revenge_test.$(OBJEXT)
revenge_OBJECTS = $(am_revenge_OBJECTS)
revenge_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
@@ -157,10 +159,6 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_CFLAGS = -DGL_GLEXT_PROTOTYPES -Wall `sdl-config --cflags`
revenge_SOURCES = \
- detect.c \
- detect.h \
- dump.c \
- dump.h \
gl_alpha_test.c \
gl_alpha_test.h \
gl_blend.c \
@@ -209,14 +207,18 @@ revenge_SOURCES = \
gl_texture_wrap_s.h \
gl_texture_wrap_t.c \
gl_texture_wrap_t.h \
- main.c \
- main.h \
- memory.c \
- memory.h \
- register.c \
- register.h \
- test.c \
- test.h
+ revenge_detect.c \
+ revenge_detect.h \
+ revenge_dump.c \
+ revenge_dump.h \
+ revenge_main.c \
+ revenge_main.h \
+ revenge_memory.c \
+ revenge_memory.h \
+ revenge_register.c \
+ revenge_register.h \
+ revenge_test.c \
+ revenge_test.h
all: all-am
@@ -284,8 +286,6 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/detect.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_alpha_test.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_blend.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_clear.Po@am__quote@
@@ -310,10 +310,12 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_texture_min_filter.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_texture_wrap_s.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gl_texture_wrap_t.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memory.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/register.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/revenge_detect.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/revenge_dump.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/revenge_main.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/revenge_memory.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/revenge_register.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/revenge_test.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
diff --git a/src/gl_alpha_test.c b/src/gl_alpha_test.c
index 1ceb3f2..8574c81 100644
--- a/src/gl_alpha_test.c
+++ b/src/gl_alpha_test.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_blend.c b/src/gl_blend.c
index 64d5f2e..68187d7 100644
--- a/src/gl_blend.c
+++ b/src/gl_blend.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_clear.c b/src/gl_clear.c
index a08e159..7a1e0fc 100644
--- a/src/gl_clear.c
+++ b/src/gl_clear.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_clear_color_buffer (void)
diff --git a/src/gl_clip_plane.c b/src/gl_clip_plane.c
index c1040b2..2b6b46a 100644
--- a/src/gl_clip_plane.c
+++ b/src/gl_clip_plane.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_clip_plane (void)
diff --git a/src/gl_color_logic_op.c b/src/gl_color_logic_op.c
index ce21412..d134b4b 100644
--- a/src/gl_color_logic_op.c
+++ b/src/gl_color_logic_op.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_cull_face.c b/src/gl_cull_face.c
index e2f9f65..9115de7 100644
--- a/src/gl_cull_face.c
+++ b/src/gl_cull_face.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_depth_func.c b/src/gl_depth_func.c
index 8f3b5f8..3c23ac0 100644
--- a/src/gl_depth_func.c
+++ b/src/gl_depth_func.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_depth_mask.c b/src/gl_depth_mask.c
index a2098e6..568fc6b 100644
--- a/src/gl_depth_mask.c
+++ b/src/gl_depth_mask.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_depth_range.c b/src/gl_depth_range.c
index 15afe29..e19cc42 100644
--- a/src/gl_depth_range.c
+++ b/src/gl_depth_range.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_depth_range (void)
diff --git a/src/gl_front_face.c b/src/gl_front_face.c
index 058a563..0de1123 100644
--- a/src/gl_front_face.c
+++ b/src/gl_front_face.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_line_smooth.c b/src/gl_line_smooth.c
index 88b91c3..a13f9a7 100644
--- a/src/gl_line_smooth.c
+++ b/src/gl_line_smooth.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_line_smooth (void)
diff --git a/src/gl_line_smooth_hint.c b/src/gl_line_smooth_hint.c
index 4d5f8fc..66c82f0 100644
--- a/src/gl_line_smooth_hint.c
+++ b/src/gl_line_smooth_hint.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_line_width.c b/src/gl_line_width.c
index 0f3eaa3..8dea59d 100644
--- a/src/gl_line_width.c
+++ b/src/gl_line_width.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_line_width (void)
diff --git a/src/gl_null.c b/src/gl_null.c
index d36d98d..2ea68cd 100644
--- a/src/gl_null.c
+++ b/src/gl_null.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_null (void)
diff --git a/src/gl_point_size.c b/src/gl_point_size.c
index 173b267..4d8062e 100644
--- a/src/gl_point_size.c
+++ b/src/gl_point_size.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_point_size (void)
diff --git a/src/gl_primitives.c b/src/gl_primitives.c
index 9f02b57..3c10a24 100644
--- a/src/gl_primitives.c
+++ b/src/gl_primitives.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_render_mode.c b/src/gl_render_mode.c
index c9b5bd8..c026ffa 100644
--- a/src/gl_render_mode.c
+++ b/src/gl_render_mode.c
@@ -24,7 +24,7 @@
#include <stdlib.h>
#include <string.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_render_mode_render (void)
diff --git a/src/gl_scissor_test.c b/src/gl_scissor_test.c
index 9fd2fb1..6a9cc6a 100644
--- a/src/gl_scissor_test.c
+++ b/src/gl_scissor_test.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
void
gl_scissor_test (void)
diff --git a/src/gl_shade_model.c b/src/gl_shade_model.c
index f142356..00503fb 100644
--- a/src/gl_shade_model.c
+++ b/src/gl_shade_model.c
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_texture.c b/src/gl_texture.c
index 8296f72..719c2c3 100644
--- a/src/gl_texture.c
+++ b/src/gl_texture.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
-#include <test.h>
+#include <revenge_test.h>
#define TEXTURE_WIDTH 16
#define TEXTURE_HEIGHT 16
diff --git a/src/gl_texture_mag_filter.c b/src/gl_texture_mag_filter.c
index f8c3fe6..b8ed585 100644
--- a/src/gl_texture_mag_filter.c
+++ b/src/gl_texture_mag_filter.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_texture_min_filter.c b/src/gl_texture_min_filter.c
index 4b13a49..93c06df 100644
--- a/src/gl_texture_min_filter.c
+++ b/src/gl_texture_min_filter.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_texture_wrap_s.c b/src/gl_texture_wrap_s.c
index e6fac4e..d32f688 100644
--- a/src/gl_texture_wrap_s.c
+++ b/src/gl_texture_wrap_s.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/gl_texture_wrap_t.c b/src/gl_texture_wrap_t.c
index 04bce87..e0fc946 100644
--- a/src/gl_texture_wrap_t.c
+++ b/src/gl_texture_wrap_t.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
-#include <test.h>
+#include <revenge_test.h>
typedef struct
{
diff --git a/src/detect.c b/src/revenge_detect.c
index 6cbf8cb..ff156bf 100644
--- a/src/detect.c
+++ b/src/revenge_detect.c
@@ -27,8 +27,8 @@
#include <stdlib.h>
#include <string.h>
-#include <main.h>
-#include <register.h>
+#include <revenge_main.h>
+#include <revenge_register.h>
unsigned int agp_addr = 0;
unsigned int agp_len = 0;
diff --git a/src/detect.h b/src/revenge_detect.h
index f4a82ce..f4a82ce 100644
--- a/src/detect.h
+++ b/src/revenge_detect.h
diff --git a/src/dump.c b/src/revenge_dump.c
index cc653dd..459c295 100644
--- a/src/dump.c
+++ b/src/revenge_dump.c
@@ -23,10 +23,10 @@
#include <stdlib.h>
#include <string.h>
-#include <detect.h>
-#include <main.h>
-#include <memory.h>
-#include <register.h>
+#include <revenge_detect.h>
+#include <revenge_main.h>
+#include <revenge_memory.h>
+#include <revenge_register.h>
static unsigned int ib_addr = 0, ib_num = 0, ib_size = 0;
static unsigned int rb_addr = 0, rb_head = 0, rb_size = 0, rb_tail = 0;
diff --git a/src/dump.h b/src/revenge_dump.h
index 9f831a9..9f831a9 100644
--- a/src/dump.h
+++ b/src/revenge_dump.h
diff --git a/src/main.c b/src/revenge_main.c
index 1adc47c..9c33e6e 100644
--- a/src/main.c
+++ b/src/revenge_main.c
@@ -34,9 +34,9 @@
#include <config.h>
-#include <detect.h>
-#include <main.h>
-#include <test.h>
+#include <revenge_detect.h>
+#include <revenge_main.h>
+#include <revenge_test.h>
int option_debug = 0;
int option_disable_ib = 0;
diff --git a/src/main.h b/src/revenge_main.h
index 2aefe4e..2aefe4e 100644
--- a/src/main.h
+++ b/src/revenge_main.h
diff --git a/src/memory.c b/src/revenge_memory.c
index 1012d37..37022a2 100644
--- a/src/memory.c
+++ b/src/revenge_memory.c
@@ -26,8 +26,8 @@
#include <sys/mman.h>
#include <unistd.h>
-#include <detect.h>
-#include <main.h>
+#include <revenge_detect.h>
+#include <revenge_main.h>
#define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1))
#define round_down(x, y) ((x) & ~((y) - 1))
diff --git a/src/memory.h b/src/revenge_memory.h
index 942d63b..942d63b 100644
--- a/src/memory.h
+++ b/src/revenge_memory.h
diff --git a/src/register.c b/src/revenge_register.c
index 2985196..05d1b58 100644
--- a/src/register.c
+++ b/src/revenge_register.c
@@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <main.h>
+#include <revenge_main.h>
unsigned int
register_read (unsigned int key)
diff --git a/src/register.h b/src/revenge_register.h
index 59e624e..59e624e 100644
--- a/src/register.h
+++ b/src/revenge_register.h
diff --git a/src/test.c b/src/revenge_test.c
index 9ad3934..c2f30e0 100644
--- a/src/test.c
+++ b/src/revenge_test.c
@@ -29,9 +29,9 @@
#include <time.h>
#include <unistd.h>
-#include <dump.h>
-#include <main.h>
-#include <test.h>
+#include <revenge_dump.h>
+#include <revenge_main.h>
+#include <revenge_test.h>
#include <gl_alpha_test.h>
#include <gl_blend.h>
diff --git a/src/test.h b/src/revenge_test.h
index cc8da2d..cc8da2d 100644
--- a/src/test.h
+++ b/src/revenge_test.h