The purpose of this branch is to create a version of the game from
before the bug fixes, refactoring, and logic changes. We want this so
we can run it against our 100% coverage test suite and see all changes
in behavior.
This branch is forked from the point where the prompt and the oldstyle
option were added. At this point there had been only two logic
changes:
1. Do initialization of the LCG with gettimeofday(). Note that
this change will not affectt regression testing, since the
initialization done in this way will nbe overridden in the
logs by seed commands.
2. Refactor the input routines to a normal Unixy organization.
This is required for the -l option to work.
This commit just builds the binary at advent430 where it
won't collide with the production version.
SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control
.c.o:
- gcc -O $(DBX) -c $<
+ gcc -g $(DBX) -c $<
-advent: $(OBJS)
- gcc -O $(DBX) -o advent $(OBJS)
+advent430: $(OBJS)
+ gcc -g $(DBX) -o advent430 $(OBJS)
main.o: misc.h funcs.h
misc.o: misc.h main.h
clean:
- rm -f *.o advent advent.html advent.6
+ rm -f *.o advent.html advent.6
+
+realclean: clean
+ rm -f adventure.data advent430
# Requires asciidoc and xsltproc/docbook stylesheets.
.asc.6: