Commit Graph

2178 Commits

Author SHA1 Message Date
Eugene Sandulenko
01f9006ee7 GUI: Implement tooltips. FR #2821513.
FR #2821513: "GUI: add tooltips".
Added tooltips for Add Game button, clear field buttons and couple
other.

Current problem: Only first call correctly restores text. I could
not find where restore information gets lost.

svn-id: r49774
2010-06-15 10:52:35 +00:00
Eugene Sandulenko
3fafa07ab0 GUI: Added in-place hotkeys for widgets.
Now it is possible to specify hotkeys in place for ButtonWidget
and CheckboxWidget (the only widgets with hotkeys now).

Use de-facto standard with putting hotkey between tildes (~).
Like '~O~pen'. The tildes gets stripped before after hotkey
is extracted.

This is done for giving translators possibility to specify
their own hotkeys.

Old hotkeys defined at widget instance creation are left for
leaving possibility to specify non-printable hotkeys such as
Common::ASCII_ESCAPE.

Translation files were updated respectively.

svn-id: r49766
2010-06-15 10:47:31 +00:00
Eugene Sandulenko
ba72975d3f SCUMM: Fix bug #1328120:
Bug #1328120: "MANIACNES: Screen width incorrect, camera halts sometimes".
Fixed by workaround and was tested with intro and on the kitchen,
where now it is possible to see Edna without her noticing you
first.

svn-id: r49764
2010-06-15 10:46:23 +00:00
Eugene Sandulenko
48d0d3008b SCUMM: Fix bug #1879604.
Bug 1879604: "MANIACNES: Music not played when loading game".
Actually previous attempt to fix this bug was not successful
since first entry of script 5 does not have needed functionality.
Now we resume music manually.

svn-id: r49763
2010-06-15 10:46:04 +00:00
Alejandro Marzini
e1ef3cd9fc Renamed getAudioCD to getAudioCDManager.
svn-id: r49678
2010-06-15 04:13:12 +00:00
Eugene Sandulenko
ca161920a4 SCUMM: Fix bug #1438631.
Bug #1438631: "SCUMM: Detecting mac version of indy3/loom broken"
fixed by implementing recursive directory lookup similar to what
was done for AdvancedDetector, since SCUMM engine does not use it.

svn-id: r49656
2010-06-14 14:51:46 +00:00
Alejandro Marzini
e991cd8c53 - Revised abstract AudioCDManager.
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.

svn-id: r49548
2010-06-09 20:09:57 +00:00
David Turner
641ffa5ee3 Modification to remove false positive "Possible divide by zero" warnings given by cppcheck-1.43.
These are incorrect as '/' operator has precedence over >>, but this does improve readability anyway.

This bug in cppcheck has already been corrected: http://sourceforge.net/apps/trac/cppcheck/ticket/1714

svn-id: r49517
2010-06-08 20:29:33 +00:00
Jordi Vilalta Prat
9255d7c3cb Remove some extra spaces
svn-id: r49489
2010-06-07 17:18:25 +00:00
Torbjörn Andersson
928eafcccf Fixed potential memory leak found by cppcheck. Though I'm guessing that if this
case happens, we may have bigger problems...

svn-id: r49307
2010-05-29 08:14:50 +00:00
Max Horn
947edd08c3 Replace SCUMM F5 dialog by GMM & add help button to GMM
The new "Help" button in the GMM is currently only used by SCUMM.
To use it, an engine currently needs to subclass MainMenuDialog.

svn-id: r49249
2010-05-26 19:54:50 +00:00
Eugene Sandulenko
b8df22646b Patch #2959341: Minor update to SCUMM debugger command 'passcode'
svn-id: r49221
2010-05-25 20:47:48 +00:00
Eugene Sandulenko
07ccf29ecf Fix Russian versions of airport and farm as they use extended charset.
svn-id: r49191
2010-05-24 16:56:56 +00:00
Eugene Sandulenko
6e66fa3726 sync
svn-id: r49184
2010-05-24 13:26:16 +00:00
Eugene Sandulenko
f9217ec031 Added Russian airport and farm. Needs more work as crashes at attempt to opening some dictionary entries with Cyrillic characters
svn-id: r49176
2010-05-24 07:47:07 +00:00
Matthew Hoops
11cbdd0318 Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
2010-05-18 14:17:24 +00:00
Matthew Hoops
c7fa1074fb Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite).
svn-id: r49063
2010-05-17 21:59:05 +00:00
Travis Howell
920e47cca0 Fix missing songs in the HE73 version of Putt-Putt Saves the Zoo.
svn-id: r49010
2010-05-12 05:01:58 +00:00
Eugene Sandulenko
4eba9581b7 Extended patch #2971742: SCUMM: autodetection for diskimage contents.
I added NES bundle handling to the patch.

