Commit Graph

42548 Commits

Author SHA1 Message Date
Filippos Karapetis
c3fd3e2329 SCI: Updated the SCI2.1 kernel function table with the SCI3 changes/additions
svn-id: r54177
2010-11-10 00:36:43 +00:00
David Turner
a74b8ad67f TOON: More corrections to close memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a significant number still remain.

svn-id: r54176
2010-11-09 23:57:56 +00:00
Arnaud Boutonné
95a58b2471 HUGO: Fix the last leaks in H1 Dos
Thanks Hkz for the help!

svn-id: r54175
2010-11-09 23:31:08 +00:00
Filippos Karapetis
e8e23a83e9 SCI: Removed the Shivers 2 hack from the segment manager (it isn't SCI)
svn-id: r54174
2010-11-09 22:20:36 +00:00
Filippos Karapetis
581a090204 SCI3: Removed detection and any possible support of Shivers 2
Shivers 2 doesn't contain SCI scripts. The whole game logic has
been reimplemented from SCI in native code placed in DLL files.
Each room has its own DLL file, and some SCI functions have been
reimplemented/rewritten for this purpose in native code. The
game and demo have all the resources of a SCI game, apart from
the SCI scripts themselves. Thus, they cannot be directly
supported, unless their whole room logic is rewritten from
scratch, which classifies Shivers 2 as "not SCI"

svn-id: r54173
2010-11-09 22:01:12 +00:00
Eugene Sandulenko
a537ddb614 GUI: Added IS8859-7 fonts. Helvetica is missing
svn-id: r54172
2010-11-09 21:31:23 +00:00
Eugene Sandulenko
b00c631f20 GUI: Generate iso8859-2 codepage fonts
svn-id: r54171
2010-11-09 21:30:00 +00:00
Eugene Sandulenko
f4a78c9b0c GUI: Added original 5x8 font
svn-id: r54170
2010-11-09 21:29:04 +00:00
Eugene Sandulenko
e7333afde5 CONFIGURE: Fix linking in some cases
Nowadays code in graphics/ depends on sound/ i.e. in video codecs.
This fixes ./configure --disable-all-engines --enable-toon

svn-id: r54169
2010-11-09 20:48:23 +00:00
Arnaud Boutonné
d002800b52 HUGO: Fix several memory leaks
svn-id: r54168
2010-11-09 20:26:12 +00:00
Filippos Karapetis
1a85ce8e03 SCI: Some slight work on SCI3
- Enabled the SCI3 game entries for testing purposes
- The resource manager is initialized fully now (with a slight hack)
- Added a hack for the demo of Shivers 2 (which seemingly has no
scripts or vocabularies)
- The engine will stop before parsing any game scripts in SCI3 games,
and opens the console for resource manager-related functionality

svn-id: r54167
2010-11-09 19:37:42 +00:00
Matthew Hoops
45f4f84e03 MOHAWK: Fix one more memory leak (hopefully the last :))
svn-id: r54166
2010-11-09 18:58:44 +00:00
Matthew Hoops
0dd4a46102 MOHAWK: Fix cache memory leak and some formatting
svn-id: r54165
2010-11-09 18:52:29 +00:00
Matthew Hoops
a4978587d8 MOHAWK: Fix memory leaks (thanks to digitall for finding)
svn-id: r54164
2010-11-09 18:38:35 +00:00
Filippos Karapetis
55f0b88c07 SCI: Fixed the fallback detector again
This is a regression from r54155, as we previously ignored the result of 
addInternalSources() in the fallback detector

svn-id: r54163
2010-11-09 17:07:34 +00:00
Matthew Hoops
4582a94ff9 SCI: Fix Lighthouse SCI2.1 demo
This is a regression from r54155. Fixed by moving the chunk resource loading earlier.

svn-id: r54162
2010-11-09 16:56:31 +00:00
Matthew Hoops
567441f032 SCI: Formatting convention fixes
svn-id: r54161
2010-11-09 16:23:08 +00:00
Matthew Hoops
8a788d16d7 SCI: Fix compile when SCI32 is not enabled
svn-id: r54160
2010-11-09 16:06:33 +00:00
Filippos Karapetis
2e8ca1aa9b create_msvc: Added the SDL_BACKEND define, to fix compilation with MSVC
svn-id: r54159
2010-11-09 15:55:17 +00:00
Lars Skovlund
acf581fe67 SCI: Temporarily disable the PrintDebug call, which is only partially
implemented and insufficient for Shivers/Full. It is also unnecessary
for normal play.

svn-id: r54158
2010-11-09 15:45:20 +00:00
Lars Skovlund
32ff20477b SCI: Add uninitialized temp workaround for Shivers
svn-id: r54157
2010-11-09 15:16:40 +00:00
Lars Skovlund
3a9d935023 SCI: Fix error message in ShowMovie(), perhaps avoiding some confusion later
svn-id: r54156
2010-11-09 15:15:13 +00:00
Lars Skovlund
9a0b6ad69a SCI: Add resource manager support for SCI3 games.
ScummVM now rejects them properly instead of spewing lots of
unintelligible stuff. 

