Commit Graph
6547 Commits
Author SHA1 Message Date
Filippos Karapetis a9b4058ba9 Fixed some game crashes which occurred when ProjectReader::purgeCache() got called:
- MIDI music data is marked to be deleted in o1_STOPMUS now, instead of o1_PLAYMUS. 
- Added a FIXME to Screen::setFont() - purgeCache crashes the game if the active font is deleted

svn-id: r31948
2008-05-08 13:23:02 +00:00
Filippos Karapetis 4f108b76a3 Reverted commit #31774
svn-id: r31947
2008-05-08 13:17:18 +00:00
Filippos Karapetis b4e9433820 Silenced MSVC warnings about uninitialized variables
svn-id: r31946
2008-05-08 12:20:08 +00:00
Johannes Schickel 29c79704fa Fixed warning on 64bit systems introduced with r31940.
svn-id: r31945
2008-05-08 11:24:39 +00:00
Benjamin Haisch b63ae7dee4 Possibly fixed the sound stuttering in the PMV videos and added frame skipping based on the Gob engine's IMD/VMD player.
svn-id: r31944
2008-05-08 11:17:38 +00:00
Torbjörn Andersson 89e0c0b315 Since BASS treats speech separately from other sounds, let's use the
speech_volume setting for that, as suggested on the forum.

svn-id: r31941
2008-05-08 05:05:47 +00:00
Torbjörn Andersson 500237d8ed GCC says these are ints, not long ints. Adjust the format strings accordingly.
svn-id: r31940
2008-05-08 04:48:55 +00:00
Nicola Mettifogo e2e2af4ff5 Reverted commit 31928 by Buddha_, and defined kFlagsAll as 0xFFFFFFFFU in the enum, as suggested by Fingolfin.
svn-id: r31939
2008-05-08 02:46:12 +00:00
Sven Hesse 0c827c8ceb Split off the actual mixing part of SoundBlaster
svn-id: r31938
2008-05-08 01:27:36 +00:00
Sven Hesse 220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Johannes Schickel 627d30d389 Fixed bug when starting new game from load menu.
svn-id: r31935
2008-05-07 22:48:44 +00:00
Johannes Schickel a7320fb4dc Implemented KyraEngine_MR::timerFleaDeath.
svn-id: r31934
2008-05-07 21:12:26 +00:00
Florian Kagerer 37c04c28a8 Fix invalid memory access bug in the library sequence (original static data seems to be bugged here)
svn-id: r31933
2008-05-07 21:04:06 +00:00
Eugene Sandulenko b95db3529e Even more German fixes from Raziel
svn-id: r31932
2008-05-07 17:57:19 +00:00
Benjamin Haisch b6d2cf3553 Implemented vertical/horizontal flipping of sprites.
svn-id: r31931
2008-05-07 17:29:46 +00:00
Benjamin Haisch a7f5150228 - cmd_return now exits the game if it returns from the main function
- Implemented cmd_exit
- PmvPlayer now exits "more gracefully" when the application is closed while playing

