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
Travis Howell
45d7a68902
Fix Bug #1555117 - SIMON2: Cannot load Savegame.
...
svn-id: r31526
2008-04-17 04:18:53 +00:00
Torbjörn Andersson
09d468e884
Fixed another warning, so that I can steal some of LordHoto's Kyra 3-related
...
glory and make it my own. ;-)
svn-id: r31525
2008-04-16 23:12:15 +00:00
Johannes Schickel
b2331a01ec
Fixed mask page handling in ScreenEx::copyWsaRect, this time it should be correct...
...
svn-id: r31524
2008-04-16 23:11:46 +00:00
Johannes Schickel
2b87cd1fa9
- Some more mask page handling fixes for Kyra3.
...
- Implemented a few scene animation opcodes
- basic run loop (all the user can do is quit though)
- music related fix
Wee you can see the squirrel animation and listen to the music now!
svn-id: r31523
2008-04-16 23:09:07 +00:00
Torbjörn Andersson
ac25887670
Fixed warning.
...
svn-id: r31522
2008-04-16 22:30:13 +00:00
Johannes Schickel
b2a586acb2
Fixed shape drawing in HoF (regression) and Kyra3.
...
svn-id: r31521
2008-04-16 22:23:09 +00:00
Johannes Schickel
e463ac0367
Fixed Malcolm upside down bug.
...
svn-id: r31520
2008-04-16 21:17:23 +00:00
Johannes Schickel
57e91a6add
Some more kyra3 code.
...
svn-id: r31519
2008-04-16 21:13:52 +00:00
Johannes Schickel
d3fe051274
Some more kyra3 code. This should show the first scene for a brief second. (and it initializes a bit more internal stuff)
...
svn-id: r31518
2008-04-16 20:28:27 +00:00
Florian Kagerer
00dde660e3
fix sjis text color (ship scene)
...
svn-id: r31517
2008-04-16 19:43:56 +00:00
Travis Howell
af4b21a112
Correct time events duration, when saving in Elvira 1.
...
svn-id: r31516
2008-04-16 14:08:01 +00:00
Travis Howell
ee89c3000b
Minor cleanup.
...
svn-id: r31514
2008-04-16 12:24:09 +00:00