10593 Commits

Author SHA1 Message Date
Johannes Schickel
02ff3d2909 Fix crash with MSVC.
svn-id: r40795
2009-05-22 23:10:52 +00:00
Johannes Schickel
b82f2ce538 struct Button contains non POD members, thus don't use memset on it.
svn-id: r40794
2009-05-22 23:08:58 +00:00
Johannes Schickel
017bb21945 Change button list handling to closer match original. This fixes a crash when loading via GMM.
svn-id: r40793
2009-05-22 22:43:13 +00:00
Johannes Schickel
89d4bcbf26 Do not define checkInput as virtual.
svn-id: r40792
2009-05-22 22:32:57 +00:00
Johannes Schickel
54a170978a Handle mouse move events like the original.
svn-id: r40791
2009-05-22 22:28:06 +00:00
Filippos Karapetis
ef4947060e Some initial WIP code on kDoAudio (still not working)
svn-id: r40790
2009-05-22 22:19:15 +00:00
Florian Kagerer
32533af8cf LOL: (temporary) fix for button callback assignment. The automatic list capacity increase seems to fail somehow.
svn-id: r40786
2009-05-22 18:14:00 +00:00
Johannes Schickel
cc35c15f39 Add hack so LoL intro demo will init MT-32 properly.
svn-id: r40784
2009-05-22 14:09:51 +00:00
Johannes Schickel
240cef8aa6 Use correct file for MT-32 initialization for Kyra2 SEQ player based Lands of Lore demo.
svn-id: r40783
2009-05-22 13:39:57 +00:00
Johannes Schickel
274bb7b0dd Oops typo.
svn-id: r40782
2009-05-22 01:03:14 +00:00
Johannes Schickel
32c2e93ecc Properly initialize MT-32 for LoL demos.
svn-id: r40781
2009-05-22 00:58:09 +00:00
Johannes Schickel
f7b1aa2a8e Fix crash when playing LoL demo.
svn-id: r40780
2009-05-22 00:37:41 +00:00
Johannes Schickel
230277739c Cleanup.
svn-id: r40779
2009-05-22 00:21:14 +00:00
Johannes Schickel
31b009e027 Fix RTL in Lands of Lore.
svn-id: r40778
2009-05-22 00:19:25 +00:00
Florian Kagerer
5076b06bb6 LOL: - implemented Lightning Spell
svn-id: r40776
2009-05-21 22:29:49 +00:00
Walter van Niftrik
36fe37443d SCI: Added support for KQ6 movies.
svn-id: r40774
2009-05-21 22:03:23 +00:00
Eugene Sandulenko
7ed8d7f573 Proper fix for bug #2537054: "AGI: Using GMM to load causes graphics glitches".
Save/load via GMM is not allowed in certain situations now.

svn-id: r40773
2009-05-21 21:51:50 +00:00
Max Horn
b431254070 SCI: Removed the 'save_dir' gui hack
svn-id: r40772
2009-05-21 21:50:11 +00:00
Max Horn
4c17541276 SCI: got rid of vocabulary_lookup_sname
svn-id: r40771
2009-05-21 21:49:43 +00:00
Johannes Schickel
25980bc29c Changed code to closer match original input handling.
svn-id: r40770
2009-05-21 17:49:51 +00:00
Johannes Schickel
e1b4f63343 Fix some Kyra1 movies.
svn-id: r40768
2009-05-21 17:25:29 +00:00
Filippos Karapetis
4799cbf1c3 Removed the PREG, PSTK, IS_NULL_REG and REG_EQ defines
svn-id: r40767
2009-05-21 17:18:46 +00:00
Johannes Schickel
60b007cfd0 Only process key/mouse press/release events in GUI.
svn-id: r40766
2009-05-21 17:13:41 +00:00
Sven Hesse
10b1b28610 Splitting a few helper functions out of gob.h
svn-id: r40765
2009-05-21 17:12:33 +00:00
Sven Hesse
54d7bfcd8a Ooops: Forgot to check in my changes in the detection array for the demo changes (r40746)
svn-id: r40764
2009-05-21 17:00:25 +00:00
Florian Kagerer
6bd5dea027 LOL: - implemented freeze spell
- fixed saveload code
- added some opcode for the swamp

