Commit Graph
4076 Commits
Author SHA1 Message Date
Matthew Hoops b43e99566e Converting AVIPlayer into a class that inherits from VideoDecoder and adapt SCI to use this. Also, moving the codec and Codec class into their own folder. (Based on a patch by md5)
svn-id: r45170
2009-10-16 18:05:56 +00:00
Filippos Karapetis c957d75fd0 Fix for bug #2874489 - "SCI: Larry 3 crashes at startup"
svn-id: r45169
2009-10-16 17:29:36 +00:00
Martin Kiewitz c213032da9 SCI: insert comment about kq6 issue caused by new speed throttler. theoretically this could go away when reanimate/cel updates are implemented
svn-id: r45160
2009-10-16 11:22:06 +00:00
Walter van Niftrik 08bf02ccf2 SCI: Fixed debugger opcode names.
svn-id: r45158
2009-10-16 10:46:09 +00:00
Filippos Karapetis 600d5199fc Moved the SEQ decoder outside the gfx directory, as it is completely stand alone now and no longer uses any GUI-related code
svn-id: r45153
2009-10-16 08:26:41 +00:00
Filippos Karapetis 422b732dba Added a new convenience method to the video player, which adds the event of skipping videos with the escape key by default, thereby simplifying the video playing code in all places where it's used
svn-id: r45151
2009-10-16 07:42:23 +00:00
Filippos Karapetis da7652deb3 Changed the KQ6 floppy SEQ decoder to use the common VideoPlayer interface. Some cleanup
svn-id: r45124
2009-10-15 15:17:54 +00:00
Martin Kiewitz 6d95f8ca61 SCI: pointer_add -> error changed to warning b/c iceman does it. Just ignoring it doesnt seem to have any effect on the game
svn-id: r45123
2009-10-15 15:07:47 +00:00
Martin Kiewitz 766820d72c SCI: added fix for iceman (dance with girl walking)
svn-id: r45122
2009-10-15 14:57:40 +00:00
Martin Kiewitz e195b88707 SCI: kAnimate speed throttler fix
svn-id: r45118
2009-10-15 13:30:18 +00:00
Walter van Niftrik 0d6ab8c73a SCI: Add support for reg_t based segments to Message()
svn-id: r45113
2009-10-15 11:57:36 +00:00
Martin Kiewitz 0868fd24d2 SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid that way
svn-id: r45105
2009-10-15 07:50:10 +00:00
Martin Kiewitz 942dc2ce84 SCI: included stub for kPalVary to make Pharkas work a little bit more (currently crashes in kMessage)
svn-id: r45102
2009-10-15 06:37:05 +00:00
Willem Jan Palenstijn e6d3bb80b4 SCI: Improve cmdSend slightly. It's still broken, though
svn-id: r45097
2009-10-14 22:41:03 +00:00
Willem Jan Palenstijn 984527a479 SCI: Fix build with VM_DEBUG_SEND enabled
svn-id: r45096
2009-10-14 22:40:43 +00:00
Martin Kiewitz a7e6f50ede SCI: removed speed throttler (cause of kAnimate change)
svn-id: r45094
2009-10-14 21:48:52 +00:00
Martin Kiewitz a7e51b8276 SCI: kAnimate now delays a bit if needed (fixes typing in intro of lsl5, kq6 sierra logo and much more)
svn-id: r45093
2009-10-14 21:45:16 +00:00
Martin Kiewitz bc49c6e63e SCI/newgui: kPalette / setIntensity / reimplemented setPalette optional parameter, fixed memory corruption in setIntensity
svn-id: r45091
2009-10-14 19:39:07 +00:00
Martin Kiewitz 3c5c954154 SCI/newgui: changed kPalette (setIntensity) to behave differently (seems we had it wrong) also changed nonsense clipping
svn-id: r45090
2009-10-14 18:35:15 +00:00
Martin Kiewitz 8e58d5ef80 SCI: kDrawPic now reads out blackout flag for transitions
svn-id: r45089
2009-10-14 18:09:54 +00:00
Filippos Karapetis 20036d3cb4 Fixed the palette in the SEQ decoder again
svn-id: r45088
2009-10-14 18:03:47 +00:00
Filippos Karapetis 1b3a5eaff6 Started rewriting the SEQ decoder to use the new GUI functions
svn-id: r45083
2009-10-14 15:21:53 +00:00
Filippos Karapetis b220471efd Fixed kMoveCursor(). Now the cursor will be moved to the correct spot when pressing tab in dialogs
svn-id: r45078
2009-10-14 13:28:36 +00:00
Martin Kiewitz 5da32b16c2 SCI: kDrawPic - flags is actually uint16
svn-id: r45069
2009-10-14 11:28:50 +00:00
Martin Kiewitz caaac0130a SCI: kDrawControl now also fixes bad rects (fixes jones/vga)
svn-id: r45064
2009-10-14 10:11:03 +00:00
Max Horn 5ea978f63a SCI: Rename some vars (cleaning up what seems to have been caused by a blind global search & replace)
svn-id: r45060
2009-10-14 09:37:22 +00:00
Max Horn 28034ef298 SCI: Fix warning, cleanup
svn-id: r45059
2009-10-14 09:36:39 +00:00
Filippos Karapetis 8570068f58 - Moved cel width and height calculation in the GUI
- Merged the engine states of the old and new GUI

