Commit Graph

34491 Commits

Author SHA1 Message Date
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
0305a306ae SCI: added new files to msvc9
svn-id: r45022
2009-10-13 15:43:58 +00:00
Martin Kiewitz
f31974bc77 SCI/newgui: added new file to msvc8
svn-id: r45021
2009-10-13 15:30:37 +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
Jordi Vilalta Prat
099c073605 Update the WinCE bar and the XPM images
svn-id: r45017
2009-10-13 14:50:14 +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
Jordi Vilalta Prat
ff1d2592cc Update some more icons (motomagx, gp2x, gp2xwiz and wince)
svn-id: r45011
2009-10-13 11:12:41 +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
Jordi Vilalta Prat
db5ee08327 Update the Wii icon
svn-id: r45009
2009-10-13 09:29:58 +00:00
Jordi Vilalta Prat
a048e81f81 Updated some icons to the new version (.icns provided by Max Horn)
svn-id: r45007
2009-10-13 08:48:43 +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
Joost Peters
0cc28b5cd7 use new ScummVM logo (with capital S)
svn-id: r44992
2009-10-12 19:30:33 +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
Willem Jan Palenstijn
5ab01ded3d Add unit test for bug fixed by r44979
svn-id: r44980
2009-10-12 11:54:32 +00:00
Willem Jan Palenstijn
833e6f41d5 Fix broken size in Common::String::printf output in MSVC
svn-id: r44979
2009-10-12 11:51:28 +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
Martin Kiewitz
9ae7935a1d SCI/newgui: kDrawControl (icon) now also calls BitsShow()
svn-id: r44975
2009-10-12 10:34:31 +00:00
Martin Kiewitz
50faafc622 SCI/newgui: priority band initialization fix
svn-id: r44974
2009-10-12 10:33:36 +00:00
Filippos Karapetis
2bb8d69380 Got rid of _baseTable and _baseDisplayTable
svn-id: r44973
2009-10-12 10:32:44 +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
Martin Kiewitz
b6be6ae7a9 SCI/newgui: typo fixed in SciGuiPicture
svn-id: r44970
2009-10-12 08:55:33 +00:00
Filippos Karapetis
ebb188c415 Move the line drawing code to SciGuiScreen()
svn-id: r44969
2009-10-12 08:25:38 +00:00
Martin Kiewitz
713f573735 SCI/newgui: implemented kPicNotValid
svn-id: r44968
2009-10-12 07:30:55 +00:00
Martin Kiewitz
e85553b024 SCI/newgui: change in windowMgr, so that removed windows will get restored in any case (ReAnimate currently not implemented yet)
svn-id: r44967
2009-10-12 07:18:38 +00:00
Martin Kiewitz
07222b8e89 SCI/newgui: kGraph updateBox implemented, cleaned up usage of BitsShow() still not perfect (e.g. kq5 cutscene information box)
svn-id: r44966
2009-10-12 07:11:22 +00:00
Robert Špalek
43437eecb8 Dragon looks into the requested direction.
Parsing _lookDir and _useDir, and passing it all the way around to walkHero().

Also, added playHeroAnimation() to reduce code duplication.

svn-id: r44965
2009-10-12 03:08:28 +00:00
Robert Špalek
1a4dcd3c82 Implemented GPL commands JustTalk and JustStay.
The basic commands are done.  It remains to implement handling music (after
we play it at all), fading palette, and controlling the quick-hero and
speed-text flags (after I find out what they do).

Now the dragon switches between talking and staying during dialogs.  However,
the left/right direction doesn't work yet, because we don't respect _lookDir
and _useDir yet.

svn-id: r44964
2009-10-12 01:16:13 +00:00
Robert Špalek
ca35af2697 Fixed funcActPhase()
svn-id: r44963
2009-10-12 00:39:49 +00:00