aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2006-02-25Rename those files so that:Chris Apers
- fucntions can also be used in C projects - functions really replace same functions from MSL instead of having multiple definitions for C and C++ svn-id: r20887
2006-02-25Prepare those files to be renamed as *.cChris Apers
svn-id: r20886
2006-02-25Moved dummy MIDI driver from backends/ to sound/ (this fixes bug #1435221)Max Horn
svn-id: r20878
2006-02-25Updated name in scriptLars Persson
svn-id: r20871
2006-02-25New makescripts for Symbian OSLars Persson
svn-id: r20870
2006-02-23Changed mmp zip file for .in filesLars Persson
svn-id: r20822
2006-02-20Moved common/scaler* to graphics/Max Horn
svn-id: r20797
2006-02-20Fixed warning when compiling with DISABLE_SCALERSTorbjörn Andersson
svn-id: r20786
2006-02-15Fixed normal (1x) mode config (normal=default)Chris Apers
svn-id: r20707
2006-02-14Forgot to add x11.hOystein Eftevaag
svn-id: r20682
2006-02-14Fixed and cleaned up the X11 backend (and added 24/32 bpp support so it ↵Oystein Eftevaag
would actually run on my system). Who knows, might actually be useful to someone :) svn-id: r20681
2006-02-13Updated installation file for S60V3Lars Persson
svn-id: r20675
2006-02-13Updated application iconsLars Persson
svn-id: r20674
2006-02-13Fix compilation after engines moved to engines/Joost Peters
svn-id: r20670
2006-02-13Whew. It seems that I made a mistake last time. :(Won Star
Fix sound timer frequency for the GP32 port. svn-id: r20668
2006-02-13CC := arm-elf-gccWon Star
CXX := arm-elf-g++ LD := arm-elf-g++ AS := arm-elf-as AR := arm-elf-ar cru RANLIB := arm-elf-ranlib RM := rm -f MKDIR := mkdir -p ECHO := echo -n CAT := cat RM := rm -f # recursive version of RM RM_REC := $(RM) -r ZIP := zip -q CP := cp OBJCOPY := arm-elf-objcopy FXETOOL := b2fxec ####################################################################### # Default compilation parameters. Normally don't edit these # ####################################################################### CXXFLAGS:= -g -O DEFINES := LDFLAGS := INCLUDES:= -I. -Icommon LIBS := OBJS := # Turn on useful warnings CXXFLAGS+= -Wall -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion CXXFLAGS+= -Wshadow -Wuninitialized -Wimplicit -Wundef CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder CXXFLAGS+= -Wwrite-strings -fcheck-new -Wctor-dtor-privacy -Wnon-virtual-dtor # GPSDK (SDK, Includes and Startup Files) base dir GPSDK = /usr/compat/gp32/share/sdk # Outputs EXEEXT = .elf MAPFILE = scummvm.map BIN = scummvm.gxb FXE = scummvm.fxe # Stripped Build? (Smaller ELF, Minimal debug symbol information). # You MUST comment this out with a # if you wish to debug your code. # STRIP_DEBUG = -Wl,--strip-debug # Plugins hack srcdir = ./ # GP32 Direct Execute Tool (i.e. pclink -e on Windows, gplink run on Linux) EXECUTE_TOOL = pclink -e # # -ffast-math \ # -fshort-double \ # # # #-Wno-multichar \ # Remove the below from the above flags for Debug. CFLAGS = -marm -march=armv4t -mtune=arm920 -mapcs \ -finline-functions \ -fshort-enums \ -mstructure-size-boundary=32 \ -mno-thumb-interwork \ -I$(GPSDK)/include \ -g \ -O2 \ -fomit-frame-pointer CPPFLAGS = $(CFLAGS) DEFINES = -D__GP32__ DEFINES += -DNONSTANDARD_PORT # Support Vorbis Tremor Patches. #DEFINES += -DVORBIS_TREMOR # Support LIBMAD Patches. #DEFINES += -DGP32_MADMP3 # Support for 8:3 save files names (The GP32 uses FAT12/16 (no vFAT) for the file system). DEFINES += -DSHORT_SAVENAMES # Support for the unsigned sound mixer. DEFINES += -DOUTPUT_UNSIGNED_AUDIO # Support for the GP32 (fmOPL derived) MIDI engine. # - NOT fully implemented yet. DEFINES += -DUSE_GP32_FMOPL LDSPECS = -specs=gp32_gpsdk.specs LDFLAGS = $(STRIP_DEBUG) \ -Wl,-Map,$(MAPFILE) \ $(LDSPECS) -Wl,--no-warn-mismatch LIBS += -L$(GPSDK)/lib \ -lgpmem -lgpos -lgpstdio -lgpstdlib -lgpsound -lgpgraphic -lgpfont \ -lm -lc -lgcc INCLUDES += -Ibackends/gp32 -Iengines -I$(GPSDK)/include MODULES += backends/gp32 #GP32 Debug - Remove from Release builds # This builds in the GP32 GDB USB Stub. Don't use it unless you know what your doing. # You also need to remove ANY optemisation from the compiler flags. #DEFINES += -DGP32_GDB #OBJS += backends/gp32/debug-gdbstub-usb.o # Standard librarys and optimization modules OBJS += backends/gp32/startup.o \ backends/gp32/memcpy.o \ backends/gp32/gp_asmlib.o \ backends/gp32/gp_clipped.o \ backends/gp32/fontdata.o # Custom GP32 std library OBJS += backends/gp32/gp32std.o \ backends/gp32/gp32std_grap.o \ backends/gp32/gp32std_input.o \ backends/gp32/gp32std_sound.o \ #backends/gp32/dmaaudio_asm.o \ #backends/gp32/dmaaudio.o \ #Main ScummVM for the GP32 Backend OBJS += backends/gp32/gp32_main.o \ backends/gp32/gp32_launcher.o \ backends/gp32/gp32_osys.o \ backends/gp32/gp-fs.o #install: all #$(EXECUTE_TOOL) $(BIN) $(FXE): $(BIN) $(FXETOOL) -f -a "The ScummVM Team" -t "ScummVM for the GP32" $< $@ # $(FXETOOL) -f -a "The ScummVM Team" -t "ScummVM for the GP32" -b scummvm.bmp $< $@ $(BIN): scummvm$(EXEEXT) $(OBJCOPY) -O binary $< $@ ####################################################################### # Compile options - you can modify these to tweak ScummVM compilation # ####################################################################### # Uncomment this to activate the MAD lib for compressed sound files # DEFINES += -DUSE_MAD # LIBS += -lmad # Uncomment this to activate the Ogg Vorbis lib for compressed sound files # You MUST use Tremor for Ogg Vorbis support on the GP32 port. # DEFINES += -DUSE_VORBIS # LIBS += -lvorbisfile -lvorbis # Uncomment this to activate the ALSA lib for midi # DEFINES += -DUSE_ALSA # LIBS += -lasound # Uncomment this to cause warnings to be treated as errors # CXXFLAGS+= -Werror # Uncomment this to use GCC 3.x specific dependency tracking (recommended) HAVE_GCC3 = 1 ####################################################################### # Control which modules are built - uncomment any to disable module # ####################################################################### DISABLE_SCALERS = 1 DISABLE_HQ_SCALERS = 1 #DISABLE_SCUMM = 1 #DISABLE_SCUMM_7_8 = 1 DISABLE_HE = 1 DISABLE_SIMON = 1 DISABLE_SKY = 1 DISABLE_QUEEN = 1 # The engines below are not supported on the GP32 port so there is # no point compiling support into the binary. DISABLE_SWORD1 = 1 DISABLE_SWORD2 = 1 # In-development engines below. # Disable for ALL release builds. DISABLE_SAGA = 1 DISABLE_KYRA = 1 DISABLE_GOB = 1 ####################################################################### # Misc stuff - you should normally never have to edit this # ####################################################################### EXECUTABLE := scummvm$(EXEEXT) include Makefile.common dist: $(RM) $(ZIPFILE) $(ZIP) $(ZIPFILE) $(DISTFILES) install: $(FXE) $(EXECUTE_TOOL) $(BIN) svn-id: r20664
2006-02-12Revamped launcher codeChris Apers
+ more user freindly error message with ModImport + New direct mode code with some default option + Games data can now be directly in the Games folder using . as path + Added missing scummvm languages option + Added --render-mode option + Removed gfxMode, now only normal(1x) or wide + Added missing scummvm platforms option + Fixed per engine command line options + Alpha. ordered music drivers + Added 44khz (mainly for Zodiac) and FM Quality option + global command line options are now also used in direct mode + Added stylusClick, autoSave, advanced OS5 mode, optional led indicator, GoLCD API support + New feature to set ARM stack size + Fixed rotation problem svn-id: r20656
2006-02-12- Splitted AppStartCheckScreenSize from app.cpp rev19461, here is the palm ↵Chris Apers
standard one : SonyScreenSize svn-id: r20654
2006-02-12- Fixed bug #1329844, autooff not reset on exitChris Apers
- Splitted AppStartCheckScreenSize from app.cpp rev19461, here is the palm standard one : PalmScreenSize - Move PalmGetMemory here from file forminfo.cpp rev18604 svn-id: r20653
2006-02-12CleanupChris Apers
svn-id: r20650
2006-02-12- Removed obsolete ARM stuff, modules are now almost-fully ARMChris Apers
- Added autosave period and OS5 ARM advanced mode - indicator can also be use with 16bit display svn-id: r20649
2006-02-12New feature to pass selected stack size to modulesChris Apers
svn-id: r20648
2006-02-12Not available in ARM mode for nowChris Apers
svn-id: r20647
2006-02-12Fixed header, sorryChris Apers
svn-id: r20646
2006-02-12- Use WinSetCoord only when needed, this fix some system redraw problemsChris Apers
- Get rid of Win*Lock functions, safer - OSD (mainly DrawStatus) can now be use in 16bit mode too - Move redawOSD to the base class - Updated draw_osd function with standard PalmOS functions instead of Zodiac API, this draw_osd use big endian resources where OS5 version us little endian svn-id: r20645
2006-02-12It is _soundEx nowChris Apers
svn-id: r20640
2006-02-12- Removed unused StrReplace functionChris Apers
- DrawStatus now support 8 and 16bit display - Coordinate system is now used correctly (set only when needed), no more need to reset it in PalmFatalError - Added new/delete operators for ARM OS5 mode svn-id: r20638
2006-02-12- Removed obsolete DEBUG definesChris Apers
- Added LURE and OS5 defines svn-id: r20637
2006-02-12- Added ARM module launcherChris Apers
- Updated 68k launcher with lastest changes to gVars + GoLCD API support + Fix for invisible DIA using Stuffs*VG functions + New communication process between frontend and module to know if the module needs extra files + Get free memory at startup svn-id: r20636
2006-02-12New definitions for frontend <-> module communicationChris Apers
svn-id: r20635
2006-02-12Only in ARM modeChris Apers
svn-id: r20634
2006-02-12-mMove PalmOS project file to a more appropriate placeChris Apers
svn-id: r20632
2006-02-12Removed egcc lib from S60V3 mmp file.Lars Persson
svn-id: r20619
2006-02-12Changed file paths from /epoc/ to /symbian/Lars Persson
svn-id: r20618
2006-02-12Renaming the folder "epoc"->"symbian"Lars Persson
svn-id: r20612
2006-02-12svn-id: r20606Lars Persson
2006-02-12openCD() and pollCD() should return false, since they don't actually access ↵Joost Peters
a CD. This avoids some common pitfalls in new backends based off of this, like e.g. the hang on the final chapter screen in MI1CD. svn-id: r20588
2006-02-12* New and tested builds for S60V3 and UIQ3Lars Persson
* New upscaled icons for UIQ3/S60V3. SVG/Scalable version needed for S60V3 for proper good looks * Critical bug in Symbian-fs fixed (exception for UIQ3/S60V3) *Removed duplicate files for easier maintanence *New handling for Symbian error messages, save paths etc *All naming now is ScummVM for all apps and targets svn-id: r20585
2006-02-12Reduced data duplication in module.mk files; added module.mk files for null ↵Max Horn
and x11 backends; added engines/module.mk svn-id: r20584
2006-02-11Fixed the list of backend factory functionsMax Horn
svn-id: r20583
2006-02-11Forgot this oneChris Apers
svn-id: r20577
2006-02-11Bye byeChris Apers
svn-id: r20576
2006-02-11Disable Adlib on PalmOS 68k devicesChris Apers
svn-id: r20575
2006-02-11This is now requiredChris Apers
svn-id: r20574
2006-02-11OoopsChris Apers
svn-id: r20573
2006-02-11Move show/hideOverlay to OS5 class (should be in Base ?)Chris Apers
svn-id: r20572
2006-02-11Move setMouseCursor to OS5 classChris Apers
svn-id: r20571
2006-02-11- Fixed volRefNum default valueChris Apers
- Added autosave option svn-id: r20570
2006-02-11No more requiredChris Apers
svn-id: r20569
2006-02-11Fixed volRefNum default valueChris Apers
svn-id: r20568