svn-id: r45057
2009-10-14 09:28:58 +00:00
Max Horn 2ae08e8478 SCI: Don't save HunkTable segments
svn-id: r45048
2009-10-13 20:50:59 +00:00
Filippos Karapetis b49d6d950b Moved some old GUI specific code from kgraphics.cpp into gui32.cpp
svn-id: r45047
2009-10-13 20:25:51 +00:00
Martin Kiewitz 8ccafc09a9 SCI/newgui: DrawControl type 10 is actually just a dummy in qfg1ega, we dont need to do anything. I believe some other control is responsible for the percentage box
svn-id: r45044
2009-10-13 19:08:40 +00:00
Max Horn 297542345f SCI: Skip loading HunkTable segments. This fixes a silly bug that can lead to arbitrary numbers of HunkTable segments to be created by repeatedly saving and loading.
svn-id: r45042
2009-10-13 18:54:20 +00:00
Max Horn 296dd54344 SCI: Merge SegManager::alloc_Hunk into SegManager::allocateHunkEntry
svn-id: r45041
2009-10-13 18:53:50 +00:00
Max Horn c77be11ccd SCI: cleanup
svn-id: r45040
2009-10-13 18:53:11 +00:00
Max Horn 8191c04056 SCI: Merge some sfx related global funcs into SfxState.
This allows us to get rid of "static SfxPlayer *s_player".

svn-id: r45038
2009-10-13 18:51:59 +00:00
Martin Kiewitz f5b73061e4 SCI/newgui: K_CONTROL_* renamed to SCI_CONTROLS_TYPE_*
svn-id: r45035
2009-10-13 18:49:10 +00:00
Martin Kiewitz b4a537137b SCI: stub for kDrawControl K_CONTROL_PERCENTAGE
svn-id: r45032
2009-10-13 17:50:27 +00:00
Filippos Karapetis f9c6e77abe Removed some leftover code, fixes KQ5CD
svn-id: r45031
2009-10-13 17:22:52 +00:00
Filippos Karapetis 4e0046dd1f Merged the rest of the cursor code
svn-id: r45029
2009-10-13 17:09:32 +00:00
Martin Kiewitz 7cefc4cc98 SCI/newgui: kSetPort() now also supporting 7 parameters
svn-id: r45027
2009-10-13 16:18:17 +00:00
Filippos Karapetis 0f995c02f3 Fixed a bug in the graphics function detection code, and corrected the location of the static "overlay" selector in SCI0 games. Fixes the demo of lsl3
svn-id: r45010
2009-10-13 09:33:57 +00:00
Filippos Karapetis c713abc6c7 Cleanup
svn-id: r44991
2009-10-12 17:21:23 +00:00
Martin Kiewitz 61ac28abea SCI: kCelHigh / kCelWide got broken with last revision, now fixed
svn-id: r44987
2009-10-12 15:13:15 +00:00
Martin Kiewitz 3599ac0b9b SCI: now allowing calling celWide and celHigh with only 2 parameters (done by eco quest 1 when entering menu)
svn-id: r44986
2009-10-12 13:10:25 +00:00
Martin Kiewitz 03a24ccae0 SCI: kGraph cleanup
svn-id: r44985
2009-10-12 12:42:50 +00:00
Martin Kiewitz f4f17ae516 SCI: kGraph now fixes up coordinates before constructing a rect (invalid rects are given to us by castle of dr. brain right at the 2nd screen when entering left door)
svn-id: r44984
2009-10-12 12:38:58 +00:00
Filippos Karapetis 81a2316bd5 Reverted the Common::String::printf() related commits, as the function works fine now under MSVC
svn-id: r44982
2009-10-12 12:03:06 +00:00
Max Horn ab1f2dac77 SCI: Fix warnings, cleanup
svn-id: r44978
2009-10-12 11:49:32 +00:00
Martin Kiewitz 250402f21b SCI/newgui: kGraph RedrawBox (ReAnimate) is now using class calling (functionality not yet implemented)
svn-id: r44976
2009-10-12 11:36:42 +00:00
Filippos Karapetis e8deac29a5 Fixed a warning message under MSVC... seems like Common::String::printf does not work correctly when used on an empty string
svn-id: r44972
2009-10-12 10:09:25 +00:00