aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
2006-05-17Fixed two off-by-one errors. One would cause the same frame of the Kyra 3 to beTorbjörn Andersson
displayed twice in a row. The other, more serious one, would cause ScummVM to crash when reaching the end of the music. Now the music loops properly. (It does fade down before looping, but that's how it is in the original as well. It's just the way the music is recorded.) svn-id: r22503
2006-05-17Loop the Kyra 3 animation indefinitely.Torbjörn Andersson
svn-id: r22502
2006-05-17Maybe the svn:keywords were already set? Maybe this will fix the file ↵Torbjörn Andersson
headers instead. svn-id: r22501
2006-05-17Fixed crackling in Kyra 3 sound. (At least what little of it ScummVM currentlyTorbjörn Andersson
plays before finishing.) svn-id: r22499
2006-05-17- adds AUD file player (has still some problems with playing)Johannes Schickel
- adds a new sound class SoundDigital (only used for Kyra3) (needs more work though) svn-id: r22497
2006-05-16Set gameflags for kyra3 properly.Eugene Sandulenko
svn-id: r22493
2006-05-16Removes ENABLE_KYRA2 and ENABLE_KYRA3.Johannes Schickel
svn-id: r22492
2006-05-16Oops forgot some define checksJohannes Schickel
svn-id: r22491
2006-05-16- implements kyrandia 3 wsa loaderJohannes Schickel
- fixes initalisation problems - adds setX, setY, setDrawPage to Kyra::Movie instead of directly accessing _x, _y and _drawPage svn-id: r22490
2006-05-12- little cleanupsJohannes Schickel
- adds kyra3 dummies svn-id: r22425
2006-05-10Adds clipping to the workaround in "preserveOrRestoreBackground", so it does ↵Johannes Schickel
not overwrite the interface. svn-id: r22404
2006-05-10Adds workaround for bug # 1477364 ("KYRA1: Water dripping freezes") until a ↵Johannes Schickel
proper solution is found. svn-id: r22403
2006-05-10Enables OSystem::kFeatureAutoComputeDirtyRects until proper dirty rect ↵Johannes Schickel
managment is implemented. svn-id: r22402
2006-05-08Added delay() to delayWithTicks() as well. This function is quite similar toTorbjörn Andersson
some of the custom delay loops in script_v1.cpp. Could it be used there? svn-id: r22394
2006-05-08Replaced a bunch of delay loops with a new delayUntil() function. Now all ofTorbjörn Andersson
them will at least sleep if the remaining delay is at least 10 ms. (Personally, I don't like the idea of busy-waiting even 9 ms, but now that it's in its own function, it becomes much easier if we want to change that behaviour. There are still plenty of custom delay loops left, though.) svn-id: r22393
2006-05-08Added comment about switch case fallthrough. I assume this one is deliberate,Torbjörn Andersson
but they're easy to miss at a casual glance. svn-id: r22392
2006-05-08As LordHoto pointed out, placeItem is already initialised to false, so we onlyTorbjörn Andersson
need to set it to true. svn-id: r22391
2006-05-08Small cleanup. It's not that I mind fallthroughs - as long as they are clearlyTorbjörn Andersson
labelled as being intentional - but to save just one line of code? That hardly seems worth it. svn-id: r22390
2006-05-08Changed abs() to ABS()Torbjörn Andersson
svn-id: r22389
2006-05-08Missed a couple of switch cleanups.Torbjörn Andersson
svn-id: r22385
2006-05-08Cleanup: Use ScummVM indentation style for switch() cases. In some cases, ITorbjörn Andersson
have added or removed "break"s, but not in any way which should change the program's behaviour. I.e. I've added "break" to the final case, and after calling quitGame(), and I've removed "break" after "return". svn-id: r22383
2006-05-07Fixes playing of credits music.Johannes Schickel
svn-id: r22378
2006-05-04Adds (partial) support for italian floppy. (still hardcoded strings are ↵Johannes Schickel
missing) (Bug # 1409244 ("KYRA: GFX problems with ITALIAN floppy")). svn-id: r22333
2006-05-03Fixes typo.Johannes Schickel
svn-id: r22310
2006-05-03- moves detection code to plugin.cpp.Johannes Schickel
- splits game table for kyra1 and kyra2. svn-id: r22309
2006-05-03- modifies loadBitmap not to crash if a image isn't foundJohannes Schickel
- starts to clean up the engine initalisation code svn-id: r22308
2006-05-03Fix for bug # 1480744 ("KYRA1: mouse cursor vanishes").Johannes Schickel
svn-id: r22307
2006-05-01Just add kyra2 to kyra_list if ENABLE_KYRA2 is defined.Johannes Schickel
svn-id: r22256
2006-05-01Makes malcolm walking into the kyragem room after some time. (fixes half of ↵Johannes Schickel
bug #1471893 ("KYRA1: Graphics glitch when Malcolm turns to stone")) svn-id: r22255
2006-05-01Adds archive file list, MD5 for my CD version, and a few function stubs for ↵Oystein Eftevaag
Hand of Fate, to use as a basis for further work svn-id: r22252
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-29* Changed the createEngine() factory function of our plugins to return an ↵Max Horn
error code (the engine is now passed indirectly via a double pointer) * Removed Engine_Empty (obsolete now that engines can return actual error codes) svn-id: r22199
2006-04-27TypoOystein Eftevaag
svn-id: r22190
2006-04-27Move the detector code out of the constructor and into init() to do error ↵Oystein Eftevaag
handling (specifically the GUI error message if no game is found in the specified directory), and cleans up the constructor/destructor a bit to allow a clean exit. svn-id: r22189
2006-04-25- Check if path specified for a game in scummvm.ini really exists and complainEugene Sandulenko
if it does not - Give more understandable feedback to user when SCUMM module can't find a game - Put TODO to kyra engine as their current detection scheme does not let easily tell if game data really present in specified directory svn-id: r22163
2006-04-25Fixes some coordinate initialization in the menus, and makes sure the ↵Oystein Eftevaag
initial savegame is created when kyrandia is started for the first time svn-id: r22153
2006-04-25Adds some code to dynamically resize and readjust the menus if the text ↵Oystein Eftevaag
strings of the current language are too long, to avoid overlaps etc. svn-id: r22148
2006-04-23Uses kyra.dat for GUI strings instead of hardcoding them, which means ↵Oystein Eftevaag
localized strings are now supported for the menus. Note that the size of the menus are not yet calculated to account for the longer strings in some languages svn-id: r22105
2006-04-18Fixes use of textspeed settings if voice+text mode is enabled. (thanks to ↵Johannes Schickel
salty-horse) svn-id: r21999
2006-04-17- Implements copyRegion without transparency checkingJohannes Schickel
- Uses copyRegion without transparency checking to fix credits drawing bugs svn-id: r21989
2006-04-17Simplifies credits.txt loading.Johannes Schickel
svn-id: r21988
2006-04-17Fixes bug #1471895 ("KYRA1: Kyragem goes black at the very end").Johannes Schickel
svn-id: r21987
2006-04-17Rewrote the timing of the Kyra end credits so that it doesn't matter that theTorbjörn Andersson
variables are signed. Otherwise the credits may hang on a slow system. svn-id: r21986
2006-04-17Implements the end credits, and disables fast forwarding in the intro.Oystein Eftevaag
svn-id: r21980
2006-04-16Removed the directory parameter from md5_fileMax Horn
svn-id: r21937
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-04-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-04-12Fixing mismatch between format strings and data on some systemsMax Horn
svn-id: r21827
2006-04-12sizeof(void *) != sizeof(int) for a large number of systems.Jonathan Gray
Fix a lot of debug/error statements that were using %d/%x for the result of pointer arithmetic. As C++ apparently has no format string for ptrdiff_t use %lu/%lx as appropriate. svn-id: r21824
2006-04-09Fix const correctness in Kyra's StaticResource::loadStrings and ↵Max Horn
StaticResource::loadPaletteTable (notice the difference between a pointer pointing to a pointer pointing to const memory, vs. a pointer pointing to a *constant* pointer pointing to const memory) svn-id: r21708