Commit Graph
86814 Commits
Author SHA1 Message Date
Johannes Schickel 344caa88fc Make various Sound functionality SoundHandle instead of filename based.
- This fixes multiple sounds being played at once in Lands of Lore

svn-id: r40848
2009-05-24 01:29:09 +00:00
Florian Kagerer c281214027 LOL: fix valgrind warning
svn-id: r40847
2009-05-24 00:53:22 +00:00
Johannes Schickel bef88f3b61 Remove leftover (already commented out) code.
svn-id: r40845
2009-05-24 00:15:34 +00:00
Johannes Schickel ad4549f28d - Reorder supported codecs list
- Add changes for upcoming audio compression changes (file extensions changed to standard ones)

svn-id: r40843
2009-05-24 00:11:28 +00:00
Johannes Schickel 8989e140c7 Cleanup.
svn-id: r40842
2009-05-24 00:07:23 +00:00
Johannes Schickel b28279accc Cleanup.
svn-id: r40841
2009-05-23 23:58:40 +00:00
Johannes Schickel dfb6ca6bae Add support for "getTotalPlayTime" in LinearMemoryStream again.
svn-id: r40840
2009-05-23 23:49:47 +00:00
Florian Kagerer 5a4b3c5441 KYRA/LOL: restructured voice playing code so that audio compression can be supported
svn-id: r40839
2009-05-23 23:33:31 +00:00
Willem Jan Palenstijn a19c23ab7a SCI: add (unused) palette revisioning support
svn-id: r40838
2009-05-23 22:21:42 +00:00
Sven Hesse be6fd784b4 Allow for different MOD signatures
svn-id: r40827
2009-05-23 20:38:08 +00:00
Eugene Sandulenko 5878acfc0e Adjust tools make rules for new website code
svn-id: r40820
2009-05-23 20:25:09 +00:00
Eugene Sandulenko 434af6e42d Adjust credits.pl for new website code.
svn-id: r40819
2009-05-23 20:21:17 +00:00
Filippos Karapetis 8dd601d35e Moved the "dump" and "dissectscript" commands to console.cpp and renamed them to "hexdump" and "dissect_script" respectively
svn-id: r40818
2009-05-23 19:59:42 +00:00
Filippos Karapetis fc0fab937a Oops, fixed silly typo
svn-id: r40816
2009-05-23 18:57:47 +00:00
Filippos Karapetis 6a7aae788d Some more WIP code for kDoAudio(), taken from Greg's SCI engine. Sound and speech in KQ5CD should be working now
svn-id: r40815
2009-05-23 18:55:56 +00:00
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