Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko 68c5fe52c2 Err.. Now really fix game detection. Not that it was wrong, but I forgot
to remove old leftover which plainly overewrote all those sophisticated
checks.

svn-id: r19112
2005-10-16 16:50:05 +00:00
Paweł Kołodziejski 824f9316bf fix mem align for arm processors by Koen Kooi
svn-id: r19111
2005-10-16 16:39:00 +00:00
Torbjörn Andersson 8b1e22e964 Be more careful when subtracting from unsigned values. Fixes bug #1327972.
svn-id: r19110
2005-10-16 15:06:51 +00:00
Torbjörn Andersson c6a6d89453 Don't remove the cursor character from the savegame name until the very
last moment. Should fix bug #1327439.

svn-id: r19109
2005-10-16 13:53:15 +00:00
Torbjörn Andersson 6ee249743c There was a mention of the "Expected XXX samples..." error in the IRC logs.
Without a proper bug report, it's hard to diagnose, but this change might
allow it to recover after such an error. Maybe.

svn-id: r19108
2005-10-16 13:31:57 +00:00
Paweł Kołodziejski 1af9aad8ef compiler warned about useless negative operation. i hope it's ok after change
svn-id: r19107
2005-10-16 10:29:10 +00:00
Travis Howell 8dd91d9b16 Add missing function for getWizData.
svn-id: r19106
2005-10-16 09:50:27 +00:00
Eugene Sandulenko e4b85675a6 Correct heversion for updated dog-on-a-stick.
svn-id: r19105
2005-10-16 03:11:46 +00:00
Marcus Comstedt ea6b0f2b44 Enable MAD support.
svn-id: r19104
2005-10-15 22:28:27 +00:00
Eugene Sandulenko fb14ec5830 Correct MD5
svn-id: r19103
2005-10-15 17:43:02 +00:00
Marcus Comstedt ee15539952 Try do display the virtual keyboard only when a string input widget has focus.
svn-id: r19102
2005-10-15 15:46:12 +00:00
Marcus Comstedt 1ee05972af Avoid "double-clicks" when the virtual keyboard is activated.
svn-id: r19101
2005-10-15 14:59:46 +00:00
Marcus Comstedt a4aefbe9b4 Added support for cursor palettes.
svn-id: r19100
2005-10-15 14:33:58 +00:00
Marcus Comstedt dbea2b5a1d Added some missing functions.
svn-id: r19099
2005-10-15 14:15:22 +00:00
Travis Howell 4d85ddbc28 Several later HE games use sprites for subtitles.
svn-id: r19098
2005-10-15 11:03:32 +00:00
Max Horn dca6f248ee Unified mouse pos update code
svn-id: r19097
2005-10-15 10:31:55 +00:00
Travis Howell 6e446ad46f Use delay, not value in setSpriteGeneralProperty.
svn-id: r19096
2005-10-15 10:31:18 +00:00
Travis Howell 170521fb9b Avoid conflicting VARS.
svn-id: r19095
2005-10-15 07:32:44 +00:00
Travis Howell 59bf8538a5 Reset inventory offset when restarting V1/V2 games.
svn-id: r19094
2005-10-15 06:41:48 +00:00
Torbjörn Andersson 7aec70c395 Fixed a bug in the Kyra CD intro that caused ScummVM to crash when compiled
with GCC 4. (The string buffer for the file name was too short, which
caused a write to another variable's address to overwrite the terminating
zero at the end of the string.)

svn-id: r19093
2005-10-15 06:26:53 +00:00
Travis Howell b7e72737d3 Set inital room width and height.
Several early HE games check values, before they are set.

svn-id: r19092
2005-10-15 06:15:13 +00:00
Travis Howell 05d5bc16d2 Add extra case for 3DO fbpack.
svn-id: r19091
2005-10-15 02:22:42 +00:00
Travis Howell 30b13e1206 Ooops, remove debug output.
svn-id: r19090
2005-10-15 00:47:23 +00:00
Travis Howell b6425d1cf8 Fix regression, resID shouldn't beint16.
Slight correction to copyArrayHelper.

svn-id: r19089
2005-10-15 00:46:08 +00:00
Eugene Sandulenko 842f520af1 Fix from wjp which let protection screen render itself at last.
Now you may clearly see rotated numbers as well as hint when your code
is wrong.

svn-id: r19088
2005-10-14 22:05:41 +00:00
Lars Persson c97645f555 Added SYMBIAN32 defines for touchscreen navigation
svn-id: r19087
2005-10-14 20:52:57 +00:00
Lars Persson 8dfc199d5b Added Symbian #idefine
svn-id: r19086
2005-10-14 20:50:09 +00:00
Gregory Montoir 3e03ca6855 Slightly better that way.
svn-id: r19085
2005-10-14 19:51:56 +00:00
Gregory Montoir fe6b21129d Fixed the 'Failed to save game state' warning in HE90. _numBitVariables is equal to 0 there, so Serializer::saveLoadArrayOf() is called with len=0 which calls GzipSaveFile::write() with dataSize=0, which leads to GzipSaveFile::_ioError being set.
svn-id: r19084
2005-10-14 19:32:58 +00:00
Torbjörn Andersson 80fd4fe088 Turned on the automatic computation of dirty rects for ITE. It should make
it less of a CPU hog for 0.8.0, but I hope we'll be able to fix it properly
for later versions.

svn-id: r19083
2005-10-14 15:15:52 +00:00
Travis Howell dcb2372e23 Adjust array ids in HE80+ games, to match original.
Otherwise array aren't always nuked by scripts.

