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
Johannes Schickel
16066fa3e7
Fixed memory leaks.
...
svn-id: r31437
2008-04-06 15:35:30 +00:00
Johannes Schickel
6552193ceb
Fixed mouse input handling when entering savefile description.
...
svn-id: r31436
2008-04-06 15:31:57 +00:00
Johannes Schickel
abf7914b81
Fixed walkspeed on save loading.
...
svn-id: r31435
2008-04-06 15:29:09 +00:00
Filippos Karapetis
9c59043664
Silenced MSVC warning
...
svn-id: r31434
2008-04-06 15:23:18 +00:00
Johannes Schickel
213ac50740
Oops. that shouldn't have been reverted by last committ.
...
svn-id: r31433
2008-04-06 15:05:12 +00:00
Johannes Schickel
a05b085a21
Fixed potentional crash.
...
svn-id: r31432
2008-04-06 14:58:02 +00:00
Florian Kagerer
22efb801d4
svn-id: r31431
2008-04-06 14:57:01 +00:00
Johannes Schickel
bf5840f587
Fixed crash on startup when running japanese versions of Kyrandia.
...
svn-id: r31428
2008-04-06 14:41:25 +00:00
Johannes Schickel
1c8aa0c807
Set opcode 31 (o2_limitMouseRrange) to o2_dummy for now.
...
Also added a comment about that.
svn-id: r31427
2008-04-06 14:16:27 +00:00
Johannes Schickel
2755727249
Cleanup.
...
svn-id: r31426
2008-04-06 14:13:14 +00:00
Johannes Schickel
22992f4aa5
Implemented opcode 33 o2_loadSoundfile.
...
svn-id: r31425
2008-04-06 14:11:43 +00:00
Johannes Schickel
a2e355d671
Implemented fadeout waiting in KyraEngine_v2::enterNewScene for AdLib.
...
svn-id: r31424
2008-04-06 13:57:28 +00:00
Johannes Schickel
21a66f12ba
- Fixed HACKs in o2_getMusicDriver and o2_getSfxDriver
...
- Implemented missing bits in KyraEngine_v2::enterNewScene for MIDI (AdLib code still missing)
- Added music/sfx type to Sound class
svn-id: r31423
2008-04-06 13:32:41 +00:00
Johannes Schickel
4f71d3814c
Fixed various bugs in GUI_v2::processButtonList.
...
This fixes bugs:
- #1935827 "HoF: Buttons pressed state not available"
- #1935219 "HoF: artefact after loading game"
svn-id: r31422
2008-04-06 13:06:05 +00:00
Max Horn
29f1e6de38
Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
...
svn-id: r31413
2008-04-05 22:29:08 +00:00
Johannes Schickel
bfdca912bc
Fixed regression causing a crash when the user had less than 5 savefiles.
...
svn-id: r31412
2008-04-05 17:33:54 +00:00
Johannes Schickel
c676cf560f
Fixed crash when supplying illegal savefile names.
...
svn-id: r31402
2008-04-05 05:23:46 +00:00
Johannes Schickel
c826716a91
Don't rename quicksave filenames when deleting files.
...
svn-id: r31401
2008-04-05 03:13:26 +00:00
Johannes Schickel
b99d5603cf
- Changed quicksaves to use slots 990-998.
...
- Made slots 990-999 not writeable for savegames via menu.
- Temporary save in HoF now uses slot 999.
svn-id: r31400
2008-04-05 03:03:10 +00:00
Johannes Schickel
066a55ef33
Small fix in processButtonList.
...
svn-id: r31399
2008-04-05 02:50:38 +00:00
Johannes Schickel
dd8676877e
- cleanup
...
- sort savefiles in kyra from newest -> oldest
svn-id: r31397
2008-04-05 02:40:28 +00:00
Johannes Schickel
c1319f8034
Cleanup.
...
svn-id: r31396
2008-04-05 02:24:43 +00:00
Johannes Schickel
7020627572
- Implemented delete savegame menu
...
- Reverted hack introduced with last commit
svn-id: r31395
2008-04-05 02:22:11 +00:00
Johannes Schickel
25364dc618
Added simple hack to work around drawing of scroll button after loading game in HoF.
...
svn-id: r31394
2008-04-05 01:55:44 +00:00
Johannes Schickel
be27c94247
Fixed crash when opening menu after starting kyra1 with -x/--save-slot.
...
svn-id: r31393
2008-04-05 01:53:45 +00:00
Johannes Schickel
eac671de99
Implemented proper savefile listing, this fixes bug #1479872 "KYRA1: a small menu issue".
...
svn-id: r31392
2008-04-05 01:49:28 +00:00
Johannes Schickel
b890b33a31
Remove temporary savefile after it was loaded.
...
svn-id: r31390
2008-04-04 18:41:30 +00:00
Johannes Schickel
35a422f00e
Disable buttons properly for non CD version.
...
svn-id: r31388
2008-04-04 18:26:37 +00:00
Johannes Schickel
24439e7056
Made sliders working.
...
svn-id: r31387
2008-04-04 18:14:10 +00:00
Johannes Schickel
cd47709a2a
Disabled some more options settings for non talkie versions.
...
svn-id: r31386
2008-04-04 18:11:44 +00:00
Johannes Schickel
82c2f1203e
Cleaned up volume settings managment.
...
svn-id: r31385
2008-04-04 18:09:19 +00:00
Johannes Schickel
272fa6d578
Implemented audio menu, slider bars not moveable via mouse yet though.
...
svn-id: r31384
2008-04-04 18:02:50 +00:00
Johannes Schickel
214d6b5eb7
Little less waste of memory.
...
svn-id: r31383
2008-04-04 15:55:18 +00:00
Filippos Karapetis
f83e93e6d8
Also hooked the death menu quit button to the game quit code implemented in rev #31376
...
svn-id: r31382
2008-04-04 13:28:53 +00:00
Johannes Schickel
05e2b66967
Fixed nameclash.
...
svn-id: r31379
2008-04-04 09:16:25 +00:00
Johannes Schickel
0aecc4fb03
Implemented game options menu.
...
svn-id: r31378
2008-04-04 08:13:35 +00:00
Johannes Schickel
84af9cae9d
Added support for quit game button.
...
svn-id: r31376
2008-04-04 06:45:39 +00:00
Johannes Schickel
3dc6f9000d
Added partial support for main menu. Only load, save and resume buttons are working currently
...
svn-id: r31375
2008-04-04 06:24:49 +00:00
Florian Kagerer
834badfc95
cleanup
...
svn-id: r31374
2008-04-04 01:43:20 +00:00
Florian Kagerer
f3b42e3f90
This fixes the menus for fm-towns and floppy versions (only load and death menu atm).
...
svn-id: r31373
2008-04-04 01:12:35 +00:00
Johannes Schickel
10233af59f
Cleanup.
...
-This line, and those below, will be ignored--
M kyra/resource.cpp
svn-id: r31370
2008-04-03 21:42:04 +00:00
Johannes Schickel
057fb0e9ab
Replaced unloadAllPakFiles with a simple _map.clear on resource class destruction. (Should save a little file i/o need on shutdown)
...
svn-id: r31369
2008-04-03 21:25:05 +00:00
Johannes Schickel
acb4bda9df
- Added support for filename length > 64 in static resource code.
...
- Updated warning when 'INDEX' is not found
- Added filesize check for 'INDEX' file
svn-id: r31368
2008-04-03 19:56:45 +00:00
Johannes Schickel
4fa0740a27
Implemented death menu. This also fixes bug #1926892 "HoF: Odd behaviour when Zanthia gets killed(?)".
...
svn-id: r31360
2008-04-02 03:16:34 +00:00
Johannes Schickel
887f7dfb28
Fixed warnings with gcc 3.3.
...
svn-id: r31359
2008-04-02 02:46:50 +00:00
Johannes Schickel
3b81a73e52
Fixed bug in GUI code, should hopefully fix white boxes appearing around inventory.
...
svn-id: r31355
2008-04-01 18:35:14 +00:00
Johannes Schickel
7744a3b053
Fixed spellbook graphics in German CD version.
...
svn-id: r31354
2008-04-01 18:23:54 +00:00
Johannes Schickel
bd85909ff9
Don't enter run loop when quit flag is set.
...
svn-id: r31337
2008-03-30 18:41:55 +00:00
Johannes Schickel
54d2e7128e
Implement quit flag handling in Kyra2 GUI code.
...
svn-id: r31336
2008-03-30 18:41:11 +00:00
Johannes Schickel
4a9891c006
Fixed bug which caused sometimes garbage text to be displayed.
...
svn-id: r31335
2008-03-30 18:37:27 +00:00
Johannes Schickel
a9d256108d
Cleanup.
...
svn-id: r31332
2008-03-30 18:31:30 +00:00
Johannes Schickel
f4e6109b33
- fixed savegame description loading in kyra1
...
- added Kyra2 load menu, currently just accessable from startup menu though
svn-id: r31331
2008-03-30 18:27:46 +00:00
Johannes Schickel
dc813c1c20
Cleanup.
...
svn-id: r31319
2008-03-30 03:21:01 +00:00
Johannes Schickel
b7a3dfd9df
Always clip rect to copy in Screen::copyRegion now, like the original does.
...
This fixes bug #1537373 "KYRA1: Crash when meeting Zanthia".
svn-id: r31318
2008-03-30 03:18:16 +00:00
Florian Kagerer
91e30d8e50
- get rid of const_cast
...
svn-id: r31317
2008-03-30 02:43:22 +00:00
Johannes Schickel
a957b45d5c
Cleanup.
...
svn-id: r31313
2008-03-30 01:35:12 +00:00
Johannes Schickel
b3f858af2b
Renamed some functions according to our coding guidelines.
...
svn-id: r31310
2008-03-30 01:01:12 +00:00
Johannes Schickel
30c513eb2d
- fixed formatting
...
- fixed const correctness (needed a const_cast though :-/)
svn-id: r31309
2008-03-30 00:55:16 +00:00
Florian Kagerer
25b9a8a1cb
New drawShape code for Kyra 1 and 2. Scaled sprites no longer appear mutilated. This also fixes bug #1582675 (KYRA1: Brandon standing IN the floor).
...
This still needs some testing (for both Kyra 1 and Kyra 2).
svn-id: r31306
2008-03-29 23:16:44 +00:00
Johannes Schickel
7605a9a517
Changed HoF GUI code to use common GUI code now.
...
svn-id: r31295
2008-03-28 16:15:00 +00:00
Johannes Schickel
4ac08aa32a
- fixed svn properties
...
- reenabled kyra1 layout calculation
svn-id: r31294
2008-03-28 15:29:39 +00:00
Johannes Schickel
b910d8d9bb
Refactored Kyrandia GUI code a bit.
...
svn-id: r31290
2008-03-28 09:00:30 +00:00
Max Horn
7f81de6794
cleanup
...
svn-id: r31289
2008-03-28 08:30:42 +00:00
Johannes Schickel
f2e53b9d22
Oops that shouldn't be committed yet.
...
svn-id: r31288
2008-03-28 06:06:11 +00:00
Johannes Schickel
e29b4bb0cd
Committed shared pointer implementation of patch #1895703 "COMMON: Managed List".
...
Unlike the patch on the tracker this commit includes documentation for SharedPtr.
svn-id: r31287
2008-03-28 06:03:59 +00:00
Johannes Schickel
dc1a7004e9
Fixed showing of cauldron animations processing while the inventory is not shown.
...
svn-id: r31286
2008-03-28 01:44:49 +00:00
Johannes Schickel
f7d14259c9
Implemented command text fadeout.
...
svn-id: r31285
2008-03-28 01:28:02 +00:00
Johannes Schickel
5fd6af3071
Finished o2_delay implementation.
...
svn-id: r31284
2008-03-28 01:10:58 +00:00
Johannes Schickel
615a40d19c
Oops fixed wrong o2_delaySecs.
...
svn-id: r31283
2008-03-28 01:07:16 +00:00
Johannes Schickel
c5929561ba
- Clear input queue after loading game via hotkeys.
...
- Fixed bug which caused the need for clicking twice to change pages in spellbook.
svn-id: r31282
2008-03-28 01:03:54 +00:00
Johannes Schickel
b033c5f605
Implemented savegame loading via command line params -x/--save-slot.
...
svn-id: r31281
2008-03-28 00:53:54 +00:00
Johannes Schickel
a1ec44cef2
Properly set sfx flag when playing digital SFX.
...
svn-id: r31280
2008-03-28 00:16:47 +00:00
Johannes Schickel
98f9a47619
Implemented opcodes:
...
- 38: o2_countItemsInScene
- 57: o2_setTimerDelay
- 84: o2_getSceneExitToFacing
- 137: o2_removeItemFromScene
svn-id: r31279
2008-03-28 00:13:43 +00:00
Florian Kagerer
221e6bb84f
- some accuracy changes for KyraEngine_v2::snd_playSoundEffect()
...
- fix one more skip flag bug in the sequence player
- fix SoundTowns_v2::voicePlay()
svn-id: r31278
2008-03-28 00:07:40 +00:00
Johannes Schickel
72484b204b
- Implemented opcodes:
...
-> 51: o2_getElapsedSecs
-> 52: o2_getTimerDelay
- Added warnings to o2_delaySecs and o2_delay for unimplemented subfunctions
svn-id: r31277
2008-03-27 23:53:49 +00:00
Johannes Schickel
bf26f82cbb
Implemented opcode 74: o2_setSceneAnimPos2.
...
svn-id: r31276
2008-03-27 23:46:30 +00:00
Johannes Schickel
7a683ae436
Implemented opcodes:
...
- 164: o2_getSfxDriver
- 165: o2_getVocSupport
- 166: o2_getMusicDriver
svn-id: r31275
2008-03-27 23:12:45 +00:00
Johannes Schickel
42ff616533
Oops added missing return, should fix crashed on trying to load non-existant savegames.
...
svn-id: r31274
2008-03-27 22:34:17 +00:00
Florian Kagerer
c8ddd54039
fix for bug 1922560 (HoF: wheels entrance gfx wrong)
...
svn-id: r31273
2008-03-27 22:07:57 +00:00
Johannes Schickel
70dfc2baf7
Made some more former kyra1 specific debug commands available for HoF.
...
svn-id: r31272
2008-03-27 22:05:13 +00:00
Johannes Schickel
c5526604c0
Removed much code duplication in Hand of Fate savefile loading with SeekableSubReadStreamEndian.
...
svn-id: r31271
2008-03-27 20:54:59 +00:00
Johannes Schickel
639c4597cd
Readded warning when loading HoF saves from original interpreter.
...
svn-id: r31269
2008-03-27 20:24:41 +00:00
Johannes Schickel
3bea667a10
- Implemented support for --list-saves in Kyra engine
...
- Added support for variable length savegame name field
- Changed savegame identifier
- Increased savegame file version
svn-id: r31268
2008-03-27 18:03:00 +00:00
Johannes Schickel
165c937e20
Enabled gamespeed debug command also for Kyra1.
...
svn-id: r31267
2008-03-27 16:12:48 +00:00
Johannes Schickel
3e98286af9
Fixed palette loading debug command for amiga version.
...
svn-id: r31266
2008-03-27 15:32:20 +00:00
Johannes Schickel
4d4fbc9e97
Added debugger command to set screen palette.
...
svn-id: r31265
2008-03-27 15:27:31 +00:00
Johannes Schickel
9eb279e1b6
Update hack comment in o2_updateSceneAnim.
...
svn-id: r31263
2008-03-27 14:55:52 +00:00
Johannes Schickel
57b80a79ab
Fix for bug #1926838 "HoF: Animation plays too fast".
...
svn-id: r31262
2008-03-27 14:51:33 +00:00
Florian Kagerer
c4f15a7076
this should fix item #1926532 (HoF: ScummVM quits on ESCaping "Virgin" and "Westwood" logo)
...
svn-id: r31259
2008-03-26 23:42:47 +00:00
Johannes Schickel
a2053c0815
Prevents adding of events to input queue, which will not be processed anyway.
...
svn-id: r31258
2008-03-26 23:21:44 +00:00
Torbjörn Andersson
762398376f
Fixed GCC warning. It warns about "if (a = b)" unless you put an extra set of
...
parentheses around the assignment.
svn-id: r31255
2008-03-26 21:58:56 +00:00
Johannes Schickel
bf71af3c91
Fixed typo.
...
svn-id: r31254
2008-03-26 21:56:20 +00:00
Johannes Schickel
db1b4f0e14
- reworked skip flag handling in some places again
...
- hopefully fixed tons of warnings related to stackPosString
svn-id: r31253
2008-03-26 21:52:28 +00:00
Johannes Schickel
f919b26875
- fixed multiple voices playing at once (see bug #1926547 "HoF: Right mouse button messes up gameplay").
...
- fixed crash while uninitializing AdLib driver
svn-id: r31252
2008-03-26 21:39:44 +00:00
Johannes Schickel
e962640411
Set delay time for the hack in o2_updateSceneAnim to the value Raziel^ suggests.
...
svn-id: r31251
2008-03-26 21:28:26 +00:00
Johannes Schickel
c9b9398561
Possible fix for part 1 of bug #1926547 "HoF: Right mouse button messes up gameplay".
...
svn-id: r31250
2008-03-26 21:24:22 +00:00
Johannes Schickel
7c33605761
Added support for HoF savefile from the original interpreter.
...
svn-id: r31249
2008-03-26 21:17:07 +00:00
Johannes Schickel
4b0bdc7a08
Extended savegame type checks.
...
svn-id: r31246
2008-03-26 20:28:31 +00:00
Johannes Schickel
c2df92a9b5
Added a simple hack which adds delay between animation frames of some scene animations, this prevents some animations from running too fast. See for example bug #1923638 "HoF: Marco missing animation frames".
...
svn-id: r31245
2008-03-26 19:58:33 +00:00
Johannes Schickel
afed582280
Fix bug #1923638 "HoF: Marco missing animation frames".
...
svn-id: r31243
2008-03-26 16:11:47 +00:00
Florian Kagerer
1bb41bf225
fixed skip flag reset for sequence player
...
svn-id: r31232
2008-03-24 23:01:51 +00:00
Florian Kagerer
6dafd78b56
improved skip flag handling for intro and outro (see tracker item #1922556 )
...
svn-id: r31231
2008-03-24 14:21:06 +00:00
Johannes Schickel
00033ff747
Respect text/voice settings in Kyrandia 1 Intro/Outro.
...
svn-id: r31228
2008-03-23 20:55:42 +00:00
Johannes Schickel
46376d38a9
- fixed bug in Sound::voiceIsPlaying
...
- fixed speech animation duration in Kyra1
svn-id: r31221
2008-03-22 14:29:30 +00:00
Johannes Schickel
df78d4d484
Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".
...
svn-id: r31220
2008-03-22 12:43:23 +00:00
Johannes Schickel
07bb52b78e
Fix for bug #1922521 "HoF: mountaineer sprite vanishes".
...
svn-id: r31217
2008-03-22 00:33:05 +00:00
Johannes Schickel
7c57c127ea
Oops removing debug output.
...
svn-id: r31216
2008-03-21 23:57:05 +00:00
Johannes Schickel
5107404089
- improved timer information output in debugger
...
- fixed timer data loading
svn-id: r31215
2008-03-21 23:54:47 +00:00
Johannes Schickel
2a4aa9c379
Removed some unneeded waiting for voice to finish.
...
svn-id: r31212
2008-03-21 17:09:45 +00:00
Johannes Schickel
dea50612cb
- disabled some old warnings
...
- removed waiting for voice to finish in o1_restoreCustomPrintBackground
svn-id: r31211
2008-03-21 16:54:08 +00:00
Johannes Schickel
b615eb177b
Cleanup.
...
svn-id: r31210
2008-03-21 16:21:27 +00:00
Johannes Schickel
a169619526
- Implemented opcode 97: o2_isAnySoundPlaying
...
- reworked sound channel handling in HoF
=> fixed some voice related bugs
svn-id: r31209
2008-03-21 16:18:27 +00:00
Johannes Schickel
88069c943a
Proper fix for bug #1920869 "HoF: palette artifacts in inventory".
...
svn-id: r31208
2008-03-21 12:51:03 +00:00
Florian Kagerer
2f7b59d3e2
- fix skip flags for non-playable demo
...
svn-id: r31207
2008-03-20 20:36:36 +00:00
Johannes Schickel
cb22a83034
- made Screen_v2::applyOverlay support dirty rect handling
...
- fixed copyRegion flags in KyraEngine_v2::scrollInventoryWheel
svn-id: r31206
2008-03-20 12:29:35 +00:00
Travis Howell
91a33d4d63
Add HoF CD demo.
...
svn-id: r31205
2008-03-20 12:10:30 +00:00
Johannes Schickel
558625ff45
Fixed bug #1920869 "HoF: palette artifacts in inventory".
...
svn-id: r31204
2008-03-20 12:07:06 +00:00
Torbjörn Andersson
4669f2a659
Fixed compilation.
...
svn-id: r31203
2008-03-20 11:58:18 +00:00
Johannes Schickel
e69532bff2
Fixed loading of 'filedata.fdt' in HoF demo from Malcolm's Revenge CD.
...
svn-id: r31202
2008-03-20 11:55:52 +00:00
Johannes Schickel
e70790c610
Enabled some cursor related commented out code.
...
svn-id: r31201
2008-03-20 11:42:02 +00:00
Johannes Schickel
01a24e5a6f
Supply correct flags to copyRegion when displaying spellbook pages.
...
svn-id: r31200
2008-03-20 11:37:10 +00:00
Johannes Schickel
cc3b30d1cd
Possible fix for graphics glitches when showing letters.
...
svn-id: r31199
2008-03-20 11:32:06 +00:00
Johannes Schickel
6d1cf23322
Made sure mouse is visible after savegame loading.
...
svn-id: r31198
2008-03-20 10:27:39 +00:00
Johannes Schickel
93a10bd0bd
Fixed cauldron/spellbook graphics on savegame load.
...
svn-id: r31197
2008-03-20 10:11:57 +00:00
Johannes Schickel
24fe9e42d7
- fixed numerous graphics glitches
...
-> fixed bug in o2_stopSceneAnimation
-> fixed bug in KyraEngine_v2::freeSceneAnims
svn-id: r31196
2008-03-19 17:13:31 +00:00
Johannes Schickel
48dc290b6c
Bugfix for dropping items off scene.
...
svn-id: r31189
2008-03-18 19:32:00 +00:00
Torbjörn Andersson
12bfc644f4
Fixed some warnings, so that I too may bask in the glory of Kyrandia 2.
...
svn-id: r31188
2008-03-18 19:31:38 +00:00
Johannes Schickel
f1b11fdff9
- started to add debugC calls to methods
...
- implemented some missing bits in itemDropDown
svn-id: r31187
2008-03-18 19:27:21 +00:00
Johannes Schickel
cbc4c789da
Implemented showing of credits after completing game.
...
svn-id: r31186
2008-03-18 19:06:53 +00:00
Johannes Schickel
80a73d4ae6
Renamed opcode 95 to o2_showItemString.
...
svn-id: r31185
2008-03-18 18:20:13 +00:00
Johannes Schickel
9dc4bcb407
- Impelemented opcodes:
...
-> 95: o2_showPickUpString
-> 107: o2_waitForConfirmationClick
-> 161: o2_getRainbowRoomData
-> 162: o2_drawSceneShapeEx
- Did I mention that HoF is completable now?
svn-id: r31184
2008-03-18 18:07:05 +00:00
Johannes Schickel
83390027c2
- Implemented opcodes:
...
-> 12: o2_setCharacterFacing
-> 14: o2_moveCharacter
-> 61: o2_loadZShapes
-> 83: o2_setPathfinderFlag
-> 90: o2_setSceneAnimPos
-> 160: o2_updateTwoSceneAnims
- Implemented dino riding sequence
- Fixed bug in KyraEngine_v2::initSceneScreen which caused some gfx glitches
svn-id: r31183
2008-03-18 17:00:26 +00:00
Johannes Schickel
2af4fc1034
- Implemented opcodes:
...
-> 21: o2_backUpScreen
-> 22: o2_restoreScreen
-> 28: o2_addItemToInventory
-> 50: o2_wipeDownMouseItem
-> 67: o2_loadPalette384
-> 68: o2_setPalette384
-> 165: o2_disableTimer
-> 166: o2_enableTimer
-> 167: o2_setTimerCountdown
- renamed some timer functions
svn-id: r31182
2008-03-18 15:50:43 +00:00
Johannes Schickel
8e98e35b56
Fixed bug in o2_setupSceneAnimation. (should fix some lockups)
...
svn-id: r31181
2008-03-18 14:27:22 +00:00
Johannes Schickel
d4daa244d8
Fixed bug, which caused displaying wrong string to be shown then combining items in HoF.
...
svn-id: r31180
2008-03-18 13:51:16 +00:00
Johannes Schickel
4c880c77a4
Fixed pathfinder post processing in HoF, this should smooth walk paths a lot.
...
svn-id: r31179
2008-03-18 13:29:12 +00:00
Johannes Schickel
caf1cc60de
Completed implementation of KyraEngine_v2::inputSceneChange.
...
svn-id: r31178
2008-03-18 13:01:33 +00:00
Johannes Schickel
b03c23ce57
Fixed input bug causing Zanthia not to move sometimes.
...
svn-id: r31177
2008-03-18 12:55:41 +00:00
Johannes Schickel
5df3a2e130
Fixed bug preventing movement.
...
svn-id: r31172
2008-03-18 00:04:34 +00:00
Florian Kagerer
68a603139d
-missed animator_v2.cpp in last commit
...
svn-id: r31171
2008-03-17 23:45:33 +00:00
Florian Kagerer
760b44da10
- implement opcode 29: o2_drawShape
...
svn-id: r31170
2008-03-17 23:32:26 +00:00
Johannes Schickel
a917a88504
Oops forgot to enable some code.
...
svn-id: r31169
2008-03-17 23:29:25 +00:00
Johannes Schickel
845d65d8b7
Implemented opcode 98: o2_setDeathHandlerFlag
...
svn-id: r31168
2008-03-17 23:27:33 +00:00
Johannes Schickel
1042c6dccf
Implemented opcodes:
...
- 70: o2_backUpInventoryGfx
- 71: o2_disableSceneAnim
- 72: o2_enableSceneAnim
- 73: o2_restoreInventoryGfx
svn-id: r31167
2008-03-17 23:01:50 +00:00
Johannes Schickel
8752939fe4
Implemented opcodes:
...
- 91: o2_blockInRegion
- 92: o2_blockOutRegion
svn-id: r31166
2008-03-17 22:42:12 +00:00
Johannes Schickel
f6f61a5bc3
- Fixed opcode 115 (fixed dragon scene)
...
- renamed opcode 155 to o2_addToSceneAnimPosAndUpdate
svn-id: r31165
2008-03-17 22:32:30 +00:00
Johannes Schickel
0a0576d060
Fix kyra save file naming scheme.
...
svn-id: r31164
2008-03-17 21:56:37 +00:00
Florian Kagerer
d71523ae15
remove unnecessary code duplication
...
svn-id: r31163
2008-03-17 21:15:24 +00:00
Johannes Schickel
136040b869
Cleanup.
...
svn-id: r31162
2008-03-17 20:36:58 +00:00
Johannes Schickel
fc47cbe629
Probably fixing string issues in menu.
...
svn-id: r31161
2008-03-17 20:34:46 +00:00
Johannes Schickel
97c0909349
Remove unsued variables.
...
svn-id: r31160
2008-03-17 20:30:09 +00:00
Johannes Schickel
80b0fd190d
Removed some unneeded and bug causing code.
...
svn-id: r31159
2008-03-17 20:19:47 +00:00
Johannes Schickel
431181cffc
Fix typo.
...
svn-id: r31158
2008-03-17 20:06:50 +00:00
Torbjörn Andersson
b01e550183
Removed unused variable.
...
svn-id: r31157
2008-03-17 18:44:29 +00:00
Johannes Schickel
6ebfeb5a05
Also allow '.' and Escape as keys for skipping sequences in HoF.
...
svn-id: r31156
2008-03-17 18:19:01 +00:00
Johannes Schickel
c7ede8337e
Let Kyra1 and Kyra2 use a common savegame version number. (cleanup)
...
svn-id: r31155
2008-03-17 18:13:28 +00:00
Johannes Schickel
91a800cf02
Implemented quick (via hotkeys) save/load suppot for HoF.
...
svn-id: r31154
2008-03-17 18:10:52 +00:00
Johannes Schickel
4e88124361
Fixed KyraEngine_v2::initSceneScreen
...
svn-id: r31153
2008-03-17 12:43:09 +00:00
Florian Kagerer
b9339221e4
- implement debugger commands: gamespeed and pass_codes
...
- implement opcode 151: meanWhileScene()
- fix dragon flight scene: this is still totally messed up, but at least the screen doesn't stay blank any more
svn-id: r31152
2008-03-17 01:34:24 +00:00
Florian Kagerer
eceee73424
- fix demo
...
svn-id: r31151
2008-03-17 00:40:00 +00:00
Johannes Schickel
6c672d92f0
Changed Kyra2 script debug printfs to be consistent with Kyra1 ones.
...
svn-id: r31150
2008-03-16 18:42:29 +00:00
Johannes Schickel
18fa238cd3
- implemented skip flag handling in wsa related opcodes
...
- implemented skip flag handling in o2_isVoicePlaying
- fixed skip flag handling when making the cauldron appear.
svn-id: r31149
2008-03-16 18:24:45 +00:00
Florian Kagerer
6444a3c3d8
fix typo
...
svn-id: r31148
2008-03-16 17:43:41 +00:00
Florian Kagerer
04a2ac1485
- implement zanthIdleChat()
...
- bug fix for zanthRandomChat()
svn-id: r31147
2008-03-16 17:16:17 +00:00
Johannes Schickel
79cc924d0e
Implemented opcode 16: o2_soundFadeOut
...
svn-id: r31146
2008-03-16 15:35:12 +00:00