Commit Graph

157 Commits

Author SHA1 Message Date
Max Horn
6b348c03d5 Revised LogicHErace::op_1140 (the two multiplications by constants still baffle me, but at least it makes some sense now, and corrects the worst bugs in that func)
svn-id: r26035
2007-03-09 00:29:38 +00:00
Nicola Mettifogo
1e985051a9 reduced dependency from windows-specific header files
svn-id: r26034
2007-03-09 00:13:07 +00:00
Max Horn
cfe86c096d cleanup
svn-id: r25927
2007-03-02 15:34:22 +00:00
Gregory Montoir
f68105912a fixed background music in catalog_cup_demo_de : only stop sfx if it was started in a previous block
svn-id: r25863
2007-02-25 19:15:00 +00:00
Torbjörn Andersson
a1a16d1579 Use consistent naming for the preprocessor constants used to guarantee that
header files are only included once. Many of them didn't have a SCUMM prefix
which could have lead to clashes with common header files.

svn-id: r25727
2007-02-19 17:48:19 +00:00
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Eugene Sandulenko
8405eca0ea Fix warnings
svn-id: r25554
2007-02-13 19:51:27 +00:00
Torbjörn Andersson
3bc0661065 Merged the "palette manager" into the cursor manager. It was only used to
manage *cursor* palettes, so the name was misleading.

svn-id: r25500
2007-02-12 00:04:56 +00:00
Max Horn
856742075e Code cleanup: Removing unused code for handling OS/2 (NE header) binaries
svn-id: r25497
2007-02-11 22:37:47 +00:00
Max Horn
534bfddd06 Fix for bug #1506591: HE71-73: Fails to load mouse data (Endian issue?)
svn-id: r25492
2007-02-11 18:07:19 +00:00
Max Horn
cb49cbdd45 * Reimplemented Mixer::pauseAll to simply invoke pause on all channels
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer

svn-id: r25356
2007-02-03 19:05:53 +00:00
Max Horn
27432a4dc1 Moved some stuff from CharsetRenderer (back) to ScummEngine, added comments
svn-id: r25250
2007-01-28 20:11:31 +00:00
Gregory Montoir
51fd5c8c4b templatified some Wiz decoding functions
svn-id: r25209
2007-01-26 22:03:41 +00:00
Gregory Montoir
35b6cfcd9c fixed kSfxFlagRestart
svn-id: r25196
2007-01-25 23:17:05 +00:00
Gregory Montoir
519af02245 modified CUP player code to read data directly from a file stream instead of a large memory buffer.
svn-id: r25195
2007-01-25 21:42:18 +00:00
Gregory Montoir
d2f15566d3 added handler for sfx sync (abc-slideshow.cup, bda-slideshow.cup) and sfx looping, cleanup
svn-id: r25158
2007-01-21 22:08:02 +00:00
Travis Howell
c680f79eef Add cyx's patch for horizontal and vertical flipping of wiz images type 1, in HE games.
svn-id: r24860
2006-12-17 10:17:13 +00:00
Travis Howell
eb86007b31 Add code for stopping video playback in HE100 games
svn-id: r24858
2006-12-15 23:54:42 +00:00
Gregory Montoir
10a9989a58 added basic handlers for SFXB and SNDE tags in .CUP player
svn-id: r24857
2006-12-15 23:48:38 +00:00
Gregory Montoir
08c261a5a6 made CUP_Player only update the modified screen areas.
svn-id: r24831
2006-12-10 00:44:40 +00:00
Travis Howell
d1eb83a470 Add findBox opcode for Hebrew version of Freddi Fish 1
svn-id: r24780
2006-11-24 09:27:50 +00:00
Eugene Sandulenko
cfb29dcb51 Fix MSVC2005 warnings. Please, review the changes.
svn-id: r24760
2006-11-22 15:50:30 +00:00
Max Horn
c210aff40c * Made Actor::_pos protected, added public Actor::getPos() method
* Added default params to Actor::putActor()
* Removed Actor::getActorXYPos

svn-id: r24742
2006-11-19 00:39:48 +00:00
Gregory Montoir
e1efdfc7f6 simplified SRLE decoding, cleanup
svn-id: r24653
2006-11-07 22:22:23 +00:00
Gregory Montoir
6c8af67b60 added SRLE handler, cleanup
svn-id: r24643
2006-11-06 23:28:40 +00:00
Johannes Schickel
68c603631b cleanup
svn-id: r24642
2006-11-06 22:06:32 +00:00
Eugene Sandulenko
90e20121b8 Portability fix for some platforms.
svn-id: r24641
2006-11-06 18:21:07 +00:00
Eugene Sandulenko
8ef5e88323 Add support for HE CUP demos based on cyx's standalone player.
svn-id: r24636
2006-11-06 13:40:24 +00:00
Max Horn
db1fc75012 SCUMM cleanup
svn-id: r24612
2006-11-04 22:59:56 +00:00
Torbjörn Andersson
e57316c796 Fixed bad namespace comments spotted by clone2727.
svn-id: r24588
2006-11-03 06:16:11 +00:00
Travis Howell
6b425f03f4 Add video code for HE100 games
svn-id: r24586
2006-11-02 10:01:32 +00:00
Travis Howell
c3f6c57680 Enable Bink video playback in HE100 games
svn-id: r24584
2006-11-01 23:39:55 +00:00
Travis Howell
304c102613 Switch error to warning, since code is compatbile with football2002 too
svn-id: r24516
2006-10-25 23:48:47 +00:00
Max Horn
9edf1e6a1a cleanup
svn-id: r24407
2006-10-21 12:44:10 +00:00
Max Horn
5e9041b1b5 SCUMM: ArrayHeader related cleanup
svn-id: r24395
2006-10-20 19:44:27 +00:00
Max Horn
dd7e4ff3e7 SCUMM: walbox related cleanup
svn-id: r24365
2006-10-18 13:33:42 +00:00
Max Horn
a9b0a055c8 Moved get_resource_id_quoted around a bit and added another FIXME comment
svn-id: r24328
2006-10-15 02:00:37 +00:00
Max Horn
84874caf06 Got rid of ScummEngine::_confirmExit, and some other minor cleanup
svn-id: r24319
2006-10-15 00:50:22 +00:00
Max Horn
ff6731e00a Removed 'smushMode' param from processInput and processKeyboard in favor of a new member _smushActive of ScummEngine_v7
svn-id: r24175
2006-10-07 17:42:32 +00:00
Max Horn
f13e4baaf9 Renemaed ScummEngine::processKbd to processInput (as it also deals with the mouse)
svn-id: r24164
2006-10-07 12:19:28 +00:00
Max Horn
ef30cdf78b some HE related cleanup
svn-id: r24163
2006-10-07 11:54:50 +00:00
Max Horn
285aa5d0b2 renamed ScummEngine::restoreBG to restoreBackground; renamed and moved Gdi::copyVirtScreenBuffers to ScummEngine_v70he::restoreBackgroundHE
svn-id: r23925
2006-09-17 23:35:09 +00:00
Max Horn
fab33bf663 Moved stored flobjects to class ScummEngine_v70he
svn-id: r23924
2006-09-17 22:22:50 +00:00
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