Filippos Karapetis
660ae052c8
Fixed a bug in detectHires(), so that it actually works
...
svn-id: r49978
2010-06-18 00:36:20 +00:00
Filippos Karapetis
39e77edbb7
Process kAddAfter with 4 parameters (Torin's Passage)
...
svn-id: r49976
2010-06-18 00:05:41 +00:00
Filippos Karapetis
6946167f34
Strict mode: error out on unhandled subops, to note if they actually exist and where they're used
...
svn-id: r49975
2010-06-17 23:53:30 +00:00
Filippos Karapetis
c9c9a21a08
Renamed error -> errorNum to avoid name clashes with error()
...
svn-id: r49974
2010-06-17 23:52:17 +00:00
Filippos Karapetis
db70d66e4a
Strict mode: Changed several warnings due to logic bugs into errors. If an error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning
...
svn-id: r49973
2010-06-17 23:50:28 +00:00
Filippos Karapetis
9c1ec81d76
Strict mode: Turned several severe errors (almost all detection related) into errors, instead of warnings
...
svn-id: r49972
2010-06-17 23:45:38 +00:00
Lars Skovlund
f977faaf9f
SCI: Fix a few errors in PlayVMD comment.
...
svn-id: r49971
2010-06-17 23:44:01 +00:00
Filippos Karapetis
50c3a087e3
Reduced header dependency
...
svn-id: r49970
2010-06-17 23:20:39 +00:00
Max Horn
b474a72d18
SCI: Remove incorrect gameid check
...
svn-id: r49969
2010-06-17 23:14:57 +00:00
Max Horn
359be0c066
SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
...
svn-id: r49968
2010-06-17 23:14:34 +00:00
Max Horn
78cd1aa145
SCI: Remove hack related to compiled kernel signatures.
...
Also change some things to comply to our code formatting conventions.
svn-id: r49967
2010-06-17 23:13:54 +00:00
Max Horn
cfcbdf8656
SCI: Remove selector_name function, some cleanup
...
svn-id: r49966
2010-06-17 23:13:30 +00:00
Max Horn
337711d321
SCI: Get rid of duplicate _system member in SciEngine
...
svn-id: r49965
2010-06-17 23:12:59 +00:00
Max Horn
69fb703246
SCI: cleanup scancode rows code
...
svn-id: r49964
2010-06-17 23:12:38 +00:00
Max Horn
2556ea192c
SCI: Turn _modifierStates into member of class EventManager
...
svn-id: r49963
2010-06-17 23:12:17 +00:00
Max Horn
06997c0da6
SCI: Update FIXME in SegmentManager
...
* Turn one FIXME into a simple comment
* Rewrap comment to 80 columns
* Turn several warnings into errors
svn-id: r49962
2010-06-17 23:11:56 +00:00
Max Horn
fabba55e6d
SCI: cleanup
...
svn-id: r49961
2010-06-17 23:11:34 +00:00
Max Horn
a2bcf9ac31
SCI: Rename sciEvent to SciEvent
...
svn-id: r49960
2010-06-17 23:11:12 +00:00
Max Horn
8e07a1e167
SCI: Moved the event code a little bit around.
...
* Move sleep() from EventManager to SciEngine
* Rename EventManager methods: get -> getSciEvent, and
getFromScummVM -> getScummVMEvent
* Make scancode_rows static const
* Turn altify & numlockify from EventManager methods into static
functions (and comment out the currently unused numlockify)
svn-id: r49959
2010-06-17 23:10:37 +00:00
Lars Skovlund
37434d86ae
SCI: PlayVMD(1): Hmmm. Don't print gammaBoost etc if they aren't used
...
svn-id: r49953
2010-06-17 22:08:07 +00:00
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
Travis Howell
45b23601e7
Add detection of original directory structure for Touche.
...
svn-id: r49929
2010-06-17 13:42:02 +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
Filippos Karapetis
cf86b44793
M4/MADS: Some slight tweaks to the animation message chunks
...
svn-id: r49927
2010-06-17 12:13:27 +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
Torbjörn Andersson
f10b1a23f8
Fixed a few cppcheck errors.
...
svn-id: r49919
2010-06-17 05:40:48 +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