aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
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
2006-04-08Introduced language EN_ANY used for general English game entries. EN_USA andEugene Sandulenko
EN_GRB should be used for games which have both variants. Currently it is MM NES and BASS. All other are switched to EN_ANY. svn-id: r21702
2006-04-08Modified the REGISTER_PLUGIN macro so that it allows (and requires) a ↵Max Horn
trailing semicolon (this helps certain tools to parse our code better) svn-id: r21689
2006-04-08Renamed various *GameSettings to GameSettings (our namespaces are enough to ↵Max Horn
distinguish them) svn-id: r21686
2006-04-04Removed extra exclamation marks in warning() calls as well.Eugene Sandulenko
svn-id: r21608
2006-04-04Since our debug() adds an exclamation mark at the message end, removeEugene Sandulenko
it in several calls to avoid duplication!!11! svn-id: r21607
2006-04-02Don't try to copy str to _talkBuffer if str is pointing to _talkBuffer. ApartTorbjörn Andersson
from being unnecessary, the result of strcpy() on overlapping memory areas is unpredictable. svn-id: r21562
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-29Alphabetical build orderMax Horn
svn-id: r21499
2006-03-28- Commits heaviliy modifed patch #1459951 ("KYRA: Combining MIDI music with ↵Johannes Schickel
Adlib sfx") (created a wrapper class for two different sound drivers instead of adding a new variable to the KyraEngine class and chaning stuff there) - Prevents to play track 0 for non mt-32 midi devices (got ugly sound output with windows midi) svn-id: r21479
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-27Comments out unneeded code in enterNewScene (only used for cd audio version).Johannes Schickel
Fixes bug with stopping pegasus music before the animation finished. svn-id: r21469
2006-03-26Cleaned up update_playRhythmSection(). It's almost possible to understand whatTorbjörn Andersson
it's intended to do now. Renamed _unkOutputByte2 to _vibratoAndAMDepthBits. It's a pretty terrible name, but that's what it is: the two most significant bits of the Adlib BD register. Renamed _rhythmSection to _rhythmSectionBits for consistency: It's the five least significant bits of the Adlib BD register. (The remaining bit is the rhythm on/off bit. I don't think we store that one in any variable.) svn-id: r21463
2006-03-25I believe that the purpose of updateCallback45() is to add a signed value to aTorbjörn Andersson
channel's unsigned tempo. Rewrote the function to make this clearer, and renamed it update_changeChannelTempo(). svn-id: r21448
2006-03-25More renamings:Torbjörn Andersson
unk11 -> durationRandomness updateCallback12() -> update_setupNoteAndDuration() updateCallback26() -> update_setupDuration() updateCallback44() -> update_setDurationRandomness() svn-id: r21447
2006-03-25- Implemented case insensitive file reading. Left old system as a fallbackEugene Sandulenko
in case some engine writer decide to do something unwise - Removed used of ConfMan.getKey("path") in file-related cases, because now File class handles that - Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters weren't translated svn-id: r21443
2006-03-24Fix MSVC warningsAndrew Kurushin
svn-id: r21440
2006-03-21Implemented "sound triggers" so that the music does not stop shortly afterTorbjörn Andersson
entering the castle. I hope this is a fair approximation of how the original worked. Of course, this led to a couple of more renamings: _unk5 -> _soundTrigger updateCallback54() -> update_setSoundTrigger() snd_setUnk5() -> snd_getSoundTrigger() (yes, "get") At the moment, the only known sound triggers are the ones in the castle. If an unknown trigger is set, the debugging messages will be really, really noisy. I don't know if I should consider this a bug or an extremely annoying feature. svn-id: r21396
2006-03-20Implements cmd_shakeScreen.Johannes Schickel
svn-id: r21394
2006-03-20Initialise _haveScrollButtons, since Valgrind complained about it.Torbjörn Andersson
svn-id: r21392
2006-03-19Makes sure Brandon actually dies when he turns to stone in the kyragem roomOystein Eftevaag
svn-id: r21379
2006-03-19Fixes a potential problem in the pathfinder where an array could be accessed ↵Oystein Eftevaag
with a negative value in certain rooms svn-id: r21378
2006-03-19Adds button press animations to the menu, and resets the cursor when the ↵Oystein Eftevaag
Dialog of Death pops up. Also, mouse clicks are now registered on button up instead of button down, as in the original svn-id: r21377
2006-03-18Oops, forgot to change a variable declaration in the last commitOystein Eftevaag
svn-id: r21367
2006-03-18Changed 'amiga' keywords to 'isAmiga' in the resource handling code to avoid ↵Oystein Eftevaag
#define conflicts svn-id: r21366
2006-03-18- started to rework static resource loadingJohannes Schickel
- made some function parameters const (to work with new static res code) svn-id: r21365
2006-03-18Fixes the color of the quitting dialog text after drinking a potionOystein Eftevaag
svn-id: r21358
2006-03-18Extends seq_drinkPotionAnim() so that the color of the flask BrandonOystein Eftevaag
drinks will be correct. Also fixes a bug where an animation (Brandon ringing the bells) would play too quickly. svn-id: r21354