10504 Commits

Author SHA1 Message Date
Filippos Karapetis
39f9894ee5 Added a stub for SetVideoMode(), and fixed some of the palette glitches in the intro of KQ6 thanks to some comments by waltervn. Also, commented out the bounds rect in gfxr_pic_t, as it's currently unused
svn-id: r40808
2009-05-23 13:26:45 +00:00
Filippos Karapetis
91d2fa2d0d Fixed clipping code for texts which do not fit on screen, and added a warning when this happens
svn-id: r40807
2009-05-23 12:08:36 +00:00
Filippos Karapetis
f77dfe9d23 Fixed the incorrect placement of the copyright message in KQ6 on screen
svn-id: r40806
2009-05-23 11:56:27 +00:00
Filippos Karapetis
b4126beea2 The third and fourth parameter in changePortBounds() are x2 and y2, not width and height
svn-id: r40805
2009-05-23 10:50:24 +00:00
Filippos Karapetis
2590511c7d Turned some errors into warnings, as they occur in KQ5CD
svn-id: r40804
2009-05-23 10:22:27 +00:00
Filippos Karapetis
3811df7aca Fixed the incorrectly placed views in the KQ6 intro, by reintroducing port bounds in the graphics resource manager and removing two relevant hacks
svn-id: r40803
2009-05-23 10:07:01 +00:00
Walter van Niftrik
248f415fac SCI: Added partial support for SCI1.1 adlib music
svn-id: r40800
2009-05-23 01:41:09 +00:00
Johannes Schickel
82b9cf9575 Cleanup.
svn-id: r40799
2009-05-23 01:15:20 +00:00
Johannes Schickel
c87f3199f8 Reserve opcode array entries beforehand, should save some reallocation and copying.
svn-id: r40798
2009-05-23 00:05:16 +00:00
Johannes Schickel
9e000c662b Better safe than sorry, add an explicit default constructor for Button.
svn-id: r40797
2009-05-22 23:22:13 +00:00
Johannes Schickel
37b823531c Yet another fix for MSVC (it seems it initializes all pointers in debug mode to 0xCCCCCCCC instead of 0).
svn-id: r40796
2009-05-22 23:16:53 +00:00
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