Skip to content

Commit

Permalink
Initial revision
Browse files Browse the repository at this point in the history
svn-id: r4785
  • Loading branch information
fingolfin committed Aug 21, 2002
1 parent 662256f commit ce46866
Show file tree
Hide file tree
Showing 160 changed files with 250 additions and 369 deletions.
6 changes: 0 additions & 6 deletions .cvsignore

This file was deleted.

15 changes: 0 additions & 15 deletions .indent.pro

This file was deleted.

File renamed without changes.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# $Header$

CC = g++
CXX = c++
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
DEFINES =
LDFLAGS :=
INCLUDES:= -I./ -I./sound
INCLUDES:= -I. -Icommon -Iscumm -Isound
LIBS = -lncurses

# Uncomment this to activate the MAD lib for compressed sound files
# DEFINES += -DCOMPRESSED_SOUND_FILE
# LIBS += -lmad
DEFINES += -DCOMPRESSED_SOUND_FILE
LIBS += -lmad

# Uncomment this to activate the ALSA lib for midi
# DEFINES += -DUSE_ALSA
Expand All @@ -19,23 +19,23 @@ LIBS = -lncurses
# Beware, only define one of them, otherwise the compilation will blow up.

# Comment this if you want to disable SDL output
OBJS = sdl.o
OBJS = backends/sdl/sdl.o
INCLUDES += `sdl-config --cflags`
LIBS += `sdl-config --libs`
DEFINES += -DUNIX

# Uncomment this (instead of the above) to activate the SDL with OpenGL output
# OBJS = sdl_gl.o
# OBJS = backends/sdl/sdl_gl.o
# INCLUDES += `sdl-config --cflags`
# LIBS += `sdl-config --libs` -lGL
# DEFINES += -DUNIX

# Uncomment this in addition to the above if you compile on Mac OS X
# LIBS += -framework QuickTime -framework AudioUnit
# DEFINES += -DMACOSX
LIBS += -framework QuickTime -framework AudioUnit
DEFINES += -DMACOSX

# Uncomment this if you rather want X11 output
# OBJS = x11.o
# OBJS = backends/x11/x11.o
# DEFINES += -DUNIX -DX11_BACKEND
# LDFLAGS := -L/usr/X11R6/lib -L/usr/local/lib
# INCLUDES+= -I/usr/X11R6/include
Expand Down
67 changes: 40 additions & 27 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,44 @@

ZIPFILE := scummvm-`date '+%Y-%m-%d'`.zip

INCS = scumm.h scummsys.h stdafx.h

OBJS += util.o newgui.o gui/widget.o gui/dialog.o \
gui/ListWidget.o gui/ScrollBarWidget.o \
actor.o akos.o boxes.o bundle.o config-file.o costume.o debug.o \
debugrl.o engine.o gameDetector.o gfx.o gui.o insane.o main.o object.o \
resource.o saveload.o scaler.o script.o script_v1.o script_v2.o \
scummvm.o sound.o string.o sys.o timer.o vars.o verbs.o \
sound/imuse.o sound/fmopl.o sound/mixer.o \
v3/resource_v3.o v4/resource_v4.o \
simon/midi.o simon/simon.o simon/simonsys.o simon/simonvga.o \
simon/simondebug.o simon/simonres.o simon/simonitems.o simon/simonverb.o \
sound/mididrv.o

DISTFILES=$(OBJS:.o=.cpp) Makefile scummvm.dsp scummvm.dsw stdafx.cpp \
whatsnew.txt readme.txt copying.txt \
actor.h akos.h boxes.h bundle.h cmdline.h config-file.h costume.h debug.h \
debugrl.h engine.h fb2opengl.h gameDetector.h gapi_keys.h gfx.h gui.h guimaps.h \
newgui.h object.h resource.h saveload.h scaler.h scumm.h scummsys.h smush.h \
sound.h stdafx.h system.h timer.h util.h sound/fmopl.h
INCS = scumm/scumm.h common/scummsys.h common/stdafx.h

COMMON_OBJS = common/config-file.o common/gameDetector.o common/main.o \
common/timer.o common/util.o

GUI_OBJS = gui/gui.o gui/newgui.o gui/widget.o gui/dialog.o gui/ListWidget.o \
gui/ScrollBarWidget.o

SCUMM_OBJS = scumm/actor.o scumm/akos.o scumm/boxes.o scumm/bundle.o \
scumm/costume.o scumm/debug.o scumm/debugrl.o scumm/engine.o scumm/gfx.o \
scumm/imuse.o scumm/insane.o scumm/object.o scumm/resource.o \
scumm/resource_v3.o scumm/resource_v4.o scumm/saveload.o scumm/scaler.o \
scumm/script.o scumm/script_v1.o scumm/script_v2.o scumm/scummvm.o \
scumm/string.o scumm/sys.o scumm/vars.o scumm/verbs.o

SIMON_OBJS = simon/debug.o simon/items.o simon/midi.o simon/res.o simon/simon.o \
simon/sys.o simon/verb.o simon/vga.o

SOUND_OBJS = sound/fmopl.o sound/mididrv.o sound/mixer.o sound/sound.o

OBJS += $(COMMON_OBJS) $(GUI_OBJS) scumm/libscumm.a simon/libsimon.a $(SOUND_OBJS)

