aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
2006-09-10Little bit cleanup.Johannes Schickel
svn-id: r23863
2006-09-10Simplifies PAK file loading a bit.Johannes Schickel
svn-id: r23862
2006-09-09Renamed Resource::fileHandle() to Resource::getFileHandle()Max Horn
svn-id: r23853
2006-09-09Get rid of fsnode hackMax Horn
svn-id: r23852
2006-09-09Ignore mouselock count when switching the cursor graphics, fixing a bug ↵Oystein Eftevaag
salty-horse reported on irc. svn-id: r23849
2006-09-09Fix memory leakMax Horn
svn-id: r23848
2006-09-09Fixed warning.Torbjörn Andersson
svn-id: r23844
2006-09-09Fixed a bug in loadPakFile(), and changed PAKFile constructor so that it ↵Neil Millstone
doesn't load the entire file. svn-id: r23843
2006-09-09Fixed bug #1554904 ("KYRA1: No mouse cursor in latest SVN build"). GI_KYRA1 isTorbjörn Andersson
not a bit flag... svn-id: r23834
2006-09-04More kyra2 intro WIP stuff (WSA playback control sequences implemented, used ↵Oystein Eftevaag
in the library part). One more sequence has also been implemented, but is off by default due to the WSA files being used apparently being decoded incorrectly. svn-id: r23828
2006-08-31Applied my own patch #1549054, after discussing it with LordHoto. This makesTorbjörn Andersson
the intro scrolling use constant time, rather than assuming that the screen can be rendered once every "tick". On my^H^Hslow computers, this makes it a bit less smooth, but that should be ok. It also fixes a tiny glitch right after the scrolling. svn-id: r23811
2006-08-29Init unitialised var.Johannes Schickel
svn-id: r23805
2006-08-28Makes sure FilesystemNode::name isn't used to open a file, use a regular ↵Oystein Eftevaag
filehandle name instead. svn-id: r23800
2006-08-28Removing an extra '!' in a warning message.Johannes Schickel
svn-id: r23799
2006-08-27Adds voice/chats to the intro, and adds debug strings to the function calls.Oystein Eftevaag
svn-id: r23789
2006-08-26Adds some framework for the Kyra2 intro, expands it a little bit and adds ↵Oystein Eftevaag
some static resources (strings, etc). Also adding a modified version of eriktorbjorn's '[1531929] KYRA: Kyra 2 & 3 main menu unification', with added mouse pointer and sundry. svn-id: r23766
2006-08-26Stop doing a screen rewrite on each mouse movement event, just schedule a ↵Oystein Eftevaag
redraw for later instead svn-id: r23764
2006-08-26Catalog the PAK files by base name instead of full path name so we can ↵Oystein Eftevaag
properly unload them. The method may be slightly hackish, but I don't see how else to do it since we apparently support recursive PAK files so the File object can't be instantiated directly using the FilesystemNode. It's this, or add a function to File that gives us just the base name of the file. svn-id: r23762
2006-08-15- adding LPGL headers to adlib sound specific filesJohannes Schickel
- stating about dual license of adlib sound specific files svn-id: r23708
2006-08-08Little Common::String usage 'fix'.Johannes Schickel
svn-id: r23698
2006-08-03Committed my own patch #1533833 (minus one line that was left over from anTorbjörn Andersson
earlier experimental version) after discussing it with LordHoto. This works around a bug in the "Pool of Sorrow" Adlib data which caused the channels to drift more and more out of sync for each time the music looped. The patch forces the channels involved to jump in sync. As with all such workarounds, it may cause regressions. But it shouldn't. svn-id: r23659
2006-08-03Since the XMIDI music no longer automatically loops, there's no need to fade itTorbjörn Andersson
out just as it's reaching its most dramatic point. svn-id: r23657
2006-08-03This is a grossly over-simplified, yet hopefully sufficient for Kyrandia, wayTorbjörn Andersson
of handling XMIDI loops. If anyone feels like doing it properly in midiparser_xmidi.cpp, the Exult project probably has one of the better reference implementations. For now, though, I don't see any real need to, and this change is clearly flagged as a hack. svn-id: r23656
2006-08-01Kyra 2 has two types of XMIDI files: XMI and C55. It seems C55 are for theTorbjörn Andersson
General MIDI instrument set, so use them unless we're in MT-32 mode. This makes the music sound a bit closer (at least to me) to what DOSbox plays. svn-id: r23653
2006-08-01Don't start the Kyra 2 menu music until the first frame has faded up, to betterTorbjörn Andersson
match the original behaviour. svn-id: r23652
2006-08-01Until the native Kyra 2 Adlib music is supported, enable the automagic MIDI-to-Torbjörn Andersson
Adlib converter. svn-id: r23651
2006-08-01Don't set the MIDI volume to 255 at the end of a fade-out. At least on myTorbjörn Andersson
hardware, that causes an annoying spike in the volume. We already reset the volume to 255 at the beginning of a new track anyway, as far as I can tell. svn-id: r23650
2006-07-31Committing patch '[ 1531177 ] Kyra2 mock-up' by eriktorbjorn, with the ↵Oystein Eftevaag
addition of playing the music tracks as well (Only MIDI works for now though) svn-id: r23649
2006-07-31Yet more kyra3 init code.Johannes Schickel
svn-id: r23648
2006-07-31* Added copyright string to all engine pluginsMax Horn
* Modified about dialog to list all available plugins with their resp. copyright * Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too) svn-id: r23645
2006-07-31Const correctnessMax Horn
svn-id: r23644
2006-07-30removing never used buffer.Johannes Schickel
svn-id: r23638
2006-07-30Implements item shape loading for kyra3.Johannes Schickel
svn-id: r23637
2006-07-30It's play(), not open(), that encounters the CMDS tag. At least in the introTorbjörn Andersson
movie, which is the only one we currently play. svn-id: r23626
2006-07-30- fixes bug in fileData (introduced with last commit)Johannes Schickel
- show mouse cursor in Screen::setMouseCursor if it's allready shown - a little bit more kyra3 init stuff svn-id: r23623
2006-07-30- fixes copyright of kyra3.hJohannes Schickel
- implements a bit more init functions for kyra3 - removes hacked mouse cursor - changes Resource::fileData to accept a null pointer for size svn-id: r23622
2006-07-29Added _quitFlag test to Kyra 2 animation and to waitForEvent().Torbjörn Andersson
svn-id: r23617
2006-07-28Little cleanup.Johannes Schickel
svn-id: r23616
2006-07-28Moves the kyra2 code to kyra2.cpp and kyra2.h, renames WSAMovieV3 to ↵Oystein Eftevaag
WSAMovie2 (kyra2 uses the same format), renames a define in kyra3.h for consistency, and adds a case for CMDS in the VQA player to avoid the constant warning (the tag is always present and empty). Credit/blame for the last one goes to Clemmy :). Starting kyra2 will now show the title animation. svn-id: r23614
2006-07-27Oops it should never be renamed to c1_* but to o1_* changing this now.Johannes Schickel
svn-id: r23613
2006-07-27- renaming all opcodes from cmd_* to c1_*Johannes Schickel
- changing ScriptHelper functions so it will be useable for kyra2 and kyra3 too - unbreaking savegames (increasing the VERSION number since the game flags table got resized to be useable for kyra3) svn-id: r23612
2006-07-27- moving KyraEngine_v3 declaration to newly added kyra3.hJohannes Schickel
- implements a little bit init stuff - implements some music handling svn-id: r23610
2006-07-27Workaround for bug #1498221 ("KYRA1: Glitches when meeting Zanthia").Johannes Schickel
svn-id: r23608
2006-07-26Make the midi player threadsafe (this should fix bug #1506583 "KYRA1: Crash ↵Johannes Schickel
on exceeded polyphony"). svn-id: r23605
2006-07-26Fade out the music when using the Kyra 3 menu to exit. (The original does, andTorbjörn Andersson
it might make a useful test case for the fade-out code.) svn-id: r23604
2006-07-26End the Kyra 3 menu screen if _quitFlag is set.Torbjörn Andersson
svn-id: r23603
2006-07-26Removed unnecessary #includeTorbjörn Andersson
svn-id: r23598
2006-07-26Skips scroll down sequence then the user wishes to skip the intro.Johannes Schickel
svn-id: r23596
2006-07-26Nicer quit handling in the intro sequences.Johannes Schickel
svn-id: r23594
2006-07-25Add support for looping the kyra3 main menu.Johannes Schickel
svn-id: r23593