svn-id: r48991
2010-05-09 20:58:41 +00:00
Eugene Sandulenko
e02168fb68 Fix bug in NES bundle reader which prevented reenterability
svn-id: r48990
2010-05-09 20:52:20 +00:00
Johannes Schickel
0ace80fed4 Fix for bug #2995282 "FT: Cavefish Hideout Chase (Failure Cutscene) Crash".
The bug itself is actually a regression from r43577, the merge
of the gsoc2009-16bit branch.

svn-id: r48987
2010-05-09 20:17:30 +00:00
Eugene Sandulenko
57f2425b28 Patch #2901515: HE: Resource Forks on Mac OS X
svn-id: r48984
2010-05-09 18:27:56 +00:00
Eugene Sandulenko
b0f17579c9 Patch #2968610: Zak C64 German: crash due to padding bytes
svn-id: r48981
2010-05-09 18:05:00 +00:00
Max Horn
93375526c0 SCUMM: Convert some code to use Common::String
svn-id: r48957
2010-05-05 20:43:22 +00:00
Max Horn
f7d2047d02 Fix non-Mac OS X builds
svn-id: r48938
2010-05-04 12:02:33 +00:00
Max Horn
970745e60c Move DebugChannel related code to new header
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
b3e404109c Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.

svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn
5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Max Horn
1a1d99724a Fix for bug #2824840: ZAK: Crash when using the yellow crystal (Amiga version)
The problem was a double free that could occur in two places.
Also added some missing whitespaces.

svn-id: r48832
2010-04-28 20:18:56 +00:00
Max Horn
460d69e885 COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
2010-04-27 21:40:52 +00:00
Willem Jan Palenstijn
40525d1bb2 Fix warning
svn-id: r48818
2010-04-27 20:18:10 +00:00
Max Horn
6d80424908 Fix warnings when FLAC&MP3&VORBIS is disabled; also fixes leak in Tinsel
svn-id: r48696
2010-04-17 23:57:50 +00:00
Ori Avtalion
2fc9d6845b Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew language
svn-id: r48645
2010-04-12 21:21:06 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Ori Avtalion
fd3970aa52 Apply patch #2984508 - "GSoC: SCUMM stopped audio from playing while saving"
This is a fix for bug #2090846 - "SCUMM: saving a game will play music before
finishing"

svn-id: r48630
2010-04-11 21:30:57 +00:00
Johannes Schickel
b928da4418 Setup and destroy a dummy cursor and palette in the Engine class.
The idea behind this is exactly the same as behind r48620,
but it affects all engines, thus engine authors can now use
CursorMan.replaceCursor without having to worry about possible
memory leaks or the like.

svn-id: r48626
2010-04-11 18:30:42 +00:00
Johannes Schickel
19e620ba60 Enable the cursor palette in ScummEngine_v70he::setDefaultCursor just to avoid problems in case it was disabled earlier.
svn-id: r48622
2010-04-11 17:28:34 +00:00
Johannes Schickel
29172d4844 Fix a memory leak in SCUMM which was caused by the SCUMM engine never removing its cursor from CursorMan.
The problem here was that SCUMM only uses CursorMan.replaceCursor. When no
cursor had been setup before it would cause the SCUMM cursor to be never
removed from CursorMan, since in this case replaceCursor just uses pushCursor.
To avoid this problem I am just pushing a dummy cursor (and palette, since
that is used in SCUMM HE games too) on engine setup and removing it on engine
destruction.