DISTFILES=$(OBJS:.o=.cpp) Makefile scumm.h scummsys.h stdafx.h stdafx.cpp \
debugrl.h whatsnew.txt readme.txt copying.txt \
scummvm.dsp scummvm.dsw sound/fmopl.h gui.h sound.h

all: scummvm$(EXEEXT)

scummvm$(EXEEXT): $(OBJS)
$(CC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS)
$(CXX) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS)

scumm/libscumm.a: $(SCUMM_OBJS)
ar cru $@ $+
ranlib $@

simon/libsimon.a: $(SIMON_OBJS)
ar cru $@ $+
ranlib $@

clean:
rm -f $(OBJS) scummvm$(EXEEXT)
Expand All @@ -37,18 +50,18 @@ clean:

# Default (dumb) compile & dependcy rules
.cpp.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
$(CXX) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
$(OBJS): $(INCS)


# If you use GCC, disable the above and enable this for intelligent
# dependency tracking.
#DEPDIR := .deps
#.cpp.o:
# mkdir -p $(DEPDIR)
# $(CC) -Wp,-MMD,"$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
# echo -n "$(*D)/" > $(DEPDIR)/$(*F).d
# cat "$(DEPDIR)/$(*F).d2" >> "$(DEPDIR)/$(*F).d"
# rm -f "$(DEPDIR)/$(*F).d2"
# mkdir -p $(*D)/$(DEPDIR)
# $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
# echo -n "$(*D)/" > $(*D)/$(DEPDIR)/$(*F).d
# cat "$(*D)/$(DEPDIR)/$(*F).d2" >> "$(*D)/$(DEPDIR)/$(*F).d"
# rm -f "$(*D)/$(DEPDIR)/$(*F).d2"
#
#-include $(DEPDIR)/*.d
21 changes: 0 additions & 21 deletions Makefile.irix

This file was deleted.

45 changes: 0 additions & 45 deletions Makefile.mingw

This file was deleted.

20 changes: 0 additions & 20 deletions Makefile.qtopia

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added backends/mac/scummvm.icns
Binary file not shown.
Binary file renamed mac/scummvm.mcp → backends/mac/scummvm.mcp
Binary file not shown.
11 changes: 5 additions & 6 deletions morphos/Makefile → backends/morphos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ INCS = scumm.h scummsys.h stdafx.h

GUIOBJS = widget.o dialog.o newgui.o ListWidget.o ScrollBarWidget.o

SCUMMOBJS = actor.o akos.o boxes.o bundle.o costume.o debug.o debugrl.o gfx.o \
object.o saveload.o script.o scummvm.o sound.o string.o sys.o vars.o verbs.o \
script_v1.o script_v2.o gui.o imuse.o insane.o resource.o resource_v3.o resource_v4.o

SIMONOBJS = midi.o simon.o simondebug.o simonitems.o simonres.o simonsys.o simonverb.o simonvga.o

OBJS = config-file.o engine.o gameDetector.o fmopl.o mixer.o mididrv.o util.o main.o \
OBJS = actor.o akos.o boxes.o config-file.o costume.o gfx.o object.o resource.o \
saveload.o script.o scummvm.o sound.o string.o sys.o verbs.o \
morphos.o morphos_scaler.o morphos_sound.o morphos_start.o morphos_timer.o \
$(GUIOBJS) $(SCUMMOBJS) $(SIMONOBJS)
script_v1.o script_v2.o debug.o gui.o imuse.o fmopl.o mixer.o mididrv.o \
debugrl.o vars.o insane.o gameDetector.o resource_v3.o resource_v4.o \
util.o main.o bundle.o $(GUIOBJS) $(SIMONOBJS)

DISTFILES=$(OBJS:.o=.cpp) Makefile scumm.h scummsys.h stdafx.h stdafx.cpp \
windows.cpp debugrl.h whatsnew.txt readme.txt copying.txt \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file renamed wince/MenuTitle.bmp → backends/wince/MenuTitle.bmp
100755 → 100644
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions gameDetector.cpp → common/gameDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@


#include "stdafx.h"
#include "scumm.h"
#include "scumm/scumm.h"
#include "sound/mididrv.h"
#include "sound/imuse.h"
#include "gameDetector.h"
#include "config-file.h"
#include "scumm/imuse.h"
#include "common/gameDetector.h"
#include "common/config-file.h"


#define CHECK_OPTION() if ((current_option != NULL) || (*s != '\0')) goto ShowHelpAndExit
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions stdafx.h → common/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* $Id$
*
* $Log$
* Revision 1.1 2002/08/21 16:07:23 fingolfin
* Initial revision
*
* Revision 1.18 2002/07/08 13:33:10 fingolfin
* two more small QNX fixes
*
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions debian/.cvsignore

This file was deleted.

9 changes: 0 additions & 9 deletions debian/README.Debian

This file was deleted.

8 changes: 0 additions & 8 deletions debian/changelog.cvs

This file was deleted.

22 changes: 0 additions & 22 deletions debian/changelog.debian

This file was deleted.

23 changes: 0 additions & 23 deletions debian/changelog.debian_official

This file was deleted.

15 changes: 0 additions & 15 deletions debian/control

This file was deleted.

Loading

0 comments on commit ce46866

Please sign in to comment.