Commit Graph

15059 Commits

Author SHA1 Message Date
Travis Howell
d91fc4c226 Add missing opcode in HE100 table.
Rename opcode.

svn-id: r19174
2005-10-19 09:43:13 +00:00
Travis Howell
a5e95b89c6 Ooops
svn-id: r19173
2005-10-19 08:45:08 +00:00
Travis Howell
c6a9f61445 Add HE100 version of floodFill.
svn-id: r19172
2005-10-19 08:44:14 +00:00
Torbjörn Andersson
64b5f32e81 Fixed compile error.
svn-id: r19170
2005-10-19 07:16:17 +00:00
Travis Howell
d3b96e431c Fix TMSK in HE games.
svn-id: r19168
2005-10-19 07:06:10 +00:00
Eugene Sandulenko
12a66937cc Fix crash in ADPCM decoder.
svn-id: r19167
2005-10-19 05:16:50 +00:00
Eugene Sandulenko
4306c9344c Improved IMA ADPCM decoder. It appeared that MS violated yet another standard
and nibbles order in samples appeared to be swapped. Had to untemplate
whole thing over again because I have no idea how to speicalize one of two
parameters in templates.

Now voices are clean but have some ticks, looks like overload. ITE wasn't
broken ;)

svn-id: r19166
2005-10-19 04:59:18 +00:00
Eugene Sandulenko
13246d0dad Attempt to play IMA ADPCM speech in later HE games. For some reason
sound is noisy and all samples are cut in half. mplayer plays it with
same format without any noise but still half sample. It may happen
that original just played 2 consecutive samples or we read them wrong
from resources.

svn-id: r19165
2005-10-19 03:29:55 +00:00
Eugene Sandulenko
a050da784f Simplified common buffer reader. Implemented now unused Microsoft IMA
ADPCM buffer reader. These folks invented ye another incompatible standard
and here it will sit #if 0'ed just for a case.

svn-id: r19164
2005-10-19 03:25:00 +00:00
Johannes Schickel
6d5cdb6c54 Commited patch # 1324980. Thanks to vinterstum.
svn-id: r19163
2005-10-18 20:38:30 +00:00
Johannes Schickel
2e60e19a37 Some fixes:
- added support for an external data file for all the resources from
	  the original binary
	- fixed a typo with malco(l)m
	- added support for spanish floppy
	- changes support for unknown languages a bit
	- some other cleanups

svn-id: r19161
2005-10-18 19:59:51 +00:00
Gregory Montoir
a38bc21581 Added flood fill support. Pajama2 puzzle seems to be ok now
svn-id: r19158
2005-10-18 19:17:19 +00:00
Gregory Montoir
e7c8dc025a Fixed wiz TRLE encoding
svn-id: r19157
2005-10-18 19:16:17 +00:00
Gregory Montoir
953b35a8c3 Fixed invalid memory reads, this helps thinker1 demo
svn-id: r19156
2005-10-18 19:16:02 +00:00
Eugene Sandulenko
be8cd9e69a talkspeed and copy-protection aren't SCUMM-specific anymore SAGA uses them
too.

svn-id: r19154
2005-10-18 19:05:22 +00:00
Travis Howell
242cf5d052 Remove old debug output
svn-id: r19153
2005-10-18 14:00:07 +00:00
Travis Howell
0690343c65 HE games use overlow to get correct color value.
Fixes regressions in activity and puttmoon.

svn-id: r19150
2005-10-18 13:56:10 +00:00
Torbjörn Andersson
62a59b2d46 Minor error message fix: isLocked() isn't trying to unlock the resource.
svn-id: r19149
2005-10-18 08:56:14 +00:00
Eugene Sandulenko
26ad88ec23 Fix bug #1221549 "MT32emu: doesn't compile under gcc 3.4.2 / i386"
svn-id: r19147
2005-10-18 04:26:51 +00:00
Eugene Sandulenko
b725a206c0 Add possibility to disable SDL parachute on run-time. Option
--disable-sdl-parachute should be completely undocumented and not mentioned
to end-users. Wrong usage may lead to system lock-up especially when used
with fullscreen mode.

SDL Parachute is used to prevent system instability and do a graceful exit
if something bad happens. It catches most of signals sent to thr process.
Side effect of that that quite often when SDL application dies, core dump
isn't made on *nix systems. This feature adds possibility to disable it.

svn-id: r19146
2005-10-18 03:52:21 +00:00
Eugene Sandulenko
b34013de97 Argh! Binary files got modified too. Reverting them.
svn-id: r19144
2005-10-18 02:47:29 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
d59af537b5 Fix HE version for Russian freddi3
svn-id: r19140
2005-10-17 22:12:33 +00:00
Eugene Sandulenko
8fc363482d Added French and Russian md5s for IHNM submitted in bugreports
#1328019 "IHNM: French MD5s" and #1094819 "IHNMAIMS: md5's of my cd version"
respectively

