Commit Graph
7940 Commits
Author SHA1 Message Date
Lars Skovlund d1964ec18b Add additional documentation and code to PlayVMD(1) describing the
myriad parameters settable here, and dump actual parameters passed

svn-id: r49952
2010-06-17 22:05:28 +00:00
Matthew Hoops 82c36b6b26 Only do video scaling when required (hopefully fixes SQ6). Adapt the scaling code to normal SCI videos as well.
svn-id: r49951
2010-06-17 21:00:45 +00:00
Filippos Karapetis 701d69d6e2 Don't show warnings for a known script bug in SQ4CD with the Sq4GlobalNarrator object
svn-id: r49950
2010-06-17 20:52:53 +00:00
Filippos Karapetis c8dfa255a3 Fixed the selector console command (don't change the selector name to lowercase...)
svn-id: r49949
2010-06-17 20:49:33 +00:00
Martin Kiewitz 27741ee970 SCI: dont subtract offTop on wmgrPort when using old gfx functions - fixes about window in pq2
svn-id: r49947
2010-06-17 19:42:34 +00:00
Matthew Hoops 1cb4f703f1 Fix the QFG4 Demo: kStrSplit has been replaced with kRemapColors.
svn-id: r49939
2010-06-17 18:30:11 +00:00
Martin Kiewitz 5daa17473b SCI: applying forceRealMerge change to pq1 and qfg3 demo as well (see r49936) for now
svn-id: r49938
2010-06-17 16:36:01 +00:00
Martin Kiewitz 7bb48adda7 SCI: slightly change comment from r49936
svn-id: r49937
2010-06-17 16:09:06 +00:00
Martin Kiewitz 00ac852dc8 SCI: implement workaround for laura bow 2 demo, because that interpreter uses the old real palette merging from sci1 - some views contain a palette that has all colors marked as being used, which would overwrite sysPalette with blacks
svn-id: r49936
2010-06-17 16:06:01 +00:00
Torbjörn Andersson 1bbb9d7bd2 Fixed cppcheck warning.
svn-id: r49935
2010-06-17 15:46:01 +00:00
Matthew Hoops f403d0f806 Don't translate both x and y of the rect in kOnMe if only one of the variables is negative. Fixes the GKEgo hotspot outside of the Madame Cazanoux's house.
svn-id: r49933
2010-06-17 15:02:18 +00:00
Filippos Karapetis 4e7b98db0c Removed a now obsolete FIXME (spotted by Fingolfin)
svn-id: r49932
2010-06-17 14:06:12 +00:00
Filippos Karapetis 36d92b4566 Fixed kLoad and kUnload (the resource type was incorrect)
svn-id: r49931
2010-06-17 14:05:05 +00:00
Filippos Karapetis 0e365131ac Fixed wPlayAudio, and added some documentation on the 3 new kDoAudio subops. Digital sounds in Pharkas work again
svn-id: r49928
2010-06-17 12:29:58 +00:00
Martin Kiewitz 423029c027 SCI: implemented channel muting for sci1, finally fixes lsl5 paino scene with patti
svn-id: r49926
2010-06-17 11:54:54 +00:00
Martin Kiewitz 3a8e11767d SCI: decreasing channel given to us on cmdSendMidi by one, so mute command now matches the right channel. sierra sci also decreased by one (their channel is 1-based)
svn-id: r49924
2010-06-17 11:05:39 +00:00
Filippos Karapetis 81fe1aa19e Added some more information on some of the calls of kPlayVMD
svn-id: r49923
2010-06-17 08:55:08 +00:00
Martin Kiewitz 705d3c2d85 SCI: fixes regressions of r49905 (thx to digitall) - first we now find out what channels are used in sci0 as well, we are doing straight mapping for sci0 though - this fixes music in sci0 games, also fixing crash in sq1vga because of using null pMidiParser
svn-id: r49922
2010-06-17 08:41:04 +00:00
Filippos Karapetis 25496abe1b Added 2x scaling for VMD videos, for bugtesting (temporarily in SCI itself). It's currently not optimized much, but since the VMD decoder code will be revamped, we don't really care about performance at this point
svn-id: r49921
2010-06-17 07:53:57 +00:00
Filippos Karapetis 894ba682cd Moved kMulDiv together with the rest of the math functions, and kPlayVMD together with the rest of the video playing functions
svn-id: r49920
2010-06-17 07:26:06 +00:00
Matthew Hoops 39276e82db Fix another valgrind warning, thanks to digitall for spotting.
svn-id: r49918
2010-06-17 03:57:38 +00:00
Matthew Hoops 6ee4bf06ad Fix a valgrind warning in GfxCursor. Thanks to digitall for finding it.
svn-id: r49917
2010-06-17 03:53:13 +00:00
Matthew Hoops 2cba994bb4 Only hide/show cursor when playing a VMD if it was visible in the first place.
svn-id: r49914
2010-06-17 00:20:40 +00:00
Filippos Karapetis a7b76c04d9 Added handling of VMD video files in kResCheck, fixes video playing in GK2
svn-id: r49913
2010-06-17 00:07:03 +00:00
Filippos Karapetis 18dc295a33 Hooked the VMD player in kPlayVMD. The VMD videos in the demo of Phantasmagoria 1 are shown now (e.g. the intro and the chapter beginning)
svn-id: r49912
2010-06-16 23:30:22 +00:00
Filippos Karapetis 93890a49c1 Added back the functionality to skip videos
svn-id: r49911
2010-06-16 23:28:20 +00:00
Filippos Karapetis fa0011f512 Added a sanity check inside kMulDiv
svn-id: r49910
2010-06-16 21:59:21 +00:00
Filippos Karapetis 20d8de27ba Implemented the SCI2.1 kMulDiv kernel function. Walking in Torin's Passage is done correctly now, without leaving trails
svn-id: r49909
2010-06-16 21:56:39 +00:00
Filippos Karapetis 9b6f71d7cf Added handling for the SCI2.1 kPalette(1) call. The graphics in Torin's Passage are shown with the correct colors now
svn-id: r49908
2010-06-16 21:44:33 +00:00
Martin Kiewitz 289b668099 SCI: dont seek during init of music but on play, fixes assert when restoring saves caused by r49905 - because channel remapping isn't done at that point
svn-id: r49907
2010-06-16 21:23:47 +00:00
Martin Kiewitz 02c3397ddf SCI: fix debug command "show_instruments", got broken by r49905 on purpose
svn-id: r49906
2010-06-16 21:07:26 +00:00
Martin Kiewitz af65de6e1a SCI: implement channel remapping for SCI1
svn-id: r49905
2010-06-16 21:02:58 +00:00
Max Horn e7275161f4 SCI: Avoid using g_sci in resman (as it might not yet be inited)
svn-id: r49897
2010-06-16 00:24:16 +00:00
Martin Kiewitz fea248ae2f SCI: make umlauts work in kFrameout for sci32
svn-id: r49890
2010-06-15 20:23:25 +00:00
Martin Kiewitz c9ba23f2b4 SCI: only set mouse position, when cursor is visible (fixes non-stop, but escapeable mouse position setting to 0, 0 in eco quest 1 floppy during intro)
svn-id: r49874
2010-06-15 17:41:33 +00:00
Martin Kiewitz 831e626ccd SDL: only change mouse cursor, when mouse is currently within our window, also enable mouse position changing again for SCI
svn-id: r49866
2010-06-15 16:58:03 +00:00
Matthew Hoops cf38303497 Don't disable kPalVary for SCI32, the semantics have remained the same.
svn-id: r49865
2010-06-15 16:56:23 +00:00
Max Horn b8d9cf2773 SCI: Pass resman to scanSource() methods
svn-id: r49863
2010-06-15 16:50:10 +00:00
Filippos Karapetis 90408a59cc Don't adjust the object's coordinates if the object does not belong to a plane in kIsOnMe(). It's now possible to start the interactive part of the Phantasmagoria 1 demo
svn-id: r49862
2010-06-15 16:36:09 +00:00
Martin Kiewitz b25aba1d1e SCI: SciGui/SciGui32 gone for good...
svn-id: r49860
2010-06-15 15:44:24 +00:00
Filippos Karapetis e94e91222c Fixed comments
svn-id: r49858
2010-06-15 15:02:52 +00:00
Filippos Karapetis ab558b45d2 Fixed detective Mosely's hotspot in GK1 (day 1)
svn-id: r49857
2010-06-15 14:55:52 +00:00
Martin Kiewitz ddb5a769a2 SCI: reset _gfxText16 for sci32, fixes gk1
svn-id: r49856
2010-06-15 13:52:06 +00:00
Matthew Hoops 45fe9a469e Fix wave patches.
svn-id: r49855
2010-06-15 13:45:12 +00:00
Martin Kiewitz ba2de6dfa4 SCI: putting SciGui::init into SciEngine, removing it from SciGui(32)
svn-id: r49854
2010-06-15 13:34:40 +00:00
Martin Kiewitz af5346e7ab SCI: calling wait() directly and removing it from SciGui
svn-id: r49853
2010-06-15 13:14:23 +00:00
Martin Kiewitz 891b568fde SCI: move textSize and textFonts and textColors inside gfxText16
svn-id: r49851
2010-06-15 13:01:07 +00:00
Max Horn f387025e9b SCI: Add FIXME regarding audio specific code in Resource(Source)
svn-id: r49849
2010-06-15 12:35:39 +00:00
Max Horn e4153ffa38 SCI: Add Resource::getNumber method
svn-id: r49848
2010-06-15 12:35:17 +00:00
Max Horn f936443252 SCI: Saner and simpler conversion from msecs to ticks
svn-id: r49846
2010-06-15 12:34:33 +00:00