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