Commit Graph

8716 Commits

Author SHA1 Message Date
Torbjörn Andersson
8a66ba33cf Moved the rest of the MoviePlayer class into animation.cpp/.h, plus some
minor cleanups. (Mostly spacing and indentation).

Unfortunately the Ogg Vorbis playback causes ScummVM to crash for me, so I
can't say for certain that I didn't break anything.

svn-id: r12356
2004-01-13 10:09:53 +00:00
Travis Howell
73d73982af Revert last change, misread code.
svn-id: r12355
2004-01-13 05:30:46 +00:00
Travis Howell
d758f12fcc Typo
svn-id: r12354
2004-01-13 04:59:40 +00:00
Travis Howell
a57810c854 Fix #775662, actor frame should always be reset to 0 for tentacle.
svn-id: r12353
2004-01-13 04:57:31 +00:00
Jonathan Gray
9f6cdccc84 add autodetection for libmpeg2, while it checks for 0.4.0 and up it doesn't warn the user to upgrade if they have an older version just disables
svn-id: r12352
2004-01-13 02:23:37 +00:00
Max Horn
b04dac03f2 added legal header; fixed incorrect fscanf use; C++ification (the code still is quite Cish, though :-)
svn-id: r12351
2004-01-13 01:26:18 +00:00
Travis Howell
9471d58720 Add mpeg2 option to mingw makefile
Fix compile on mingw

svn-id: r12350
2004-01-12 23:41:05 +00:00
Paweł Kołodziejski
b4655ff7f9 - fix: correct range
svn-id: r12349
2004-01-12 20:20:33 +00:00
Oliver Kiehl
d794488645 fixed bug that was causing lots of havoc on BE machines. Thanks eriktorbjorn
svn-id: r12348
2004-01-12 20:04:22 +00:00
Paweł Kołodziejski
a60c66564b - fix - proper place for stopallsound
- fix - correct fade value

svn-id: r12347
2004-01-12 19:32:44 +00:00
Paweł Kołodziejski
278ea4808e forgot this one
svn-id: r12346
2004-01-12 19:18:24 +00:00
Paweł Kołodziejski
0058057d41 - added delay at stopAllsounds
- changes some struct names
- improved hadling FT music tables(seqence, cue point, ...)
- moved some music part into seperate file
- added fadeOut music for FT

svn-id: r12345
2004-01-12 19:15:07 +00:00
Paweł Kołodziejski
b8e3dda84c - whitespaces
- fix for compilation at MAX, at include types
- changed to our types

svn-id: r12344
2004-01-12 19:08:04 +00:00
Paweł Kołodziejski
e4628fbb07 - indent
- fix for compilation, is it proper ?

svn-id: r12343
2004-01-12 18:51:15 +00:00
Torbjörn Andersson
cc67c13711 Don't hog the CPU when playing cutscenes.
svn-id: r12342
2004-01-12 16:36:01 +00:00
Travis Howell
5552b628a6 Wrong SO_*
svn-id: r12341
2004-01-12 15:52:58 +00:00
Travis Howell
3180834549 Add skipLimb actor var, which is used by puttmoon.
Use forceClip for actorOps case 218, since it should have same effect.

svn-id: r12340
2004-01-12 14:09:39 +00:00
Gregory Montoir
95de2117a2 New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc.[cpp|exe]).

svn-id: r12339
2004-01-12 13:40:02 +00:00
James Brown
a685422a13 Initial libmpeg2 cutscene support based on patch #874510.
Pre-converted cutscenes w/ palette files available - ask LeChuck about Cutscenes :)

svn-id: r12338
2004-01-12 11:11:19 +00:00
Gregory Montoir
bbf32c0076 oops
svn-id: r12337
2004-01-12 09:43:06 +00:00
Gregory Montoir
a6d1540d49 turned Logic::useJournal() into a virtual method
svn-id: r12336
2004-01-12 09:40:57 +00:00
Travis Howell
48eb63d29a Add missing case.
Add another HE games specific.

svn-id: r12335
2004-01-12 09:00:31 +00:00
Torbjörn Andersson
c75f5efd2f Sync the credits so that the text scroll and music will last for about the
same amount of time. I don't think the original did this, but it turned out
to be pretty easy.