svn-id: r40763
2009-05-21 16:46:40 +00:00
Johannes Schickel
e51481d69b Remove trailing tabs/whitespaces.
svn-id: r40760
2009-05-21 13:13:09 +00:00
Filippos Karapetis
b7f8990ba8 Renamed the DXA, SMK and FLIC video decoders to reflect the fact that they're decoders, not players
svn-id: r40759
2009-05-21 13:02:56 +00:00
Filippos Karapetis
11251cf296 Moved the Coktel video player into its own subdirectory
svn-id: r40755
2009-05-21 10:48:03 +00:00
Filippos Karapetis
fddd2a2214 Slight cleanup to kGetTime()
svn-id: r40754
2009-05-21 10:34:13 +00:00
Nicola Mettifogo
465da49782 Made BRA demos start again by partially reverting commit 39773. Multiple inventory support must be done somehow differently.
svn-id: r40750
2009-05-21 08:06:15 +00:00
Gregory Montoir
f2668f8a7d simplified sound handling in animation sequences
svn-id: r40747
2009-05-21 01:30:28 +00:00
Sven Hesse
c9ff1d7492 - Changed the demo player to allow playing directly inlined scripts using a new demoIndex field in the detection array
- Changed the Inca 2 demo entry to use a directly included script instead of triggering on "demo.bat"

svn-id: r40746
2009-05-20 23:13:44 +00:00
Eugene Sandulenko
8e4b31f522 Fix bug #1544799: "ALL: Engine creates launcher entry when failing to launch"
svn-id: r40745
2009-05-20 21:00:52 +00:00
Sven Hesse
43f58b2869 Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's VMDs) to graphics/video/
svn-id: r40744
2009-05-20 20:41:10 +00:00
Sven Hesse
bfb29080f1 Remove superfluous indeo3-includes
svn-id: r40743
2009-05-20 20:05:53 +00:00
Max Horn
bba91075bf removed trailing whitespaces
svn-id: r40742
2009-05-20 17:53:31 +00:00
Max Horn
4f55f1e730 SCI: Moved code related to loading/setting up kernel function names from vocab_debug.cpp to engine/kernel.cpp
svn-id: r40741
2009-05-20 17:52:49 +00:00
Max Horn
4c786a44c9 SCI: Changed EngineState::opcodes to a Common::Array (maybe we shold just remove the relevant code completely, though, it seems useless, esp. as long as we hardcode the way we interpret every opcode
svn-id: r40740
2009-05-20 17:52:33 +00:00
Max Horn
7d54385dea SCI: Moved some private decls from kernel.h to kernel.cpp; removed pointless (and incorrect) fallback code in k_Unknown
svn-id: r40739
2009-05-20 17:52:12 +00:00
Max Horn
f5f48fff3a SCI: Moved the few kernel functions that were in kernel.cpp to a new file kmisc.cpp
svn-id: r40738
2009-05-20 17:51:55 +00:00
Filippos Karapetis
6ec870303f - Reverted commit #40730, as it introduced rounding errors
- Properly fixed the FLIC player
- The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method

svn-id: r40736
2009-05-20 10:43:18 +00:00
Torbjörn Andersson
caf9bf0941 Removed the rest of the hard-coded cutscene information. It was only needed to
get the number of frames of a cutscene (to find the "lead out frame"), but this
information is already provided by both the DXA and the SMK players. (It wasn't
provided by the now obsolete MPEG player.)

svn-id: r40735
2009-05-20 04:29:09 +00:00
Torbjörn Andersson
358b1a7c7e Removed the "seamless" flag. It was something I added to cope with the fade
in/out behaviour of the MPEG cutscene player, and no longer seems to be needed.

svn-id: r40734
2009-05-20 04:07:34 +00:00
Eugene Sandulenko
40dd214789 Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"
The engine still crashes when load from GMM occured with a text box on screen.

svn-id: r40733
2009-05-19 21:09:43 +00:00
Walter van Niftrik
a1364e37f7 SCI: Some debugger fixes and cleanup.
svn-id: r40732
2009-05-19 20:40:21 +00:00
Eugene Sandulenko
743650506b Fix regression introduced in r40438. Saves were badly broken.
svn-id: r40731
2009-05-19 20:30:57 +00:00
Filippos Karapetis
e358b13ef9 Changed calculations based on frame delay to be based on the scale of 1ms, not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand
svn-id: r40730
2009-05-19 19:56:53 +00:00
Filippos Karapetis
5d942f9d70 Removed some redundant variables, and renamed some variables with strange names ("foo"?)
svn-id: r40727
2009-05-19 15:59:17 +00:00
Max Horn
65b5d31814 COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
2009-05-19 11:42:14 +00:00