Commit Graph

912 Commits

Author SHA1 Message Date
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
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
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
Torbjörn Andersson
7f9ac5e0b8 Fixed warning.
svn-id: r31507
2008-04-14 21:09:42 +00:00
Johannes Schickel
10fe009db3 Fixed music fade out.
svn-id: r31506
2008-04-14 20:57:24 +00:00
Johannes Schickel
91dafda250 Cleanup.
svn-id: r31505
2008-04-14 20:42:09 +00:00
Johannes Schickel
853b6e28e9 Implemented some kyra3 code.
svn-id: r31503
2008-04-14 20:20:51 +00:00
Torbjörn Andersson
618757a8c0 Fixed warning.
svn-id: r31497
2008-04-13 07:38:33 +00:00
Johannes Schickel
cb3ef94e34 Fixed palette after watching Kyra3 intro.
svn-id: r31496
2008-04-13 00:02:11 +00:00
Johannes Schickel
991a977990 Cleanup.
svn-id: r31495
2008-04-12 23:59:11 +00:00
Florian Kagerer
7d86690b29 fix crash and graphic glitch in non-playable HOF demo
svn-id: r31494
2008-04-12 23:55:26 +00:00
Johannes Schickel
bebb4cefd1 Initialize all screen buffers properly.
svn-id: r31492
2008-04-12 23:40:14 +00:00
Johannes Schickel
d718f5bffe Hopefully fix messed up gfx in first screen of Kyra 1 demo.
svn-id: r31491
2008-04-12 23:35:59 +00:00
Johannes Schickel
c533bfbfd2 Fixed graphics glitch in Kyra3 menu.
svn-id: r31490
2008-04-12 23:29:12 +00:00
Johannes Schickel
d54eaa39a1 Added fade out time parameter for digital sounds.
svn-id: r31489
2008-04-12 23:26:13 +00:00
Johannes Schickel
1f91dc0384 - some refactoring for Kyra3
- removed unneeded map code in KyraEngine_v3

svn-id: r31488
2008-04-12 23:17:21 +00:00
Kari Salminen
d0f46196c2 Silence MSVC8+ warning C4800 about forcing an int value to bool that got turned into error C2220 (Warning treated as error).
svn-id: r31484
2008-04-11 11:05:04 +00:00
Florian Kagerer
829823c9a2 towns music file name fix
svn-id: r31481
2008-04-10 23:31:21 +00:00
Johannes Schickel
a81e9e456d Load all needed package files for kyra3 on startup.
svn-id: r31480
2008-04-10 22:25:38 +00:00
Johannes Schickel
6830ff3449 Small bug fix.
svn-id: r31479
2008-04-10 22:22:35 +00:00
Johannes Schickel
6711a494a2 Improved searchpath support. (Should again detect everything Common::File is able to load).
svn-id: r31478
2008-04-10 22:18:47 +00:00
Johannes Schickel
baf3d98513 - Reverted r31454 changes to detection.cpp
- Added ADGF_CD to all CD versions
- Added ADGF_DROPLANGUAGE to Kyra2/3 CD version
- Changed Kyrandia engine to use agumented target ids

svn-id: r31476
2008-04-10 21:50:41 +00:00
Johannes Schickel
9f16b3f5f5 Fixed regression in Kyra1.
svn-id: r31474
2008-04-10 20:42:56 +00:00
Johannes Schickel
5f3bfc702c - fixed valgrind warning
- reduced midi volume fadeout from 2s to 1s like HoF is doing (Kyra1 should use the same value)

svn-id: r31473
2008-04-10 19:33:06 +00:00
Johannes Schickel
924912b7fb Fixed track unloading for MIDI.
svn-id: r31472
2008-04-10 19:15:14 +00:00
Johannes Schickel
1bdc515880 Lock mutex in playSoundEffect, should help threading safeness of the code.
svn-id: r31469
2008-04-10 19:05:05 +00:00
Johannes Schickel
c13f2a73a3 Small fix related to all notes off event.
svn-id: r31468
2008-04-10 19:02:17 +00:00
Johannes Schickel
d91bc92189 Made KyraEngine::startup just loading soundfile instead of also playing track 0.
svn-id: r31465
2008-04-10 16:18:29 +00:00
Johannes Schickel
b54b9b34b4 - Updated debug output for KyraEngine::snd_playTheme
- cleanup

svn-id: r31464
2008-04-10 15:41:06 +00:00
Johannes Schickel
aac2b7019a - Fixed missing static data for kyra1 demo
- Fixed some warnings in create_kyradat
- Updated kyra.dat for new data for kyra1 demo

svn-id: r31463
2008-04-10 15:05:59 +00:00
Florian Kagerer
3d407b81f8 fix drawShape glitch (Brandon's feet got mutilated and one vertical line was not drawn when leaving the screen to the left or to the right )
svn-id: r31461
2008-04-09 23:38:11 +00:00
Johannes Schickel
7bd2ae65dd Oops removed leftover.
svn-id: r31455
2008-04-08 18:53:22 +00:00
Johannes Schickel
50c3732478 - Set language to Common::UNK_LANG for multilanguage games (kyra2cd and kyra3) in detection code
- Save language changes done in menu in HoF to the config file

svn-id: r31454
2008-04-08 18:52:27 +00:00
Johannes Schickel
9377fc7dc8 Some MIDI related cleanup.
svn-id: r31443
2008-04-07 17:56:04 +00:00
Florian Kagerer
831ab12268 implement missing Screen::drawShapePlotType11_15()
svn-id: r31441
2008-04-06 22:17:02 +00:00
Florian Kagerer
1fc3df7905 fix label for first save slot (towns/floppy)
svn-id: r31440
2008-04-06 19:48:47 +00:00
Johannes Schickel
4b58a431da Implemented support for Towns (and hopefully DOS floppy too) menus.
svn-id: r31438
2008-04-06 16:54:51 +00:00