svn-id: r31930
2008-05-07 17:28:38 +00:00
Johannes Schickel 311e9165ed Proper delete[] formatting (this time all occurences should've been changed...)
svn-id: r31929
2008-05-07 15:09:10 +00:00
Kari Salminen 2d707af338 A (temporary?) fix for the signed/unsigned issues with enum CommandFlags usage.
svn-id: r31928
2008-05-07 14:49:42 +00:00
Johannes Schickel 600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +00:00
Sven Hesse f65e9a17c3 Changed the two instances of "delete []" into "delete[] " as well
svn-id: r31926
2008-05-07 14:23:50 +00:00
Johannes Schickel 3d9ea59616 Changed kyra to use delete[] instead of delete [].
svn-id: r31925
2008-05-07 14:20:37 +00:00
Nicola Mettifogo 3d3ad58e14 Reverting commit 31920, thus changing type of flags back to unsigned. If some compiler emits a warning about 0xFFFFFFFF not being an unsigned immediate, then we need to find out how to convince it without changing types of variables in the code.
svn-id: r31924
2008-05-07 12:44:22 +00:00
Sven Hesse 6e61b02cb9 Silencing a compiler warning
svn-id: r31923
2008-05-07 12:34:40 +00:00
Filippos Karapetis a3dbf43629 Fixed signed/unsigned issues with kFlagsAll
svn-id: r31920
2008-05-07 08:29:11 +00:00
Benjamin Haisch 8f9cc2e164 Added patch #1956516: MADE: Fix Save File Names by clone2727 (with some modifications)
svn-id: r31919
2008-05-07 08:25:13 +00:00
Filippos Karapetis 46f1e98688 Fixed RTZ 1.0 game flags and updated copyright
svn-id: r31918
2008-05-07 08:19:36 +00:00
Benjamin Haisch 202e4eb410 Added detection for RtZ CD version 1.0 (thanks to spookypeanut)
svn-id: r31917
2008-05-07 07:15:42 +00:00
Sven Hesse 9d5eea2d2c Sound in object videos works now, too
svn-id: r31916
2008-05-07 03:49:53 +00:00
Sven Hesse 5681ae1e82 Draw order related fixes.
This also (finally) fixes the Gob3 draw order glitch (for real, this time)

svn-id: r31915
2008-05-07 02:56:18 +00:00
Sven Hesse 16abd33aea Mouse hotspots are now properly evaluated when the mouse is set to a position via the scripts.
svn-id: r31911
2008-05-06 22:18:12 +00:00
Johannes Schickel 10b73b474f Fixed crash when qutting kyra2 main menu.
svn-id: r31909
2008-05-06 22:05:26 +00:00
Sven Hesse 9be06ad9e8 Fixed text positioning in Woodruff, enabling "Use FOO on BAR" texts.
svn-id: r31908
2008-05-06 21:56:16 +00:00
Johannes Schickel 5abc85bd0e Fixed possible crash in Debugger_v2 when using 'give'.
svn-id: r31907
2008-05-06 20:55:33 +00:00
Johannes Schickel 11f891963b Implemented Engine::getDebugger for KyraEngine.
svn-id: r31906
2008-05-06 20:50:27 +00:00
Johannes Schickel 3e7f66da89 Cleanup.
svn-id: r31905
2008-05-06 17:44:00 +00:00
Johannes Schickel 2ee01bf757 - Fixed valgrind warnings in HoF
- Fixed memory leaks in HoF

svn-id: r31903
2008-05-06 17:30:31 +00:00
Johannes Schickel 2976f961fe - Fixed some memory leaks in kyra3
- Fixed valgrind warnings in GUI_v2 code

svn-id: r31902
2008-05-06 16:57:07 +00:00
Sven Hesse 7595f20e33 Silencing two signess compiler warnings
svn-id: r31897
2008-05-06 15:08:48 +00:00
Benjamin Haisch 9df82055f0 - The Manhole: New and Enhanced is now (partially) playable
- Implemented cmd_objectp
- Changed how the script externals array is set up
- Cleanup

svn-id: r31895
2008-05-06 11:45:23 +00:00
Jordi Vilalta Prat 38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Johannes Schickel 0faf76bfac Removed delay from KyraEngine_MR::npcChatSequence, since it's doing delay script internally. This fixes some chat animation speeds.
svn-id: r31884
2008-05-05 21:57:26 +00:00
Johannes Schickel 874be3cfb4 Implemented opcode 91: o3_daggerWarning.
svn-id: r31882
2008-05-05 18:50:42 +00:00
Johannes Schickel c26e62e288 - Implemented Kyra3 audio options menu, Helium mode still missing.
- Fixed unitialized variable

svn-id: r31881
2008-05-05 17:56:39 +00:00
Johannes Schickel f42d222069 Got rid of some code duplication.
svn-id: r31880
2008-05-05 17:18:11 +00:00
Johannes Schickel 81cfd2a716 Implemented support for Kyra3 game options menu (including studio audience and skip flag options).
svn-id: r31879
2008-05-05 17:12:48 +00:00
Johannes Schickel 0f62fb0a88 - Little mouse visibility fix
- Cleanup

svn-id: r31878
2008-05-05 16:18:54 +00:00
Johannes Schickel 37459e6e75 - Fixed some palette fade times in Kyra3
- Changed behavior to match original when playing Kyra3 for the first time
- Fixed typo

svn-id: r31877
2008-05-05 16:14:45 +00:00
Johannes Schickel 2afff04468 - Added support for Kyra3 GUI (audio and game options not working yet)
- Added support for loading directly from command line for Kyra3

svn-id: r31876
2008-05-05 16:05:56 +00:00
Kari Salminen 4eb9abe99f Fixed unsigned/signed mismatch warning.
svn-id: r31875
2008-05-05 13:11:34 +00:00
Benjamin Haisch 7191b2c515 Added MIDI playback (which doesn't work yet) and fixed compilation (sorry all)
svn-id: r31873
2008-05-05 12:51:50 +00:00