0.0.6 - current CVS version
---------------------------
+ * Provided hint for fixing memory leak when fullscreen is toggled.
+ Ricardo Cruz <rick2@aeiou.pt>
+
+ * Made the code more flexible. This means we could add support for two-player games
+ relativly easily and add tons of bad guys in the future.
+ Tobias Glaesser <tobi.web@gmx.de>
+
+ * You can achieve as many frames as your hardware allows now.
+ Tobias Glaesser <tobi.web@gmx.de>
+
+ * Timers calculate with the real time now.
+ (FIXME: Pause doesn't work properly for now)
+ Tobias Glaesser <tobi.web@gmx.de>
+
+ * Introduced highly experimental OpenGL mode.
+ Tobias Glaesser <tobi.web@gmx.de>
+
+ * Restructured much code or even all code of SuperTux in an object orientated way.
+ Yeah, that's even possible in C and brought many new source-files to us. ;)
+ Tobias Glaesser <tobi.web@gmx.de>
+
* Fixes and improvements for the leveleditor.
Ricardo Cruz <rick2@aeiou.pt>
SDL_LIB=$(SDL_MIXER) $(SDL_IMAGE) $(SDL_LDFLAGS)
SDL_CFLAGS := $(shell sdl-config --cflags)
SDL_LDFLAGS := $(shell sdl-config --libs)
+GL_LIB = -L/usr/X11R6/lib -lGL
installbin = install -g $(USERNAME) -o $(USERNAME) -m 755
installdat = install -g $(USERNAME) -o $(USERNAME) -m 644
-OBJECTS=obj/supertux.o obj/setup.o obj/intro.o obj/title.o obj/level.o obj/gameloop.o \
+OBJECTS=obj/supertux.o obj/setup.o obj/intro.o obj/title.o obj/scene.o obj/collision.o obj/bitmask.o obj/type.o obj/badguy.o obj/special.o obj/world.o obj/player.o obj/level.o obj/gameloop.o \
obj/screen.o obj/sound.o obj/high_scores.o obj/menu.o obj/leveleditor.o
# Make commands:
# Main executable:
$(TARGET): $(OBJECTS)
- $(CC) $(CFLAGS) $(OBJECTS) -o $(TARGET) $(SDL_LIB)
+ $(CC) $(CFLAGS) $(OBJECTS) -o $(TARGET) $(SDL_LIB) $(GL_LIB)
# Objects:
obj/level.o: src/level.c src/defines.h src/globals.h \
src/level.h src/gameloop.h src/screen.h src/badguy.h
$(CC) $(CFLAGS) src/level.c -c -o obj/level.o
+
+obj/scene.o: src/scene.c src/scene.h \
+ src/defines.h src/globals.h src/screen.h src/scene.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/scene.c -c -o obj/scene.o
+
+obj/collision.o: src/collision.c src/collision.h \
+ src/defines.h src/globals.h src/screen.h src/scene.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/collision.c -c -o obj/collision.o
+
+obj/bitmask.o: src/bitmask.c src/bitmask.h \
+ src/defines.h src/globals.h src/screen.h src/scene.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/bitmask.c -c -o obj/bitmask.o
+
+obj/type.o: src/type.c src/type.h \
+ src/defines.h src/globals.h src/screen.h src/scene.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/type.c -c -o obj/type.o
+
+obj/badguy.o: src/badguy.c src/badguy.h \
+ src/defines.h src/globals.h src/screen.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/badguy.c -c -o obj/badguy.o
+
+obj/special.o: src/special.c src/special.h \
+ src/defines.h src/globals.h src/screen.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/special.c -c -o obj/special.o
+
+obj/world.o: src/world.c src/world.h \
+ src/defines.h src/globals.h src/screen.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/world.c -c -o obj/world.o
+
+obj/player.o: src/player.c src/player.h \
+ src/defines.h src/globals.h src/screen.h src/gameloop.h obj/sound.o \
+ src/setup.h obj/level.o
+ $(CC) $(CFLAGS) src/player.c -c -o obj/player.o
obj/gameloop.o: src/gameloop.c src/gameloop.h \
src/defines.h src/globals.h src/screen.h obj/sound.o \
- src/setup.h obj/level.o
+ src/setup.h obj/level.o obj/player.o
$(CC) $(CFLAGS) src/gameloop.c -c -o obj/gameloop.o
obj/screen.o: src/screen.c src/defines.h src/globals.h src/screen.h