Commit Graph

16324 Commits

Author SHA1 Message Date
Torbjörn Andersson
2bdbfa0669 As far as I can tell, The Feeble Files should subtract _scrollX from the
sprite's X coordinate, just as we already do for Simon 2. (I believe that was
when scrolling rooms were first introduced.)

I've never played The Feeble Files (apart from the first two or three rooms)
so I can't say whether or not it uses scrolling rooms.

svn-id: r20693
2006-02-14 21:10:42 +00:00
Travis Howell
b796860ee8 Add extra costume tables (Used by HE games) to saved game. Fixes weird actor states when restoring saved game, in HE games.
svn-id: r20689
2006-02-14 10:11:15 +00:00
Travis Howell
d96713a857 Correct case of SPY Fox game titles
svn-id: r20687
2006-02-14 06:57:42 +00:00
Travis Howell
515a4ea381 Allow version string to be writen to config file in HE72+ games, in case we display version in the future.
svn-id: r20686
2006-02-14 05:50:29 +00:00
Travis Howell
9e8b493990 Add HE100 specific version of setSystemMessage opcode, since cases are different.
svn-id: r20685
2006-02-14 05:47:12 +00:00
Travis Howell
de6aac4e2f Add setSystemMessage opcode for HE70+ games. Sets the window caption correctly for all languages
svn-id: r20684
2006-02-14 05:27:39 +00:00
Jamieson Christian
072013c0f4 Added Bloodshed Dev-C++ project files to the dists collection.
svn-id: r20683
2006-02-14 04:33:10 +00:00
Oystein Eftevaag
f750b32c02 Forgot to add x11.h
svn-id: r20682
2006-02-14 02:20:42 +00:00
Oystein Eftevaag
bef27ff14f Fixed and cleaned up the X11 backend (and added 24/32 bpp support so it would actually run on my system).
Who knows, might actually be useful to someone :)