svn-id: r54155
2010-11-09 14:25:39 +00:00
Filippos Karapetis
1e9407be3f SCI: Added comments for rev. 54150 and fixed a typo
svn-id: r54153
2010-11-09 11:57:54 +00:00
David Turner
63d023964e MOHAWK: Close a number of memory leaks in Myst.
These corrections close a number of leaks reported by running Valgrind with --leak-check=full option, but some still remain, mainly in the image loading and caching.

svn-id: r54152
2010-11-09 11:02:06 +00:00
Fabio Battaglia
77a636aaec N64: correct wrong check in romfs stream code
my implementation of romfs_seek is based on lseek, not on fseek,
so it returns the offset on successful completion, not 0, corrected
the check in RomfsStream::seek().

svn-id: r54151
2010-11-09 11:00:56 +00:00
Lars Skovlund
53a4a64b16 treat pushSelf opcode with low bit set as pushSelf (in fangames only, currently). Fixes bug #3038686.
(SCI Fanmade - Circus Quest: Crash when starting).

svn-id: r54150
2010-11-09 10:07:34 +00:00
Matthew Hoops
4a5b01e3bb CONFIGURE: Define SDL_BACKEND for GP2X/GPH/WINCE backends
This should fix compilation on those systems.

svn-id: r54149
2010-11-09 05:21:07 +00:00
Max Horn
059944e59c COMMON: Push #include audiocd.h in system.h out to .cpp files
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn
82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Max Horn
4242229c91 COMMON: Make KeyState::hasFlags const
svn-id: r54146
2010-11-08 19:18:13 +00:00
Sven Hesse
9c349cf78b VIDEO: PreIMD: End frame when stream depleted
As happens for the last frames in the Fascination videos.

svn-id: r54144
2010-11-08 17:03:27 +00:00
Filippos Karapetis
8504e30dac SCI2: Added some currently unused code for drawing text on a buffer
svn-id: r54143
2010-11-08 16:12:58 +00:00
Filippos Karapetis
d8eefdb52a SCI/SCI2: Some slight changes to the graphics code
- Changed the SCI1 EGA games workaround in kGraphDrawLine() to match the ones in kGraphFillBoxAny() and kNewWindow, updating the relevant comments
- Added some comments in kSetShowStyle()

svn-id: r54142
2010-11-08 16:09:59 +00:00
David Turner
71d0526834 TUCKER: Added basic debugging console to engine
Tucker does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands.

svn-id: r54141
2010-11-08 12:24:18 +00:00
David Turner
cb734285a5 SWORD1: Added basic debugging console to engine
SWORD1 does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands.

svn-id: r54140
2010-11-08 12:22:58 +00:00
David Turner
c76f0c6c02 MADE: Added basic debugging console to engine
MADE does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands.

svn-id: r54139
2010-11-08 12:17:19 +00:00
Lars Skovlund
416025cda9 Fix assertion failure in SCI0 saving code
svn-id: r54138
2010-11-08 11:02:43 +00:00
David Turner
f0fe060cc3 TOUCHE: Added basic debugging console to engine
Since TOUCHE uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.

svn-id: r54137
2010-11-08 03:55:16 +00:00
David Turner
5d30eeea95 TOON: Further corrections to close memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a significant number still remain.

svn-id: r54136
2010-11-08 03:14:32 +00:00
Filippos Karapetis
05eb352e5c SCI: Bugfix for script workarounds
Get the English versions of objects and methods when checking for script
workarounds, as the objects/methods could be translated. Fixes bug #3104623,
"PQ3: Crash when click on City map"

svn-id: r54134
2010-11-08 00:41:39 +00:00
Filippos Karapetis
5de2668939 SCI: Some changes regarding the string heap in saved games
- Maintain the state of the string heap space in saved games
- Merged SegManager::reconstructScripts() inside SegManager::saveLoadWithSerializer()
- Disabled a now unnecessary script patch for the cipher puzzle in Castle of Dr. Brain, and performed some cleanup for another disabled patch
- Removed direct access to the _baseObj variable of objects

svn-id: r54133
2010-11-08 00:18:34 +00:00
Florian Kagerer
97a98cf9db LOL: fixed minor text displayer bug
svn-id: r54132
2010-11-08 00:08:38 +00:00
Arnaud Boutonné
74d0ad8371 HUGO: Use DOS names for and exact names in endGame()
svn-id: r54131
2010-11-07 22:10:29 +00:00
Johannes Schickel
170b21c2ce TOON: Fix mismatching new/delete[] on _hotspots.
svn-id: r54130
2010-11-07 21:25:32 +00:00
Johannes Schickel
7c66cae3de TOON: Cleanup.
svn-id: r54129
2010-11-07 21:22:16 +00:00
Johannes Schickel
efc2808926 TOON: Fix debug console by implementing getDebugger.
svn-id: r54128
2010-11-07 21:21:55 +00:00
David Turner
4acad22d6e TOON: Corrections to close some memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option.

svn-id: r54127
2010-11-07 21:08:46 +00:00
Johannes Schickel
ce733ab75a TUCKER: Add GUIO_NOLAUNCHLOAD to the detection flags.
svn-id: r54126
2010-11-07 19:13:30 +00:00
Johannes Schickel
a05e9a6842 DRASCULA: Add GUIO_NOLAUNCHLOAD to the detection flags.
svn-id: r54125
2010-11-07 19:13:08 +00:00