Johannes Schickel
6552881322
This could fix detecting unknown non-english versions which contain a MAIN_ENG.CPS and a language specific image.
...
svn-id: r22709
2006-05-28 11:46:22 +00:00
Johannes Schickel
727f66de39
Commits Chriliths patch for fixing Kyra on PalmOS.
...
svn-id: r22708
2006-05-28 11:43:04 +00:00
Johannes Schickel
073f859de9
Fixes bug # 1494945 ("KYRA1: Actor disappearing in an animation").
...
svn-id: r22707
2006-05-28 11:33:17 +00:00
Torbjörn Andersson
b17f0e8b6d
The Kyra settings are now stored in the config file instead of the savegames.
...
The settings in older savegames are ignored.
svn-id: r22705
2006-05-28 09:21:32 +00:00
Oystein Eftevaag
dbaf5206ae
Added speechEnabled() and textEnabled() to simplify the text/speech config checks a bit, and added checks some more places
...
svn-id: r22703
2006-05-28 06:07:54 +00:00
Oystein Eftevaag
3a1dec3ad1
Added checks for sound/text config in Brandons responses to using the amulet
...
svn-id: r22699
2006-05-28 05:09:09 +00:00
Oystein Eftevaag
8161aa8adb
Adding a safety check before the stopHandle call().. May or may not be necessary.
...
svn-id: r22698
2006-05-28 04:53:22 +00:00
Oystein Eftevaag
77910d4163
Fix for [ 1472007 ] KYRA1: Bypassing cutscenes with ESC doesn't stop speech
...
svn-id: r22697
2006-05-28 04:46:34 +00:00
Oystein Eftevaag
9a7f92d558
Kyra.dat wasn't being loaded for the kyra1 demo (which is needed). Fixed.
...
svn-id: r22696
2006-05-28 04:08:25 +00:00
Oystein Eftevaag
76d722d941
Fixes bug [ 1480746 ] KYRA1: menu triggers assertion, and sets the text/speech config options correctly for CD versions
...
svn-id: r22693
2006-05-28 02:51:03 +00:00
Torbjörn Andersson
813e3d1aac
Maintain the same screen update frequency while waiting for speech to finish.
...
This should take care of half of bug #1494934 . The other half was fixed in the
SDL backend earlier.
svn-id: r22683
2006-05-27 13:33:27 +00:00
Torbjörn Andersson
c1c5080fcd
Draw the selected menu item (currently always the first one) highlighted, i.e.
...
white instead of yellow.
svn-id: r22676
2006-05-27 11:59:40 +00:00
Torbjörn Andersson
da7140c3cf
This produces the correct character spacing for the main menu.
...
svn-id: r22664
2006-05-26 16:02:37 +00:00
Torbjörn Andersson
fba9e15916
We don't have a mouse cursor yet, but this is probably the point where it
...
should be shown.
svn-id: r22663
2006-05-26 15:55:42 +00:00
Torbjörn Andersson
5bbdde5479
Removed hack to flush mouse events. No longer needed, apparently.
...
svn-id: r22662
2006-05-26 15:44:46 +00:00
Johannes Schickel
f548f97666
Fixes input handling while moving.
...
svn-id: r22661
2006-05-26 14:21:53 +00:00
Johannes Schickel
3485102a7e
- redraw inventory before entering a room
...
- some cleanup
svn-id: r22660
2006-05-26 14:16:42 +00:00
Torbjörn Andersson
8062eb6ec3
Set and show/hide mouse cursors through a "cursor manager" (analogous to the
...
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.
If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?
svn-id: r22639
2006-05-25 22:51:42 +00:00
Torbjörn Andersson
2353454adf
Fade down the palette and the music in playVQA(). (We can't fade down the
...
palette before that, I think, because then we don't have any good palette to
make a backup copy of.)
svn-id: r22625
2006-05-25 11:10:49 +00:00
Torbjörn Andersson
1162a759c0
Added support for fading digital music in or out.
...
svn-id: r22624
2006-05-25 09:53:51 +00:00
Johannes Schickel
197b1f4e88
Some more _quitFlag checks, makes quitting while end sequence faster.
...
svn-id: r22623
2006-05-25 08:07:20 +00:00
Johannes Schickel
259e06a69b
- Adds some _quitFlag checks
...
- deletes Screen::drawPixel
svn-id: r22622
2006-05-25 08:02:17 +00:00
Johannes Schickel
a052d89f8b
Fixes bead movement speed in end scene.
...
svn-id: r22621
2006-05-25 07:53:58 +00:00
Johannes Schickel
8d954b7ae5
Fixes bug # 1471893 ("KYRA1: Graphics glitch when Malcolm turns to stone").
...
svn-id: r22612
2006-05-24 14:34:38 +00:00
Johannes Schickel
f2641ce081
Removes debug printf.
...
svn-id: r22610
2006-05-24 14:18:45 +00:00
Torbjörn Andersson
3a025038da
Check _quitFlag during the first parts of the Kyra 3 main menu animation.
...
svn-id: r22587
2006-05-23 20:10:01 +00:00
Torbjörn Andersson
dafc2c8ceb
Fix for saving the palette before playing a VQA movie. (Suggested by LordHoto.)
...
svn-id: r22586
2006-05-23 20:05:38 +00:00
Torbjörn Andersson
7090f051a0
Fix debug messages.
...
svn-id: r22570
2006-05-22 07:52:10 +00:00
Torbjörn Andersson
c40a8b48a1
Cleanup.
...
svn-id: r22569
2006-05-22 07:27:20 +00:00
Torbjörn Andersson
57efbacb9a
Palette handling simplification, suggested by LordHoto.
...
svn-id: r22567
2006-05-21 20:41:53 +00:00
Torbjörn Andersson
a1f5bddaa8
If possible, sync the frame to getSoundElapsedTime().
...
svn-id: r22566
2006-05-21 20:25:22 +00:00
Torbjörn Andersson
71ba5c0f58
Grotesque hack to support the jung2.vqa movie. Either the VQA is less well
...
understood than I hoped, or the offset to the first frame of the movie is
completely out to lunch. Scan the file for the first VQFR chunk and use that
offset instead.
svn-id: r22565
2006-05-21 20:08:14 +00:00
Torbjörn Andersson
bda33949e4
The unsupported cutscene is called "jung", not "junk". (It just happens to look
...
like junk at the moment.)
svn-id: r22564
2006-05-21 19:08:10 +00:00
Torbjörn Andersson
b98a67d1eb
More VQA fixes:
...
* Use setScreenPalette() rather than calling the backend directly. (As an extra
bonus, the VQA player now only needs to store 3 bytes per colour.)
* Hide the mouse cursor while the movie is playing.
svn-id: r22563
2006-05-21 19:03:27 +00:00
Torbjörn Andersson
9fad465cf6
At LordHoto's request...
...
* The VQA move player isn't as similar to the WSA movie player as we first
envisioned, so the VQA player no longer inherits from Movie. It does retain
a fairly similar calling interface, though.
* Use the Kyra engine's idea of screen dimensions, rather than the backend's.
svn-id: r22561
2006-05-21 18:16:34 +00:00
Torbjörn Andersson
b2d8f804cd
Some minor VQA player fixes:
...
* The playVQA() function now takes the name of the cutscene, rather than the
filename. This is so that playVQA("FOO") will be able to play FOO0.VQA,
FOO1.VQA or FOO2.VQA, depending on which movie size is selected.
* The VQA player centers movies by default, so don't set the position to 0,0.
* Ask the backend for screen dimensions (for centering the movie) rather than
hard-coding them.
svn-id: r22560
2006-05-21 17:28:03 +00:00
Johannes Schickel
344cc2f475
- allows kyra3 to exit again
...
- implements language selection for kyra3
svn-id: r22559
2006-05-21 16:06:29 +00:00
Johannes Schickel
ef6645c5ba
- reworks quit handling (no _system->quit() anymore)
...
- fixes some deinitalization problems
svn-id: r22558
2006-05-21 15:41:32 +00:00
Johannes Schickel
c47dadeb1f
- adds debugC calls to KyraEngine_v3 functions
...
- finishes KyraEngine_v3::gui_printString
svn-id: r22557
2006-05-21 15:20:12 +00:00
Johannes Schickel
3af8e4ea4a
Implements kyra3 main menu drawing.
...
svn-id: r22556
2006-05-21 15:02:12 +00:00
Johannes Schickel
dce7af1f5c
makes destructor of KyraEngine virtual
...
svn-id: r22547
2006-05-20 15:02:39 +00:00
Torbjörn Andersson
3a028875a1
Using assert(_something->init()) is a bad idea. Assertions can be disabled.
...
svn-id: r22533
2006-05-19 07:34:24 +00:00
Max Horn
909cd8c93a
Added some FIXMEs to the kyra engine
...
svn-id: r22531
2006-05-19 07:20:27 +00:00
Max Horn
d113bf3a08
Fix warning
...
svn-id: r22530
2006-05-19 07:12:38 +00:00
Johannes Schickel
570b9e2c9d
- load fonts for kyra3
...
- adds screen dim tables for kyra3
- adds palette / screen backup for the vqa player
- small changes in the vqa player to use the Kyra::Screen functions
- adds (partially implemented/unimplemented) main menu drawing/handling functions (nothing to see yet)
svn-id: r22528
2006-05-18 22:46:34 +00:00
Torbjörn Andersson
2531fd5873
Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. It
...
could use some cleanup, and there are a couple of TODOs sprinkled throughout
the code, but it seems to work reasonably well. Until the Kyra 3 main menu is
implemented, it won't actually be used though.
It uses the appendable audio stream class, which I have moved out of the SCUMM
engine.
svn-id: r22526
2006-05-18 21:46:07 +00:00
Johannes Schickel
c65d45146c
fixes kyra2 gameflag init
...
svn-id: r22514
2006-05-18 11:36:29 +00:00
Torbjörn Andersson
b9206a3e98
Removed leftover printf()
...
svn-id: r22513
2006-05-18 11:35:08 +00:00
Torbjörn Andersson
a3fc0682f4
Cleanup.
...
svn-id: r22512
2006-05-18 11:32:59 +00:00
Torbjörn Andersson
65091f7370
Added (optional) looping to the digital sound class.
...
svn-id: r22504
2006-05-17 21:14:19 +00:00