Commit Graph

6265 Commits

Author SHA1 Message Date
Johannes Schickel
663ae01474 Fixed Zanthia chat script selection.
svn-id: r31582
2008-04-19 22:25:22 +00:00
Johannes Schickel
03caed6ce3 Implemented some kyra opcodes and some chat handling code, now Malcolm should say something after crawling out of the dump.
svn-id: r31581
2008-04-19 22:22:00 +00:00
Johannes Schickel
4f4eb8d771 One more valgrind warning fix.
svn-id: r31580
2008-04-19 17:17:48 +00:00
Johannes Schickel
84b9c58924 Added some comment about palette setting in KyraEngine_v3::playVQA.
svn-id: r31579
2008-04-19 15:37:59 +00:00
Johannes Schickel
82a35bb87b Added fade to black/music fadeout when starting kyra3.
svn-id: r31578
2008-04-19 15:04:59 +00:00
Johannes Schickel
960655eec5 Fixed formatting.
svn-id: r31577
2008-04-19 14:52:35 +00:00
Florian Kagerer
8711a48de3 fix detection for playable Hof demo
svn-id: r31576
2008-04-19 14:48:29 +00:00
Johannes Schickel
ceb46a38cd Changed KyraEngine_v1::setupSceneResource to use Resource::exists instead of Common::File::exists.
svn-id: r31575
2008-04-19 14:44:06 +00:00
Johannes Schickel
a922069eae Ops isInPakList behavior was still not quite correct. Fixed bug with embedded pak files.
svn-id: r31574
2008-04-19 14:40:37 +00:00
Johannes Schickel
1d6af7b502 Fixed Resource::isInPakList behavior.
svn-id: r31573
2008-04-19 14:36:26 +00:00
Johannes Schickel
7e12a50bed - some minor renaming in TIM code
- added exists function to Resource
- started to add checks via exists to assure that important files are present

svn-id: r31572
2008-04-19 14:31:10 +00:00
Johannes Schickel
49cf8237f0 Renamed function for consistency.
svn-id: r31571
2008-04-19 14:00:14 +00:00
Johannes Schickel
a79c91b7d0 Added some asserts to prevent out of bounds access.
svn-id: r31570
2008-04-19 13:58:32 +00:00
Johannes Schickel
bf46b5f178 - reworked tim handling
- moved tim interpreter to new class TIMInterpreter

svn-id: r31569
2008-04-19 13:52:09 +00:00
Paul Gilbert
76b1f4bcea Added a debugger command 'script' to allow execution of script engine methods
svn-id: r31568
2008-04-19 00:34:02 +00:00
Johannes Schickel
5b742734ab Oops...
svn-id: r31567
2008-04-18 22:24:39 +00:00
Johannes Schickel
0824721746 Cleanup.
svn-id: r31566
2008-04-18 22:23:31 +00:00
Johannes Schickel
2fe0988d27 Fixed mismatching operator delete.
svn-id: r31565
2008-04-18 21:44:55 +00:00
Johannes Schickel
07ef82c26a Fixed some valgrind warnings.
svn-id: r31564
2008-04-18 21:41:55 +00:00
Torbjörn Andersson
0dac6c8f85 Fixed a Valgrind warning. I hope this is what the function was intended to do.
svn-id: r31563
2008-04-18 19:33:06 +00:00
Florian Kagerer
1d086550a7 - complete support for the playable HOF demo
svn-id: r31560
2008-04-18 19:11:58 +00:00
Johannes Schickel
ba90659705 Some kyra1 menu tweaking, now all languages should use the same clean layout instead of variable width button system (widths even changed at runtime, which looked rather strange).
svn-id: r31559
2008-04-18 15:58:49 +00:00
Johannes Schickel
7d6a349afa Fixed displaying text speed settings in CD version.
svn-id: r31558
2008-04-18 15:05:46 +00:00
Travis Howell
6e804cee42 Always correct time events duration, when saving games.
svn-id: r31557
2008-04-18 01:59:54 +00:00
Travis Howell
84ec2374ab Update a few debug messages.
svn-id: r31556
2008-04-17 23:57:31 +00:00
Johannes Schickel
4b7e5aeaf7 Little fix in drawShape.
svn-id: r31555
2008-04-17 22:50:15 +00:00
Johannes Schickel
7666531dac Fixed setShapePages maxY default value.
svn-id: r31554
2008-04-17 22:07:17 +00:00
Kari Salminen
14918b05d1 Tiny cleanup: Fix a parameter name discrepancy between IIgsChannelInfo::noteOn-function's declaration and definition introduced in r31550.
svn-id: r31553
2008-04-17 21:05:20 +00:00
Johannes Schickel
b03ec8ac75 Fixed gcc warnings.
svn-id: r31550
2008-04-17 18:28:28 +00:00
Johannes Schickel
0f15067004 Cleanup.
svn-id: r31549
2008-04-17 18:00:48 +00:00
Johannes Schickel
eb2ffce2fd Implemented volume handling for SFX.
svn-id: r31548
2008-04-17 17:57:16 +00:00
Johannes Schickel
0f34c16c1e Cleanup.
svn-id: r31547
2008-04-17 17:49:18 +00:00
Johannes Schickel
87256747b1 Implemented sfx support for Kyra3.
svn-id: r31546
2008-04-17 17:46:39 +00:00
John Willis
7828d50384 Fix building with GCC (a few extra ;'s got in there somehow).
svn-id: r31545
2008-04-17 17:40:28 +00:00
Kari Salminen
29e2b19c92 Implemented Apple IIGS MIDI playing with software mixing.
(NOTE: As you can hear this is a work in progress ;-))
- Added IIgsSoundMgr class for handling Apple IIGS sounds and moved functionality inside it
- Added IIgsMidiChannel class for handling Apple IIGS MIDI channels
- Made sound effects playing use the IIgsSoundMgr class too
- Modified software mixing routine to mix multiple sounds

