Lars Persson
44d48ed594
GCC 2.9x fix for Symbian OS, for accessing class within Common namespace
...
svn-id: r22807
2006-05-31 19:55:29 +00:00
Torbjörn Andersson
2ce9edd7f7
Fixed subtitles Y coordinate in characterSays(). I have no way of confirming
...
this, but it seems obvious to me that it's trying to subtract the character's
scaled height, and this is how that's calculated elsewhere as far as I can see.
svn-id: r22769
2006-05-30 12:13:34 +00:00
Oystein Eftevaag
5d562eb3c5
Committed patch [ 1496602 ] KYRA: typo on Kyra2 file list
...
, thanks to Bellut
svn-id: r22729
2006-05-29 01:55:42 +00:00
Torbjörn Andersson
bc5b877aa9
Got rid of _selectedMenuItem to make LordHoto happier.
...
svn-id: r22725
2006-05-28 16:29:31 +00:00
Torbjörn Andersson
e4989b37b7
Mock-up version of the Kyra 3 main menu. Just enough to be able to select the
...
intro cutscene.
svn-id: r22724
2006-05-28 16:22:12 +00:00
Johannes Schickel
28114e3007
Sets a blank palette at startup.
...
svn-id: r22719
2006-05-28 12:33:41 +00:00
Johannes Schickel
d28d6fe4fb
cleanup
...
svn-id: r22717
2006-05-28 12:23:49 +00:00
Johannes Schickel
1750be5b5a
- makes Screen::getPagePtr private
...
- introduces Screen::getCPagePtr and Screen::getPageRect (which should ease the introduction of dirty rect handling)
- moves KyraEngine::loadBitmap to Screen
svn-id: r22716
2006-05-28 12:19:45 +00:00
Oystein Eftevaag
a442af2703
Another couple of fixes for the spanish floppy version (menu strings specifically)
...
svn-id: r22714
2006-05-28 12:10:11 +00:00
Johannes Schickel
a822d8e6e0
adds GF_ITALIAN to the list of language flags.
...
svn-id: r22713
2006-05-28 11:55:42 +00:00
Johannes Schickel
a02f239659
cleanup
...
svn-id: r22712
2006-05-28 11:53:20 +00:00
Johannes Schickel
1d969e8acd
removes some tabs.
...
svn-id: r22710
2006-05-28 11:48:14 +00:00
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