aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
2006-10-24Never unload files loat on startup like "CAVE.APK" and "LAGOON.APK". Johannes Schickel
svn-id: r24485
2006-10-24Fix for (reopened) bug #1582149 ("KYRA1: Crash when meeting Malcolm").Johannes Schickel
svn-id: r24480
2006-10-23Fix for bug #1582726 ("KYRA1: Crash when entering Castle screen").Johannes Schickel
svn-id: r24475
2006-10-22Fix for bug #1582149 ("KYRA1: Crash when meeting Malcolm").Johannes Schickel
svn-id: r24462
2006-10-22Some AMIGA resource loading code (of course it's still not supported).Johannes Schickel
svn-id: r24461
2006-10-22Don't output warning about unsupported language more than one time.Johannes Schickel
svn-id: r24459
2006-10-15Added some more const keywordsMax Horn
svn-id: r24330
2006-10-01Fixed msvc8 build.Johannes Schickel
svn-id: r24053
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-09-18Fixes the Macintosh related problems Krest mentioned on the IRC channel.Johannes Schickel
(the user has to set the game platform to Macintosh though, since it's atm detected as DOS version) svn-id: r23929
2006-09-17formattingJohannes Schickel
svn-id: r23923
2006-09-17- removes the kyra specific language flag system, and uses the language enum ↵Johannes Schickel
defined in Common for that now - also reworks the game flag system in general svn-id: r23920
2006-09-17Const correctnessMax Horn
svn-id: r23916
2006-09-16- enables pseudo unloading of loaded pak files (which reduces the loading of ↵Johannes Schickel
pak files on room changes) - uses Common::hashit_lower instead of scumm_stricmp for filename checking svn-id: r23896
2006-09-16Overhaul of the debugger codeMax Horn
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker restrictions) * Change the base Debugger class to *not* be a template class anymore; instead, a thin (template based) wrapper class is used to hook up debugger commands * Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single version of each in GUI::Debugger * New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries the console to determine when to wrap * Debugger::preEnter and postEnter aren't pure virtual anymore svn-id: r23890
2006-09-16Reduce code duplicationMax Horn
svn-id: r23888
2006-09-16Simplifies resource handling for the CD version of Kyrandia.Johannes Schickel
(also less file loading at startup, but more on room change) svn-id: r23887
2006-09-16Replaces all malloc/realloc usages with new.Johannes Schickel
svn-id: r23886
2006-09-16Replaces malloc with new in most cases.Johannes Schickel
svn-id: r23881
2006-09-15- adds dirty rect handling to the kyra engine (needs some more tests before ↵Johannes Schickel
I commit it to branch though) - initializes an uninitiliazied variable which caused crashes from time to time svn-id: r23878
2006-09-10Test _skipFlag a bit more often.Torbjörn Andersson
svn-id: r23867
2006-09-10Clear _skipFlag at beginning of Kyra 2 intro. Otherwise, skipping it once willTorbjörn Andersson
automatically skip it if you try to watch it a second time. (Are there any other flags that need to be cleared as well?) svn-id: r23866
2006-09-10- Some little checks for shape usage.Johannes Schickel
- Less redrawing while loading a savegame. svn-id: r23864
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