svn-id: r12334
2004-01-12 08:01:25 +00:00
Paweł Kołodziejski
e792b1c715 update
svn-id: r12333
2004-01-12 07:51:34 +00:00
Paweł Kołodziejski
441fc1a0d7 some changes to ft music sequences
svn-id: r12332
2004-01-12 07:48:39 +00:00
Joost Peters
14eeb574d3 fixes compilation for our *cough* favourite *cough**cough* compiler: MSVC!
svn-id: r12331
2004-01-12 00:34:27 +00:00
Max Horn
c55d5d6465 pedantic corrections
svn-id: r12330
2004-01-11 21:57:24 +00:00
Max Horn
87e8ccd8c1 stupid me shouldn't write fixes, then in the last minute decide to put them into another place, then commit it before recompiling once more <sigh>
svn-id: r12329
2004-01-11 21:55:26 +00:00
Max Horn
c67d25cfb9 Fix for bug #738352 (DIG: Cursor image appears in upper left corner): don't draw flObjects in drawRoomObject(); this may cause regressions (I think it would be helpful to compile a list of some/many/all flObjects in all games, that would really help with debugging them :-)
svn-id: r12328
2004-01-11 21:52:24 +00:00
Max Horn
c1f34030f9 cleanup
svn-id: r12327
2004-01-11 21:48:31 +00:00
Max Horn
7237b6a2ec changed the name of the former removeObjectFromRoom yet again, to markObjectRectAsDirty - that describes its functionality more accurately, I hope :-)
svn-id: r12326
2004-01-11 20:42:40 +00:00
Max Horn
0712cb95af renamed removeObjectFromRoom to forceObjectRedraw
svn-id: r12325
2004-01-11 20:15:05 +00:00
Max Horn
6574feefb1 fix loading of old COMI savegames (which are based on the bad old camera var locations; note that COMI savegames made between this change and my previous change to vars.cpp may be 'lost' due to this, however that should be minor compared to loosing all previous COMI savegames ;-)
svn-id: r12324
2004-01-11 19:58:29 +00:00
Gregory Montoir
df985747e1 minor display code changes
svn-id: r12323
2004-01-11 17:20:29 +00:00
Torbjörn Andersson
7309705db5 cleanup
svn-id: r12322
2004-01-11 16:53:33 +00:00
Torbjörn Andersson
efb03e0024 Changed dumpRes() to use the File class. (Untested.)
svn-id: r12321
2004-01-11 16:27:36 +00:00
Torbjörn Andersson
cf0a73f913 Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes in
the process, except for SwordEngine.

Some minor cleanups along the wa, e.g. stdafx.h already includes <stdio.h>,
<stdlib.h> and <math.h> so there shouldn't be any need to do it elsewhere.

svn-id: r12320
2004-01-11 15:47:41 +00:00
Oliver Kiehl
563d95c576 fix silly bug
svn-id: r12319
2004-01-11 15:42:11 +00:00
Gregory Montoir
6dc8407297 cleanup
svn-id: r12318
2004-01-11 14:11:36 +00:00
Gregory Montoir
f2874733b0 tweaked a bit dirty blocks display code, this fixes the minor glitch in interview intro
svn-id: r12317
2004-01-11 14:08:07 +00:00
Travis Howell
a578817f98 Ooops
svn-id: r12316
2004-01-11 08:59:51 +00:00
Travis Howell
b3e44d8f00 This make HE games actor clipping code closer to disasm.
Add some missing code for akos games.

svn-id: r12315
2004-01-11 08:39:39 +00:00
Joost Peters
9cd7d79596 - stop voice when skipping dialogue
- scroll 4 inventory items when right-clicking

svn-id: r12314
2004-01-11 01:36:00 +00:00
Travis Howell
f00ec302b8 Enable subtitles toggle key 't' in Humongous Games.
svn-id: r12313
2004-01-11 01:01:27 +00:00
Gregory Montoir
3be8219bd9 cleanup
svn-id: r12312
2004-01-10 22:31:41 +00:00
Torbjörn Andersson
a7fe335c82 I forgot this in the previous cleanup.
svn-id: r12311
2004-01-10 21:56:59 +00:00
Gregory Montoir
5616955701 new Talk::splitOption() code (same value for text margins, word width is computed without the ending space char)
svn-id: r12310
2004-01-10 21:56:47 +00:00
Torbjörn Andersson
1db3b65825 cleanup
svn-id: r12309
2004-01-10 21:21:20 +00:00
Gregory Montoir
3e8a551d8b removed old hack to prevent speaking sentence 0
svn-id: r12308
2004-01-10 20:33:05 +00:00
Gregory Montoir
40651928dc removed some debug() calls
svn-id: r12307
2004-01-10 19:59:11 +00:00