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