Actually every engine should setup their first cursor via CursorMan.pushCursor
and then on quit remove it again via CursorMan.popCursor. Using
CursorMan.replaceCursor is *no* good idea for the first cursor to setup, since
that might either replace an existing cursor, thus destroying the caller's
cursor, or pushing a new cursor on the stack, which might result in a leak.
This would also result in making a call to CursorMan.popCursor unsafe, since
that might also impact the caller's cursor setup again.

svn-id: r48620
2010-04-11 17:26:32 +00:00
Max Horn
894e2aefe6 GUI: Unify various definitions of kOKCmd and move it to namespace GUI
svn-id: r48564
2010-04-06 09:26:43 +00:00
Max Horn
7dafef752f SCUMM: Make HelpDialog & ConfigDialog internal
svn-id: r48562
2010-04-06 09:26:04 +00:00
Max Horn
3a8366526b Remove old & undocumented MSVC 6 workaround
svn-id: r48561
2010-04-06 09:25:44 +00:00
Travis Howell
753a73be29 Fix bug #2960022 - PUTTPUTT 1: No Load/Save possible.
svn-id: r48499
2010-04-04 09:36:10 +00:00
Travis Howell
df984a011e Fix bug #2959947 - HE: Broken saves show in launcher.
svn-id: r48489
2010-04-03 14:26:20 +00:00
Max Horn
b104534d0d Patch #2973283: SCUMM: Unneeded pointer dereference
svn-id: r48360
2010-03-22 23:03:09 +00:00
Max Horn
92c896d883 Patch #2973290: Semicolon cleanup
svn-id: r48359
2010-03-22 20:28:08 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
4e7dddadbc SCUMM: Add WORKAROUND comment
svn-id: r48284
2010-03-18 15:10:07 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Max Horn
4e99cfc549 Switch from Common::tag2string(foo).c_str() to tag2str(foo)
svn-id: r48276
2010-03-18 15:04:38 +00:00
Johannes Schickel
1242a4eb8c Some style fixes.
svn-id: r48272
2010-03-16 14:34:25 +00:00
Travis Howell
b968a69468 Add patch #2970176 - V0: MM Verb + Anim Fix.
svn-id: r48269
2010-03-16 08:59:48 +00:00
Travis Howell
a7e6397fa4 Add patch #2971126 - MM V0: Ed(na) walk fix.
svn-id: r48268
2010-03-16 08:43:46 +00:00
Travis Howell
2035cdbba8 Add patch #2970899 - MM V0: flipped limbs drawing fix.
svn-id: r48267
2010-03-16 08:38:06 +00:00
Max Horn
4fc8ebab01 GUI: Remove GuiObject::getMillis()
svn-id: r48241
2010-03-11 23:41:28 +00:00
Max Horn
05b8c5b9c5 Replace mutex_up/mutex_down methods by Common::StackLock
svn-id: r48231
2010-03-10 21:05:48 +00:00
Max Horn
43abd0e019 cleanup
svn-id: r48230
2010-03-10 21:03:50 +00:00
Torbjörn Andersson
65585f6433 Silenced some harmless cppcheck warnings about unreachable code after a return.
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.

svn-id: r48218
2010-03-10 06:39:23 +00:00
Max Horn
bc2b90f43b Workaround for bug #1878514: COMI: Glitch when turning pages in recipe book
svn-id: r48207
2010-03-08 23:36:59 +00:00
Max Horn
f24cc1c8be Tweak makeVOCDiskStream
* now takes a SeekableReadStream *pointer* like (almost) all other
  audiostream factories
* fix potential memory leak in it
* rename takeOwnershipOfStream to disposeAfterUse for consistency

