- Fixed: The source no longer built with GCC.

- Added a cheap pitch shifting for underwater environments that should be fairly
  close to Duke's. It sounds okay for some sounds, but others like the BFG, where
  the timing of the sound actually matters, don't sound good. I shall have to
  replace it with a real pitch shifter DSP unit.


SVN r819 (trunk)
This commit is contained in:
Randy Heit 2008-03-19 23:03:14 +00:00
commit 087e34bbb3
10 changed files with 208 additions and 362 deletions

View file

@ -28,7 +28,7 @@ CFLAGS += $(INCLUDES)
RELEASEOBJ ?= releaseobj
DEBUGOBJ ?= debugobj
CPPSRCS = $(wildcard $(addsuffix *.cpp,$(SRCDIRS)))
CPPSRCS = $(wildcard $(addsuffix *.cpp,$(SRCDIRS))) src/xlat/parse_xlat.cpp
CSRCS = $(wildcard $(addsuffix *.c,$(SRCDIRS)))
ifdef NOASM
CFLAGS += -DNOASM
@ -88,6 +88,13 @@ $(OBJDIR)/nodebuild_classify_sse2.o: nodebuild_classify_sse2.cpp
$(OBJDIR)/fmopl.o: src/oplsynth/fmopl.cpp
$(CCDV) $(CXX) $(CXXFLAGS) -fno-tree-dominator-opts -fno-tree-fre -c -o $@ $<
src/xlat/xlat_parser.c: src/xlat/xlat_parser.y
$(CCDV) $(LEMON) -s src/xlat/xlat_parser.y
# Dunno why make isn't picking this stuff up automatically for this file.
$(OBJDIR)/parse_xlat.o: src/xlat/parse_xlat.cpp src/xlat/xlat.h src/xlat/xlat_parser.c src/xlat/xlat_parser.h
$(CCDV) $(CXX) $(CXXFLAGS) -o $@ -c $<
$(OBJDIR):
mkdir $(OBJDIR)