svn-id: r31544
2008-04-17 17:18:43 +00:00
Johannes Schickel
75641c405e Fixed gcc warning.
svn-id: r31543
2008-04-17 17:16:52 +00:00
Johannes Schickel
710976824e Fixed Kyra 3 TLK file loading.
svn-id: r31541
2008-04-17 16:55:13 +00:00
Johannes Schickel
6cd8eda9bd Implemented support for Kyra3 TLK files.
svn-id: r31540
2008-04-17 16:38:26 +00:00
Torbjörn Andersson
7ec2b87fb6 Commented out unused variables.
svn-id: r31539
2008-04-17 16:35:16 +00:00
Johannes Schickel
7b56734708 Properly implemented KyraEngine_v3::lineIsPassable.
svn-id: r31538
2008-04-17 15:39:34 +00:00
Johannes Schickel
66328be342 Added partial implementation of updateMouse cursor.
svn-id: r31537
2008-04-17 15:29:10 +00:00
Johannes Schickel
4685cc047d Implemented kyra3 timer code.
svn-id: r31536
2008-04-17 14:26:50 +00:00
Johannes Schickel
a2cdc5e393 - fixed bug in script interpreter code (could've also affected HoF)
- some more Kyra3 code:
  -> start sequence should show up now partially
  -> fixed a scene animation related bug
  -> a few more opcodes

svn-id: r31535
2008-04-17 13:38:44 +00:00
Johannes Schickel
7745100b8d - minor cleanup in script.cpp
- fix for memory leak in Kyra3
- fixed enterNewSceneUnk2

svn-id: r31534
2008-04-17 11:59:20 +00:00
Nicola Mettifogo
d4c8d4e18f Fixed usage of SharedPtr, so that reference counting is proper and there are no more objects that need constructors at global level (helps PalmOS).
svn-id: r31533
2008-04-17 09:32:57 +00:00
Nicola Mettifogo
984e42569e Replaced unpackBlt with a more general version that can also unpack animation in BRA.
svn-id: r31532
2008-04-17 09:31:22 +00:00
Nicola Mettifogo
ff2dfb6a4e Cleanup of background loading for BRA.
svn-id: r31531
2008-04-17 09:30:04 +00:00
Travis Howell
3db5db1127 Enable original load/save system in HE100 games.
svn-id: r31529
2008-04-17 07:01:15 +00:00
Florian Kagerer
607039db01 some more drawShape plot functions now (after Lord Hoto's additions) required for Kyra 1
svn-id: r31528
2008-04-17 06:33:48 +00:00
Travis Howell
84ce12cd1e Fix bug #1932150 - SIMON1: Sousaphone Bug.
svn-id: r31527
2008-04-17 06:33:03 +00:00