Max Horn
51017cf1b2
Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
...
svn-id: r23922
2006-09-17 20:36:48 +00:00
Max Horn
8c0b0c0120
Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap (i.e. _gdi is a pointer now)
...
svn-id: r23921
2006-09-17 20:22:47 +00:00
Max Horn
b860f002b2
Replaced checkRange by assertRange, which has (a) an (IMO) more logical order of parameters, and (b) removes lots of useless duplicate information in error messages
...
svn-id: r23885
2006-09-16 13:38:43 +00:00
Max Horn
bd38f5f4d3
Renamed o6_getActorAnimCounter1 to o6_getActorAnimCounter
...
svn-id: r23857
2006-09-09 18:31:32 +00:00
Travis Howell
7ca75815aa
Add HE72+ specific version of convertMessageToString(), to reduce filtering and since special codes aren't used.
...
svn-id: r23814
2006-09-01 12:04:40 +00:00
Torbjörn Andersson
c32076e5d0
Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
...
for consistency with other #includes.
svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
...
svn-id: r23569
2006-07-22 17:28:48 +00:00
Max Horn
f59cf1fcdc
Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
...
svn-id: r23547
2006-07-21 21:25:17 +00:00
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +00:00
Travis Howell
76e67fba92
Fix actor glitches in the stomach location of pajama3
...
svn-id: r23471
2006-07-10 10:14:10 +00:00
Max Horn
f35f4a4d1c
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
...
svn-id: r23458
2006-07-09 13:01:15 +00:00
Travis Howell
b3f2d299fe
HE80+ games ignore subtitle speed, due to sound code been used. Fixes glitches that can occur, when slow subtitle speed is set in HE80+ games.
...
svn-id: r23447
2006-07-09 05:47:17 +00:00
Travis Howell
6ed462e06f
Rename VAR_WINDOWS_VERSION to VAR_PLATFORM_VERSION
...
svn-id: r23419
2006-07-08 10:28:35 +00:00
Travis Howell
9269ebe9f5
Fix off by one, in the stomach of pajama3
...
svn-id: r23377
2006-07-06 12:22:33 +00:00
Travis Howell
e17fe8e88b
Remove left over ;
...
svn-id: r23335
2006-06-28 14:14:21 +00:00
Travis Howell
dd57c57982
Add eriktorbjorn's patch for DXA unification, with more changes
...
svn-id: r23332
2006-06-28 14:06:54 +00:00
Max Horn
72a4747dd6
Fix warning
...
svn-id: r23273
2006-06-24 07:14:15 +00:00
Travis Howell
dbfc1cb9b1
Convert file path, before playing videos in HE games
...
svn-id: r23263
2006-06-23 23:10:23 +00:00
Travis Howell
4b2aa54304
Revert back to original method used for scrollEffect(), fixes regressions.
...
svn-id: r23214
2006-06-21 06:50:50 +00:00
Travis Howell
bc6306192d
Fix screen scrolling glitch when looking at the top of closet in parents room of DOS version of fbear
...
svn-id: r23174
2006-06-19 04:09:39 +00:00
Travis Howell
31e7efc167
Remove debug left over
...
svn-id: r23172
2006-06-18 10:54:54 +00:00
Travis Howell
49b3f8f539
Add alternative method to prevent debug code of scripts been triggered in lost. Fixes regressions when convertFilePath() is used by some HE games
...
svn-id: r23171
2006-06-18 10:46:22 +00:00
Travis Howell
40bfc71de8
Fix rects in HE games, when positions are set by scripts
...
svn-id: r23146
2006-06-16 13:14:55 +00:00
Torbjörn Andersson
94de874087
Since setCursorHotspot() does not update the cursor (should it?), we have to
...
call it before setCursorFromBuffer(), not afterwards. This fixes the cursor
hotspot being temporarily wrong in HE games that use loadWizCursor().
svn-id: r23094
2006-06-13 18:37:40 +00:00
Torbjörn Andersson
df4f95f805
Let the [cursor] palette manager handle disableCursorPalette() too, to avoid
...
cursor glitch in at least some HE games which first set a cursor palette, and
then disable it. (The disabled palette would be re-enabled after dismissing the
GUI.)
svn-id: r23081
2006-06-13 09:48:46 +00:00
Travis Howell
afe07d82c0
Use convertFilePath for HE6x games too, for safety
...
svn-id: r22994
2006-06-09 09:01:06 +00:00
Travis Howell
f571c471cc
Add DOS and Macintosh versions of Putt-Putt & Fatty Bear's Activity Pack
...
svn-id: r22991
2006-06-09 08:06:38 +00:00
Travis Howell
04d8cef848
Minor cleanup
...
svn-id: r22950
2006-06-06 04:33:09 +00:00
Torbjörn Andersson
2f51f40c11
Downgraded startHETalkSound() error (when the speech file isn't open) to a
...
warning, since it happens on the Pajama Sam's Lost & Found demo's main menu
screen.
svn-id: r22593
2006-05-24 03:56:48 +00:00
Max Horn
e4ab8000f0
Pass values by-reference, using C++ references, and not by using pointers
...
svn-id: r22548
2006-05-20 15:09:15 +00:00
Torbjörn Andersson
05814a1458
Apparently, passing a file handle directly to a function causes that file
...
handle (a copy of the original?) to be destroyed at the end of the function,
and that closes the internal file handle, even though we want it to stay open.
Who am I to argue with how C++ handles its parameters? I've simply changed the
functions to take pointers to file handles instead. Seems to fix crashes in the
Macintosh resource extractor for me.
svn-id: r22546
2006-05-20 13:59:31 +00:00
Torbjörn Andersson
6cdd98b617
After the GUI has finished, restore the old cursor palette (if any). For this
...
to work, cursor palette now has to be set using the new "palette manager". See
graphics/paletteman.cpp
svn-id: r22543
2006-05-20 10:59:25 +00:00
Travis Howell
4c67122463
Avoid closing a video file in HE games twice
...
svn-id: r22396
2006-05-08 22:53:09 +00:00
Travis Howell
3f9395831c
Fix regression in lost, the middle directories were removed
...
svn-id: r22388
2006-05-08 13:10:49 +00:00
Travis Howell
ca513f7e66
Fix off by one in rect when capturing image
...
svn-id: r22387
2006-05-08 11:41:32 +00:00
Travis Howell
3830ac06b3
Add initial DXA support for HE games
...
svn-id: r22384
2006-05-08 10:21:17 +00:00
Travis Howell
01c92cf6f5
Add support for reading/writing config files through saveGameManager and use for config files in HE games
...
svn-id: r22273
2006-05-02 03:23:03 +00:00
Max Horn
77c29d0ab2
Some cleanup, and added a FIXME comment concerning the wrong usage of getSavePath()
...
svn-id: r22266
2006-05-01 21:31:06 +00:00
Max Horn
27307acd7c
Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
...
svn-id: r22231
2006-04-29 22:33:31 +00:00
Max Horn
c4df5037dc
* Renamed several methods in favor of a somewhat more uniform naming scheme: setupFOO for stuff that inits static data (i.e. will be called only once, or after loading savegames), vs. resetFOO / updateFOO methods which are called frequently and (re)set dynamic data.
...
* Doing this, split scummInit into setupScumm and resetScumm methods
* Moved some init code to new methods (huuuuge init methods are hard to read, and hard to customize using subclassing)
* Renmaed various setup???Palette methods to set???Palette
* Some minor cleanup / tweaks
svn-id: r22227
2006-04-29 16:24:39 +00:00
Max Horn
1735b0421b
Make use of the new scummLoop_* functions to move some SCUMM version specific stuff around
...
svn-id: r22219
2006-04-29 13:01:35 +00:00
Max Horn
092fd96145
Replaced _hFileTable by _hInFileTable/_hOutFileTable
...
svn-id: r22182
2006-04-26 14:05:09 +00:00
Travis Howell
5ceb4b19b0
isSoundRunning always returns sound id in HE games
...
svn-id: r22176
2006-04-26 10:34:34 +00:00
Max Horn
c940380314
Replace unneeded File::exists calls
...
svn-id: r22173
2006-04-26 08:35:54 +00:00
Max Horn
e80d24aa22
Some more cleanup in class Scumm::Sound
...
svn-id: r22125
2006-04-23 23:00:32 +00:00
Max Horn
3f41e2dc21
Detect (and error out) if readMAXS fails
...
svn-id: r22120
2006-04-23 22:39:55 +00:00
Max Horn
e0a5a2b89e
Fix access to .he3/.he4 files
...
svn-id: r22118
2006-04-23 21:56:09 +00:00
Max Horn
b2befd7951
Moved _heTimers to ScummEngine_v60he
...
svn-id: r22116
2006-04-23 19:41:54 +00:00
Max Horn
d68f95b3be
Move HE specific stuff from class Sound to its new subclass SoundHE
...
svn-id: r22115
2006-04-23 18:52:39 +00:00
Max Horn
0d67640a58
Behold, the new SCUMM detector finally has arrived. Unified detection & engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements.
...
svn-id: r22110
2006-04-23 17:33:16 +00:00