svn-id: r19139
2005-10-17 16:28:33 +00:00
Max Horn
3bda82c8a3 Commit missing part of my last commit (sorry for any temporary breakage)
svn-id: r19138
2005-10-17 16:10:12 +00:00
Max Horn
bb8afe3839 Added ResourceManager::isLocked; made ResourceManager::flags protected; moved some stuff around
svn-id: r19137
2005-10-17 15:00:23 +00:00
Eugene Sandulenko
b4a4f779e3 Fix walking in IHNM. It appeared that BG mask wasn't flipped upside down
when everything else is :).

svn-id: r19136
2005-10-17 14:20:18 +00:00
Eugene Sandulenko
f3c387f328 Bump version to 0.9.0CVS. Woo hoo!
svn-id: r19133
2005-10-17 13:42:36 +00:00
Travis Howell
a200be4bbf Update supported HE titles.
svn-id: r19130
2005-10-17 13:02:51 +00:00
Torbjörn Andersson
4a9bf82143 Decrease delay while editing savegame name. This way, there should be much
less risk of keypresses being lost.

svn-id: r19128
2005-10-17 07:15:18 +00:00
Torbjörn Andersson
290c8114de Fixed end credits crash. (See bug #1327650). Actually, there were several
more or less serious bugs here:

* The fnResetGlobals() function returned IR_CONT. Since it potentially
  kills its own script resource, this can lead to illegal read accesses.
  Not it returns IR_STOP instead. This was probably a bug in the original
  interpreter as well, but it handled memory allocation quite differently
  so it was probably never an issue.

* Since fnResetGlobals() forcibly closes resources, I've changed the
  closeResource() function to silently ignore requests to close resources
  where the data pointer is NULL. While it could signify an error, it isn't
  necessarily so.

* Don't force the screen to fade up after the credits -- let the script do
  it instead. This prevents it from fading up the wrong image.

svn-id: r19127
2005-10-17 06:45:54 +00:00
Torbjörn Andersson
1a717471ba Fixed off-by-one error when decoding the original sound files. I thought I
had already done this, but I guess not...

svn-id: r19126
2005-10-17 06:31:10 +00:00
Eugene Sandulenko
ee4cbcb98d Fix bug #1326833 "ITE: Missing copy protection". Though it is disabled
by default by kind permission from Wyrmkeep Entertainment Co.

svn-id: r19125
2005-10-17 03:28:21 +00:00
Eugene Sandulenko
3dd9f208cc Add contributed Amiga Gob1 md5 sum
svn-id: r19124
2005-10-17 00:23:00 +00:00
Nicolas Bacca
a4bf8dd9c9 Update build files. Add support for Gobliiins and ITE engines
svn-id: r19123
2005-10-16 23:07:37 +00:00
Nicolas Bacca
9bd5866df2 Toolbar must be visible to process an action.
svn-id: r19122
2005-10-16 22:53:56 +00:00
Nicolas Bacca
ce1a66a332 Windows Mobile 5 devices support (requires the latest SDL Windows CE port available on http://arisme.free.fr updated during this week) - Use the old mouse code to avoid scalers problems (to be fixed after 0.8.0 release) - Display/Hide the toolbar by double tapping quickly on the top of the screen to comply with the new GUI height
svn-id: r19121
2005-10-16 22:52:46 +00:00
Nicolas Bacca
4317c0001e Windows Mobile 5 devices support (requires the latest SDL Windows CE port available on http://arisme.free.fr updated during this week) - Use the old mouse code to avoid scalers problems (to be fixed after 0.8.0 release)
svn-id: r19120
2005-10-16 22:52:46 +00:00
Nicolas Bacca
8b2d14324c Support for Gobliiins and ITE engines
svn-id: r19119
2005-10-16 22:48:53 +00:00
Nicolas Bacca
e2eefba7dc Update to use common GUI::Actions class
svn-id: r19118
2005-10-16 22:47:53 +00:00
Nicolas Bacca
e1e60aa631 Newer Smartphones detection for Windows Mobile 5.0 - add some simulation options when debugging on a Pocket PC platform
svn-id: r19117
2005-10-16 22:37:17 +00:00
Nicolas Bacca
1135e05ccd Support for Gobliiins and ITE engines
svn-id: r19116
2005-10-16 22:35:38 +00:00
Nicolas Bacca
6471cf82d1 Temporarily virtualize mouse drawing functions for the WinCE port. Hope that line endings are correct since I have to use TortoiseCVS for this update :)
svn-id: r19115
2005-10-16 22:32:46 +00:00
Eugene Sandulenko
6a469a0f1b Put correct order of MM NES verbs in help. Will try to make them work
later. Currently mapping is all wrong.

svn-id: r19114
2005-10-16 22:12:00 +00:00
Eugene Sandulenko
1529b1ad0a Store game title in savefile. Lets us not guess which game save is made for
as it is not possible to tell that by md5. Bumbed savegame version.

svn-id: r19113
2005-10-16 17:19:52 +00:00
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