svn-id: r19082
2005-10-14 12:36:46 +00:00
Johannes Schickel 67eedc08d2 Oops. Fixes a bug with wrong filename for intro text in english version.
Also gets rid of GF_KYRA* since GI_KYRA* should be used instead.
And last but not least fixes text drawing while Kallaks writing scene.

svn-id: r19081
2005-10-14 11:25:48 +00:00
Max Horn c75dfc3f05 Added missing -framework CoreMIDI
svn-id: r19080
2005-10-14 11:24:46 +00:00
Max Horn 17e8890200 Removed very old GP32 hack (any new port would have to revise this code anyway); disabled some more V7/V8 code conditionally
svn-id: r19079
2005-10-14 11:04:15 +00:00
Max Horn d326166fe0 Don't hardcode platform code strings
svn-id: r19078
2005-10-14 10:27:24 +00:00
Max Horn 7ab5fa8114 cleanup (really would like to unify all those typedef's eventually; maybe we can use inttypes.h on some systems?)
svn-id: r19077
2005-10-14 10:20:42 +00:00
Travis Howell 17f251a37f loadFlObject() should use object index, when checking if object is already loaded. Matches original games and prevent multiple load of same flObject in HE games.
svn-id: r19076
2005-10-14 08:39:27 +00:00
Robert Göffringmann 0436bdeb0f I have to make this tool available. Without it, the SKY.CPT file can't be included in debian.
Beware, it's full of shit and dirty hacks as I was never even dreaming about making either the source or binary public.

But this has to be sufficient as I don't see the point in wasting my time rewriting a tool that noone needs in a clean way.

svn-id: r19075
2005-10-14 07:58:30 +00:00
Eugene Sandulenko 7f6402ef06 Eliminate ite-demo and ihnm-demo targets as we do in SAGA. Just use plain
ite and ihnm respectively. Sorry, but I had to do it before release, no
autoupgrade as games weren't supported only in developer's version.

Fix bug #1297365 "ITE: Game detection is broken".

Now it distinguishes between DOS CD and Win CD, though it uses platform and
language settings from .ini to do the choice. I.e current games need to be
redetected. Though only these 2 games are affected. I.e. they have exactly
same resource files, just Windows release adds up external patches. These
patches cannot be added to detection as they're stored in subdirectories.

Also I resolved problem between ite-demo-win and ite-demo-linux where latter
is a superset of former. I.e. it has all files which win demo has plus one
additional. And if you try to detect Linux demo it shows you both. Of course
this could be handled by upper solution, but to make sure I count number of
required files for matched versions and remove those which do not have max
number of files. I.e. if 2 games matched and one requires 4 and another one
requires 5 files, then we have 5 files matched which certainly points to
second game not the first.

svn-id: r19074
2005-10-14 04:28:20 +00:00
Eugene Sandulenko 05457402f5 Added Linux platform. Now it is used by some ITE version and is required
for proper game identification (21 subtle distinct versions of same game
which still require individual flags is not a joke)
cvs: ----------------------------------------------------------------------

svn-id: r19073
2005-10-14 02:50:05 +00:00
Travis Howell 7af9ece552 HE games store and restore locked FlObjects between rooms.
Fixes input issue in thinker1.

svn-id: r19072
2005-10-14 02:13:33 +00:00
Eugene Sandulenko a3d0fcea54 Add language and platform to game description and use that accross the source.
That eliminates GF_LANG_DE and GF_MAC_RESOURCES.

svn-id: r19071
2005-10-14 00:56:52 +00:00
Eugene Sandulenko 2b47cbb4b5 Workaround for bug #1310846 "DIG: Text bug in intro". Proper fix maybe
will be never needed not to mention that it will require to add much
logic to code which will be used just once just for single release of the game.
(and if somebody will have patience to watch intro to the end)

svn-id: r19070
2005-10-13 23:27:11 +00:00
Eugene Sandulenko bd4340f21a Add possibility to see exact md5s of your game and save when they don't
match. It's on debuglevel 1.

svn-id: r19069
2005-10-13 23:20:41 +00:00
Johannes Schickel 7664cbcc74 Committed patch #1325945 ( KYRA: md5 game detection ) with a few changes
and added the story picture in the intro.

svn-id: r19068
2005-10-13 21:12:47 +00:00
Eugene Sandulenko eef92cb7e7 Patch from wjp which fixed parser operands and now protection screen always
shows numbers, not just rotation of them. Still no screen updated during the
process.

svn-id: r19067
2005-10-13 20:54:16 +00:00
Marcus Comstedt 57e1c6451d Improved savefile error handling:
* New flush() method in WriteStream class to flush pending I/O, in order
  to detect any I/O errors

* Use of flush() and ioFailed() added to scumm engine save function

* Dreamcast backend extended to support the new checks

svn-id: r19066
2005-10-13 18:50:53 +00:00
Gregory Montoir 66fbe2d3c4 Some cleanup. Updated mouse position on EVENT_RBUTTONDOWN for WinCE and PalmOS, does it help bug #1293385 ?
svn-id: r19065
2005-10-13 18:48:33 +00:00
Johannes Schickel ce2e9ab9d8 Rewrite of the script interpretation class:
- Now only one instance is needed for many scripts
	- Fixed a few command procs, but lacks opcode caller
	  implementation

svn-id: r19064
2005-10-13 18:05:04 +00:00
Torbjörn Andersson e9b7a88e77 This message is much too annoying to be a printf(). I should know -- I
added it. ;-)

svn-id: r19063
2005-10-13 15:40:56 +00:00