svn-id: r48184
2010-03-08 10:27:42 +00:00
Max Horn
902dc6929a Patch #2963270: MM: V0 Verb Give Fix
svn-id: r48163
2010-03-05 00:58:29 +00:00
Johannes Schickel
ef70f6996b Fix another mismatching new[] call (note that this needs to be replaced by malloc, since else MemoryReadStream will try to use free on an new[] allocated block.)
svn-id: r48162
2010-03-04 17:46:18 +00:00
Johannes Schickel
ca6b617e63 Fix mismatching new[]/delete.
svn-id: r48161
2010-03-04 17:24:47 +00:00
Travis Howell
d204f97beb Fix bug #2961530 - Zak/FM-Towns: Game hangs when using monkey wrench.
svn-id: r48158
2010-03-02 00:18:00 +00:00
Travis Howell
f40c466d5e Fix bug #2959947 - SPYFOX1: Saves don't work from menu.
svn-id: r48142
2010-02-27 02:49:27 +00:00
Neil Millstone
277b3078bc SID: Adding DISABLE_SID option, as SID player embiggens binary by a large amount. This is a problem for the DS port.
svn-id: r48137
2010-02-26 17:42:40 +00:00
Neil Millstone
bcb721cccd SCUMM: Fix stride of palette data in ARM optimised costime renderer
svn-id: r48135
2010-02-26 16:17:12 +00:00
Travis Howell
151889a767 Add another German Windows version of Pajama Sam 2.
svn-id: r48123
2010-02-24 00:39:48 +00:00
Travis Howell
7f6c704c25 SPY Fox 3: Operation Ozone is supported too.
svn-id: r48112
2010-02-22 23:47:10 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
8ae24a27b3 Yet more Flac -> FLAC changes for consistency.
svn-id: r47847
2010-02-03 09:42:40 +00:00
Johannes Schickel
fe35d372da - Rename FlacStream to FLACStream.
- Rename makeFlacStream to makeFLACStream.

svn-id: r47846
2010-02-03 09:42:11 +00:00
Torbjörn Andersson
c5be030077 Silenced some more cppcheck warnings.
svn-id: r47785
2010-01-31 23:28:12 +00:00
Chris Apers
8f8c85e757 Removed obsolete code
svn-id: r47767
2010-01-31 18:11:48 +00:00
Max Horn
21e1cc4cf8 Switch makeADPCMStream to DisposeAfterUse::Flag
svn-id: r47736
2010-01-31 02:11:41 +00:00
Johannes Schickel
f79b474ea7 Use SubLoopingAudioStream instead of makeLoopingAudioStream in SCUMM. (Incorrect replacement introduced with r47715, thanks to Max for spotting this).
svn-id: r47722
2010-01-30 18:15:17 +00:00
Johannes Schickel
ef99a72436 Typo.
svn-id: r47719
2010-01-30 15:30:53 +00:00
Johannes Schickel
a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +00:00
Johannes Schickel
8e3646e062 Get rid of Audio::makeRawMemoryStream_OLD.
svn-id: r47715
2010-01-30 15:19:15 +00:00
Travis Howell
0702bdab82 Fix regressions in Let's Explore the Jungle with Buzzy.
svn-id: r47622
2010-01-28 00:28:08 +00:00
Travis Howell
ca7d670b4b Fix regression in Let's Explore the Jungle with Buzzy.
svn-id: r47621
2010-01-28 00:24:02 +00:00
Travis Howell
f81735fffc Fix regression in Let's Explore the Jungle with Buzzy.
svn-id: r47619
2010-01-28 00:15:53 +00:00
Travis Howell
0b4b3da4e4 Fix sound regression in HE games.
svn-id: r47596
2010-01-27 12:20:01 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Travis Howell
326d64d07d Let's Explore the Jungle with Buzzy uses VAR_PLATFORM variabletoo, but with different values.
svn-id: r47562
2010-01-26 08:31:27 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Johannes Schickel
c48076ea9c Use "No AdLib" instead of "No Adlib" in SCUMM's detection tables too.
svn-id: r47531
2010-01-25 00:14:05 +00:00
Johannes Schickel
69071078b3 Replace some more Adlib uses by AdLib.
svn-id: r47530
2010-01-25 00:13:32 +00:00
Max Horn
4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Arnaud Boutonné
1f79fd5788 Some more header modifications ("Graphic Adventure Engine" and the legal property paragraph)
svn-id: r47489
2010-01-23 22:50:24 +00:00
Max Horn
f189cc39fc Get rid of FLAG_LOOP
svn-id: r47473
2010-01-23 13:34:59 +00:00
Max Horn
b036392a7b Get rid of deprecated makeRawDiskStream variants; rename deprecated makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change
svn-id: r47472
2010-01-23 13:34:29 +00:00
Travis Howell
0c5f1c3f97 Update HE version for Dutch Windows demo of Freddi Fish 4.
svn-id: r47465
2010-01-23 12:30:15 +00:00
Max Horn
8508a97add Get rid of two more FLAG_LOOP instances
svn-id: r47459
2010-01-23 00:35:14 +00:00
Max Horn
7ab85cd035 SCUMM: Get rid of some redundant enum vals in iMuse digitial
svn-id: r47436
2010-01-22 14:11:33 +00:00
Travis Howell
caf6310559 Add another Dutch Windows demo of Freddi Fish 4.
svn-id: r47413
2010-01-20 23:23:33 +00:00
Torbjörn Andersson
35580bbf79 Fixed a small memory leak. Cppcheck again...
svn-id: r47401
2010-01-20 00:01:42 +00:00
Max Horn
cebaa0b0d3 Started to get rid of Audio::FLAG_LOOP
svn-id: r47397
2010-01-19 23:50:33 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
68826c27da Get rid of Mixer::playRaw for good
svn-id: r47394
2010-01-19 22:19:43 +00:00
Max Horn
b227c660c6 Remove loop start/end params from Mixer::playRaw; convert some code from Mixer::playRaw to Mixer::playInputStream
svn-id: r47375
2010-01-19 11:20:58 +00:00
Max Horn
f0a0ed8f9e Get rid of Mixer::FLAG_REVERSE_STEREO; also change SCUMM's iMuse Digital emulation to reverse stereo again, as it once seems to have been intended
svn-id: r47374
2010-01-19 11:19:53 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
69be747621 Move raw audio streams to new header sound/raw.h
svn-id: r47368
2010-01-19 00:54:06 +00:00
Max Horn
349fcd1d71 Rename 'Linear' audio streams to 'raw'
svn-id: r47367
2010-01-19 00:52:41 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Eugene Sandulenko
ac668291ac Fix bug #2930306: "MANIAC - Italian NES version (extracted) not recognized"
svn-id: r47280
2010-01-12 21:13:01 +00:00
Johannes Schickel
0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc.
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)

