13186 Commits

Author SHA1 Message Date
Nicola Mettifogo
8c17b257ea Fixed regression bug #2874229. Regression had happened in r39878, when the dialogue code was refactored.
svn-id: r45053
2009-10-14 06:12:16 +00:00
Martin Kiewitz
724e7a873a SCI/newgui: class SciGuiTransitions created
svn-id: r45051
2009-10-13 21:18:47 +00:00
Max Horn
429c9eb814 SCI: Don't end warning() format strings with a newline or a period (a newline and an exclamation mark are automatically added)
svn-id: r45049
2009-10-13 20:52:05 +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
Florian Kagerer
73fa80d940 LOL/PC-98: fixed outro
svn-id: r45046
2009-10-13 19:48:41 +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
8126f81b6f SCI: Doxygenify comments in class SfxPlayer
svn-id: r45039
2009-10-13 18:52:36 +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
Filippos Karapetis
0b396ed37c Removed the now unused code in gfx/res_cursor.cpp
svn-id: r45034
2009-10-13 17:57:03 +00:00
Filippos Karapetis
b50d197f72 Removed some leftover cursor code
svn-id: r45033
2009-10-13 17:51: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
Martin Kiewitz
535873ba46 SCI/newgui: canBeHere fixed, walk-anywhere in sq3 is not possible anymore
svn-id: r45030
2009-10-13 17:17:40 +00:00
Filippos Karapetis
4e0046dd1f Merged the rest of the cursor code
svn-id: r45029
2009-10-13 17:09:32 +00:00
Filippos Karapetis
5aa1415397 Merged the cursor manipulation code - cursor views are still not done
svn-id: r45028
2009-10-13 16:22:07 +00:00
Martin Kiewitz
7cefc4cc98 SCI/newgui: kSetPort() now also supporting 7 parameters
svn-id: r45027
2009-10-13 16:18:17 +00:00
Martin Kiewitz
65ed9eac4e SCI/newgui: SciGuiAnimate header included into gui_gfx
svn-id: r45026
2009-10-13 15:57:40 +00:00
Martin Kiewitz
cc66387cc4 SCI/newgui: uncommented enum in SciGuiAnimate header
svn-id: r45025
2009-10-13 15:50:27 +00:00
Martin Kiewitz
da4a8bbca2 SCI/newgui: removed left over stuff from SciGuiGfx header
svn-id: r45024
2009-10-13 15:48:43 +00:00
Martin Kiewitz
5ca933bb76 SCI/newgui: implemented resetEngineState() in SciGuiAnimate
svn-id: r45023
2009-10-13 15:47:05 +00:00
Martin Kiewitz
4ccfb76e3c SCI/newgui: added new file to module.mk
svn-id: r45020
2009-10-13 15:29:24 +00:00
Martin Kiewitz
050f362654 SCI/newgui: SciGuiAnimate class created
svn-id: r45019
2009-10-13 15:28:27 +00:00
Arnaud Boutonné
dcf44e1bd8 gob detection
- Add preliminary Gobliiins 1 CD-i detection.cpp
- DOS CD is 2.01, not 1.02

svn-id: r45014
2009-10-13 14:26:42 +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
Martin Kiewitz
1731acc320 SCI/newgui: floodfill / remove screenMasks that are already filled with the right value (otherwise we could get into an endless loop)
svn-id: r45006
2009-10-13 08:09:17 +00:00
Martin Kiewitz
3f914e67a0 SCI/newgui: finally changed floodfill to behave the same way as sierra sci. Fixes sq3 priority map
svn-id: r45005
2009-10-13 08:03:09 +00:00
Martin Kiewitz
19cacbdb3c SCI/newgui: SciGuiScreen putPixel etc. needs to use _width and _height instead of _displayWidth and _displayHeight
svn-id: r45004
2009-10-13 07:17:30 +00:00
Martin Kiewitz
aea23b4714 SCI/newgui: fix floodfill for qfg1ega pictures
svn-id: r45003
2009-10-13 06:52:31 +00:00
Robert Špalek
baec8c2421 Set all sound/subtitle-related parameters from ConfMan.
Made it intelligent so that when, for example, the dubbing file doesn't exist,
we don't fail, but instead always show subtitles even if the GUI settings
says dubbing only, etc.

svn-id: r45002
2009-10-13 05:38:45 +00:00
Robert Špalek
7c311057c1 Dubbing is played.
I haven't implemented switching dubbing and subtitles on/off according to
the config manager nor the speed of the subtitles, yet.

svn-id: r45001
2009-10-13 04:44:22 +00:00
Robert Špalek
e779284403 Sound effects are now correctly played.
Dubbing is not yet played.

svn-id: r45000
2009-10-12 22:27:23 +00:00
Martin Kiewitz
d306e1219e SCI/newgui: priority band initialization - forgot to use priorityBandCount variable
svn-id: r44999
2009-10-12 22:23:27 +00:00
Martin Kiewitz
71686a2e7b SCI/newgui: priority band initialization now working exactly the same way as sierra sci did (fixes at least lsl3)
svn-id: r44998
2009-10-12 22:08:35 +00:00
Torbjörn Andersson
30cb28e7ef Silenced GCC warning.
svn-id: r44997
2009-10-12 20:46:32 +00:00
Martin Kiewitz
1821ea1bd3 SCI/newgui: addToPic (list) replaced priority with z, to fix drawing coordinates of static cels within a picture
svn-id: r44995
2009-10-12 20:27:47 +00:00
Filippos Karapetis
c713abc6c7 Cleanup
svn-id: r44991
2009-10-12 17:21:23 +00:00
Martin Kiewitz
093554749f SCI: commenting out music warnings
svn-id: r44990
2009-10-12 16:00:30 +00:00
Martin Kiewitz
291e479daf SCI/newgui: background of noupdate cels is now correctly saved (was typo) solves sticky cel problem
svn-id: r44989
2009-10-12 15:52:50 +00:00
Filippos Karapetis
cfc3af3466 Minimize dependencies in the new gui
svn-id: r44988
2009-10-12 15:41:19 +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
Willem Jan Palenstijn
0ab28463d6 SCI: re-enable accidentally commented update call
svn-id: r44983
2009-10-12 12:15:27 +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