31099 Commits

Author SHA1 Message Date
Florian Kagerer
cbce9e1179 LOL: implemented fireball spell
svn-id: r40813
2009-05-23 18:43:04 +00:00
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
Marcus Comstedt
64e75b91b7 Fixed a warning: printf("%f") should take a double, not a float.
svn-id: r40785
2009-05-22 17:15:39 +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
Filippos Karapetis
24242bfb4c Updated the MSVC files of the SCI engine (added the KQ6 SEQ decoder)
svn-id: r40777
2009-05-21 23:27:12 +00:00
Florian Kagerer
5076b06bb6 LOL: - implemented Lightning Spell
svn-id: r40776
2009-05-21 22:29:49 +00:00
Eugene Sandulenko
b874992309 Attempt to bring event recoredr to life. Still crashes on exit, though.
svn-id: r40775
2009-05-21 22:23:04 +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
Filippos Karapetis
dfffea1bf4 Updated the MSVC project files of the gob engine (added helper.h)
svn-id: r40769
2009-05-21 17:28:43 +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
6e93825b2e Move Indeo3 static data from indeo3data.h to indeo3.cpp.
svn-id: r40762
2009-05-21 13:38:52 +00:00
Torbjörn Andersson
2e04f52638 I'm no longer sure I've really seen case 12 happen, so don't mention it.
svn-id: r40761
2009-05-21 13:28:32 +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
Marcus Comstedt
f583a10ec9 Workaround for shells that treat an empty list in for as a syntax error...
svn-id: r40758
2009-05-21 12:46:39 +00:00
Marcus Comstedt
2bf25c3865 Micro-optimization: Don't re-strip plugins which are not modified.
svn-id: r40757
2009-05-21 11:49:47 +00:00
Filippos Karapetis
6bc543d499 Updated the MSVC project files with the latest changes to file structure
svn-id: r40756
2009-05-21 10:52:13 +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