This commit does not touch "adlib" and "ADLIB" uses!

Also it does not update all the SCUMM detection entries, which still use "Adlib".

svn-id: r47279
2010-01-12 21:07:56 +00:00
Eugene Sandulenko
80ee1de8e4 Move Mac Binary resource loader to common class. Plug tons of memory leaks along the way.
svn-id: r47258
2010-01-11 20:41:07 +00:00
Max Horn
c489259353 Switch SCUMM from AppendableAudioStream to QueuingAudioStream
svn-id: r47183
2010-01-08 22:10:19 +00:00
Max Horn
f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +00:00
Max Horn
0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Johannes Schickel
5243157eb1 Adapt digital iMuse to use SeekableAudioStream::seek, instead of ryling on the deprecated FLAC, Vorbis and MP3 interface.
svn-id: r47064
2010-01-06 00:01:27 +00:00
Johannes Schickel
81a94a0644 - Put the new factories for MP3, Vorbis and FLAC in place.
- Marked the loop factories with loop related parameters as deprecated.

svn-id: r47061
2010-01-05 23:59:28 +00:00
Johannes Schickel
88b4bbb952 Fix broken Scumm dialogs, which is a regression from r46947. (They used a dummy name, which didn't exist in the theme config and later on just calculated the size on their own...)
svn-id: r47057
2010-01-05 22:18:09 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Eugene Sandulenko
d10fc79836 Add support for Chinese translated games.
svn-id: r46805
2009-12-31 18:52:42 +00:00
Eugene Sandulenko
70a1f7c89a Fix gcc warning
svn-id: r46796
2009-12-31 10:49:16 +00:00
Fabio Battaglia
a108df30a7 Add Nintendo 64 port to trunk.
svn-id: r46773
2009-12-30 21:11:38 +00:00
Eugene Sandulenko
b0b3c6c836 Patch #2923628: "SOMI: Kanji support for japanese MegaCD version"
svn-id: r46771
2009-12-30 20:51:49 +00:00
Eugene Sandulenko
544a92a468 Patch #2895458: "SCUMM: Add support for SEGA-CD MI Passcodes"
svn-id: r46516
2009-12-23 21:12:15 +00:00
Eugene Sandulenko
f6b210bb86 Patch #2898445: "MM NES: Add support for original save/load dialog"
svn-id: r46513
2009-12-23 21:03:28 +00:00
Fabio Battaglia
aa8a227d14 fix typo
svn-id: r46497
2009-12-23 13:34:19 +00:00
Eugene Sandulenko
d910861c5c Specify file size for PC-Spiele German Indy3 as provided in bug#2916434
svn-id: r46489
2009-12-22 23:15:35 +00:00
Eugene Sandulenko
2fec19aa6b Add indy3 md5 from bug #2916434: "New MD5 for Indy3 DOS-EGA, German"
svn-id: r46470
2009-12-21 22:29:00 +00:00
Max Horn
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Max Horn
84f3c98fad Remove the Audio::Mixer parameter from the midi/music plugins
svn-id: r46315
2009-12-09 18:05:20 +00:00
Max Horn
abbf2bf162 Fix bug 2908376: FOA: Won't launch in Win32
svn-id: r46250
2009-12-04 14:25:31 +00:00
Travis Howell
6ad031f743 Add sanguine's patch for bug #2905463 - Loom PCE: missing characters in US font.
svn-id: r46238
2009-12-02 03:55:06 +00:00
Max Horn
abee5aeb3c Some whitespace and formatting fixes
svn-id: r46155
2009-11-26 16:09:47 +00:00
Travis Howell
1c4408f593 Add patch #2857016 - MM C64: meteor landing as work around, with the explaination.
svn-id: r46149
2009-11-26 00:59:57 +00:00
Travis Howell
34b781199c Add patch #2853844 - MM C64: walksounds.
svn-id: r46146
2009-11-26 00:45:06 +00:00
Johannes Schickel
117bcfde95 Remove dependancy on STL.
svn-id: r46144
2009-11-26 00:42:24 +00:00
Travis Howell
8783b0f2f7 Add patch #2839048 - MM C64 sound/music player, with minor changes.
svn-id: r46143
2009-11-26 00:31:19 +00:00
Travis Howell
3fda71b10c Add patch #2903170 - MM C64: costume fix.
svn-id: r46133
2009-11-24 23:34:03 +00:00
Travis Howell
c43d9cacda Add comment.
svn-id: r46132
2009-11-24 23:33:51 +00:00
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Travis Howell
47e358cd12 Exclude PCE sound player, from non-16bit color build.
svn-id: r46119
2009-11-24 00:15:10 +00:00
Travis Howell
9b8c088af5 Add patch #2898231 - LOOM: Sound player for PC-Engine.
svn-id: r46110
2009-11-23 23:17:15 +00:00
Max Horn
6b8dd7ab7a COMMON: Remove various variants of the md5_file / md5_file_string funcs; turned the (disabled) MD5 test code into a working unit test
svn-id: r46108
2009-11-23 22:30:22 +00:00
Matthew Hoops
a7e6745ba4 Some PCE BIOSROM's have a 0x200 byte header. We need to skip that if it's present to get to the correct font data.
svn-id: r46100
2009-11-22 23:33:58 +00:00
Travis Howell
0edf7332b2 Remove obsolete check, since HE72+ uses separate function.
svn-id: r46085
2009-11-22 13:38:18 +00:00
Travis Howell
faceb8d41f Remove obsolete check, since HE72+ uses separate function.
svn-id: r46084
2009-11-22 13:37:33 +00:00
Travis Howell
7b4771bd9f Add mapping of TM and (C) characters in PCE version of Loom, based on information from Tobias.
svn-id: r46083
2009-11-22 13:34:58 +00:00
Travis Howell
40504d7810 Add patch #2876221 - FBEAR: Fix for MIDI piano notes (DOS version), with minor change.
svn-id: r46081
2009-11-22 11:58:14 +00:00
Travis Howell
bb0c765731 Exclude Loom PCE engine specific code, from non-16bit color build.
svn-id: r46080
2009-11-22 11:43:12 +00:00
Travis Howell
6c2cc3e1bb Removed the incorrect line in CharsetRendererPCE::drawBits1().
svn-id: r46079
2009-11-22 11:36:30 +00:00
Travis Howell
1d948f1012 Virtualise drawBits1().
svn-id: r46076
2009-11-22 11:12:26 +00:00
Torbjörn Andersson
55c03b9aab Better make sure that cursorPCE[] has 16 elements, like some of the other
hard-coded cursors.

svn-id: r46075
2009-11-22 11:00:14 +00:00
Torbjörn Andersson
00708d056a Added hard-coded cursor, and adjusted the colours slightly, for the PC-Engine
version of Loom, based on information from hennymcc.

svn-id: r46074
2009-11-22 10:56:49 +00:00
Travis Howell
326eb2230b Update game details for Japanese PCE version of Loom.
svn-id: r46072
2009-11-22 09:31:07 +00:00
Travis Howell
5ab550da20 Update game details for English PCE version of Loom.
svn-id: r46069
2009-11-22 09:17:33 +00:00
Travis Howell
d81bb78053 Add patch for Tobias, for cursor palette in PCE version of Loom.
svn-id: r46066
2009-11-22 08:55:36 +00:00
Travis Howell
d5d3ca66ce Add patch for Tobias, for more accurate palette in PCE version of Loom.
svn-id: r46065
2009-11-22 08:49:19 +00:00
Travis Howell
94e75b8b6d Fix charset palette in PCE version of Loom, based on information from Tobias.
svn-id: r46064
2009-11-22 08:36:14 +00:00
Travis Howell
2d31fc3af8 Add patch for Tobias, for Kanji support in Japanese PCE version of Loom, with minor changes.
svn-id: r46061
2009-11-22 08:20:20 +00:00
Travis Howell
25025f58f0 Add fix from Tobias, for bobbing Bobbin in PCE version of Loom.
svn-id: r45685
2009-11-05 11:40:33 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Torbjörn Andersson
149d784d0b Kirben suggested using vs->bytesPerPixel instead of _bytesPerPixel when drawing
the corners on the flashlight. He's probably right, since 'vs' is what we are
drawing to.

svn-id: r45561
2009-10-31 13:43:46 +00:00
Torbjörn Andersson
2f7f5bb4f1 Fixed flashlight drawing in 16 bpp games. (Which probably means PC-Engine Loom
is the only game where it makes any difference.)

svn-id: r45560
2009-10-31 13:34:31 +00:00
Travis Howell
f7fcec1ce2 The verb images for distaff have no mask data, in PCE version of Loom.
svn-id: r45559
2009-10-31 13:15:49 +00:00
Travis Howell
d76c1c6552 Add patch from Tobias, for menu keys in PCE version of Loom, with minor change.
svn-id: r45554
2009-10-31 09:48:19 +00:00
Travis Howell
4f5a99655c Fix charset masking for 16bit color games.
svn-id: r45454
2009-10-28 04:57:54 +00:00
Matthew Hoops
d9f4e446e9 Update detection of Loom PCE Japanese.
svn-id: r45439
2009-10-27 12:30:42 +00:00
Travis Howell
ba979cbd56 Add patch #2856940 - MM C64: corner walkboxes fixed.
svn-id: r45438
2009-10-27 12:08:19 +00:00
Travis Howell
26948eca76 Add patch #2846425 - MM C64: walkbox fixed, with minor changes.
svn-id: r45437
2009-10-27 11:32:33 +00:00
Travis Howell
3d80bb47a8 Load/save the 16BitPalette data in PCE version of Loom.
svn-id: r45436
2009-10-27 09:44:13 +00:00
Travis Howell
64515d892c Fix restoring distaff, after reloading saved game in PCE version of Loom.
svn-id: r45435
2009-10-27 09:29:47 +00:00
Travis Howell
a6195bc175 Reset _distaff after drawing distaff image in PCE version of Loom.
svn-id: r45434
2009-10-27 09:24:00 +00:00
Travis Howell
e49065c821 Add support for distaff images in PCE version of Loom.
svn-id: r45433
2009-10-27 09:17:09 +00:00
Travis Howell
b0b1ab70c3 Fix charset color in PCE version of Loom.
svn-id: r45407
2009-10-26 14:49:01 +00:00
Travis Howell
dec5406e41 Fix charset display in PCE version of Loom.
svn-id: r45406
2009-10-26 13:22:05 +00:00
Travis Howell
bd781fad91 Increase the _palette size for PCE version of Loom.
svn-id: r45405
2009-10-26 12:44:26 +00:00
Travis Howell
c669b8472c Fix cursor image in PCE version of Loom.
svn-id: r45404
2009-10-26 12:35:15 +00:00
Travis Howell
bf20d530a3 Add patch from Tobias, for costume palettes in PCE version of Loom, with minor changes.
svn-id: r45403
2009-10-26 12:29:57 +00:00
Travis Howell
88c7ca6f8f Add patch from Tobias, for object masking support in PCE version of Loom.
svn-id: r45396
2009-10-26 10:15:05 +00:00
Travis Howell
485ee55308 Ooops, that part should not have been commited.
svn-id: r45394
2009-10-26 09:13:58 +00:00
Travis Howell
ea91714b17 Switch PCE version of Loom to 16bit color, since it used 9bit color.
svn-id: r45393
2009-10-26 09:11:18 +00:00
Travis Howell
6b61700a7b Add patch from Tobias, for masking support in PCE version of Loom, with minor changes.
svn-id: r45387
2009-10-26 02:45:26 +00:00
Travis Howell
7e98cf5ca9 Remove unused variables.
svn-id: r45382
2009-10-25 23:12:46 +00:00
Travis Howell
4064d35d15 Add patch from Tobias, for initial costume support in PCE version of Loom, with minor changes.
svn-id: r45370
2009-10-25 14:20:47 +00:00
Travis Howell
ff78169680 Correct error in CD music table for PCE version of Loom.
svn-id: r45359
2009-10-24 12:33:18 +00:00
Torbjörn Andersson
cc19ed27a1 Made the "drafts" debugger command work with the PC-Engine version. The drafts
appear to be stored in the same variables as in the DOS CD version. Other than
that, I only have the DOS floppy version, so other versions still may or may
not work as intended.

svn-id: r45358
2009-10-24 09:51:28 +00:00
Travis Howell
a5c97673eb The CD music was hard coded in PCE version of Loom.
svn-id: r45356
2009-10-24 03:52:38 +00:00
Travis Howell
8bb99f4571 Fix object names in PCE version of Loom.
svn-id: r45346
2009-10-23 12:50:51 +00:00
Travis Howell
770fbdcf53 Add opcode difference in PCE version of Loom.
svn-id: r45343
2009-10-23 07:51:08 +00:00
Travis Howell
4350f7b8c0 Fix objects structure and object scripts in PCE version of Loom.
svn-id: r45335
2009-10-22 11:33:05 +00:00
Travis Howell
ebd04d4479 Fix verb display in PCE version of Loom.
svn-id: r45333
2009-10-22 09:13:45 +00:00
Matthew Hoops
3f3353c520 Update detection of Loom PCE Japanese.
svn-id: r45320
2009-10-22 01:25:23 +00:00
Travis Howell
48e3d9a767 Update detection of PCEngine version of Loom.
svn-id: r45319
2009-10-22 01:07:49 +00:00
Travis Howell
bb0cee730e Add/remove comments.
svn-id: r45306
2009-10-21 13:21:26 +00:00
Travis Howell
746258f882 Add patch from Tobias, for graphic support (backgrounds/objects) in PCE version of Loom, with minor changes.
svn-id: r45304
2009-10-21 12:59:10 +00:00
Max Horn
745be029b2 SCUMM: Get rid of 'static int sortArrayOffset' by tweaking ScummEngine_v90he::sortArray
svn-id: r45302
2009-10-21 09:59:18 +00:00
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Travis Howell
01057a75f4 Fix bug #2879796 - Reversed Ventriloquists.
svn-id: r45143
2009-10-16 02:02:09 +00:00
Max Horn
6a2985ba08 Patch #2834677: Wave/ADPCM Endianness Fixes
svn-id: r45095
2009-10-14 22:37:05 +00:00
Max Horn
d0876b06ed Remove some unused variables
svn-id: r44853
2009-10-09 22:21:45 +00:00
Max Horn
3399c3aeb6 Change doxygen inline comments from "//!" to "///" as proposed on -devel
svn-id: r44802
2009-10-08 21:28:57 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Travis Howell
982950941c The layout of global object data is different in the PCE version of Loom.
svn-id: r44779
2009-10-08 09:33:20 +00:00
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00