svn-id: r20681
2006-02-14 02:19:53 +00:00
Eugene Sandulenko
e0b7feeaed Move addDefaultDirectory() calls out of init() method to constructor.
svn-id: r20679
2006-02-14 01:59:32 +00:00
Johannes Schickel
93e9639989 Reworked kyra debug output system. Now he have special kyra intern debug levels + the global debug levels, for now I enable all kyra debug levels if the global debug level is not -1. see 'toggle_debug' in the kyra debugger and kyra.h for the different levels. (This is just the beginning of it anyway, for example the sound debug level isn't used for now)
svn-id: r20678
2006-02-14 01:19:30 +00:00
Lars Persson
d91b49c15c Added define to disable new theme support.
svn-id: r20676
2006-02-13 21:02:31 +00:00
Lars Persson
d1c341ea61 Updated installation file for S60V3
svn-id: r20675
2006-02-13 20:58:39 +00:00
Lars Persson
4863cf8aae Updated application icons
svn-id: r20674
2006-02-13 20:55:18 +00:00
Max Horn
1a1eff037c oops, didn't mean to commit this change (yet) -- reverting my previous commit partially
svn-id: r20673
2006-02-13 20:29:39 +00:00
Max Horn
ce312f2fe5 Used tools/update-version.pl to update the version in all (?) relevant places to 0.9.0svn
svn-id: r20672
2006-02-13 19:59:05 +00:00
Joost Peters
75b6b4b953 Fix compilation after engines moved to engines/
svn-id: r20670
2006-02-13 18:21:22 +00:00
Johannes Schickel
e067a7f288 Implemented new tab drawing, should look nicer now. (The border under the active tab isn't drawn anymore)
svn-id: r20669
2006-02-13 18:00:04 +00:00
Won Star
1b459ee959 Whew. It seems that I made a mistake last time. :(
Fix sound timer frequency for the GP32 port.

svn-id: r20668
2006-02-13 13:46:38 +00:00
Eugene Sandulenko
6238fa2b29 We're in SVN now, so change version to "0.9.0svn"
svn-id: r20667
2006-02-13 12:57:06 +00:00
Travis Howell
81b820f7c9 Add hyperlink on/off functions of oracle in Feeble Files
svn-id: r20665
2006-02-13 10:29:25 +00:00
Won Star
aaa11f6efb CC := arm-elf-gcc
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-13 05:38:47 +00:00
Oystein Eftevaag
2905826002 Initializes a var that would sometimes cause the intro to run too fast.
svn-id: r20663
2006-02-13 03:52:57 +00:00
Torbjörn Andersson
441ead453a Merged _mouse.cpp and mouse.cpp into mouse.cpp
svn-id: r20659
2006-02-12 21:41:34 +00:00
Travis Howell
d1a5345169 Include game dscriptions for HE60/61 games in a DISABLE_HE build
svn-id: r20658
2006-02-12 21:41:09 +00:00
Max Horn
00abb48c7d Moved SCUMM game descriptions/titles into a seperate table
svn-id: r20657
2006-02-12 20:51:56 +00:00
Chris Apers
adc73b773a Revamped launcher code
+ 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 20:13:08 +00:00
Torbjörn Andersson
8935cac6da Standardized the preprocessor constants used to prevent double inclusion of
header files. Each now begins with "SWORD2_" and ends with "_H". (Well, except
for "SWORD2_H", since I didn't want to name it "SWORD2_SWORD2_H".)

svn-id: r20655
2006-02-12 19:57:23 +00:00
Chris Apers
ff25c5c90a - Splitted AppStartCheckScreenSize from app.cpp rev19461, here is the palm standard one : SonyScreenSize
svn-id: r20654
2006-02-12 19:50:19 +00:00
Chris Apers
b1edf73509 - Fixed bug #1329844, autooff not reset on exit
- 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-12 19:47:30 +00:00
Torbjörn Andersson
0dbeb2f65b Oops. Forgot to tell SVN to actually *move* the files. I'll get the hang of it
eventually.

svn-id: r20652
2006-02-12 19:38:26 +00:00
Torbjörn Andersson
2ec8584828 Renamed files for consistency with other engines:
build_display  -> screen
    save_rest      -> saveload

More to come, no doubt.

svn-id: r20651
2006-02-12 19:33:45 +00:00
Chris Apers
0bedb9fd57 Cleanup
svn-id: r20650
2006-02-12 19:32:54 +00:00
Chris Apers
1434ff868b - Removed obsolete ARM stuff, modules are now almost-fully ARM
- Added autosave period and OS5 ARM advanced mode
- indicator can also be use with 16bit display

svn-id: r20649
2006-02-12 19:31:40 +00:00
Chris Apers
08efabc14d New feature to pass selected stack size to modules
svn-id: r20648
2006-02-12 19:27:48 +00:00
Chris Apers
d6be9bcada Not available in ARM mode for now
svn-id: r20647
2006-02-12 19:25:13 +00:00
Chris Apers
d3b902ac25 Fixed header, sorry
svn-id: r20646
2006-02-12 19:21:52 +00:00
Chris Apers
852094a6f6 - Use WinSetCoord only when needed, this fix some system redraw problems
- 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-12 19:20:26 +00:00
Torbjörn Andersson
d6fea31251 Removed layers.h since it was a) empty and b) never included.
svn-id: r20644
2006-02-12 19:20:10 +00:00
Max Horn
b1f3d91f01 Re-added blank lines (purely cosmetic) which I accidentally removed in my previous commit
svn-id: r20643
2006-02-12 19:13:43 +00:00
Max Horn
c93c11e826 md5table tool now reproduces blank & comment lines faithfully in --txt mode
svn-id: r20642
2006-02-12 19:13:03 +00:00
Max Horn
952b23fec7 - Changed the scumm-md5.txt format to reduce redundancy and to make it a bit niecer to edit
- Added --txt option to the md5table tool -> makes it easier to modify the scumm-md5.txt format

svn-id: r20641
2006-02-12 19:03:39 +00:00
Chris Apers
aa83040c0a It is _soundEx now
svn-id: r20640
2006-02-12 19:01:49 +00:00
Chris Apers
5e4a4f779d - Removed unused StrReplace function
- 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 18:58:54 +00:00
Chris Apers
3dc99262a2 - Removed obsolete DEBUG defines
- Added LURE and OS5 defines

svn-id: r20637
2006-02-12 18:39:43 +00:00
Chris Apers
5975bd1fe6 - Added ARM module launcher
- 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-12 18:36:57 +00:00
Chris Apers
353ea3881f New definitions for frontend <-> module communication
svn-id: r20635
2006-02-12 18:30:15 +00:00
Chris Apers
f74801e42c Only in ARM mode
svn-id: r20634
2006-02-12 18:28:11 +00:00
Chris Apers
0ffdbdd7af -mMove PalmOS project file to a more appropriate place
svn-id: r20632
2006-02-12 17:09:42 +00:00
Paweł Kołodziejski
48a5942a38 updated msvc7 project files
svn-id: r20625
2006-02-12 15:43:07 +00:00