aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra.cpp
AgeCommit message (Collapse)Author
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-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-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-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-19Makes sure Brandon actually dies when he turns to stone in the kyragem roomOystein Eftevaag
svn-id: r21379
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-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-15On second thought, that comment is probably not necessary.Torbjörn Andersson
svn-id: r21315
2006-03-15Revert previous change. I'm told some backends don't draw the mouse cursorTorbjörn Andersson
automatically, for some reason. svn-id: r21312
2006-03-15The backend handled cursor drawing -- no need to update the screen manually.Torbjörn Andersson
svn-id: r21311
2006-03-14- Deletes wrong spaces in debugC calls in resource.cppJohannes Schickel
- Adds support for amiga .pak files (and a filelist) svn-id: r21299
2006-03-14Fixes wrong sound then showing the death screen.Johannes Schickel
svn-id: r21290
2006-03-13- Fixed regression when moving waitTicks to delay (removes wrongly drawn ↵Johannes Schickel
shapes and wrongly call of the kyragame fading in the outro) - Removes a new line from a warning in seqplayer.cpp svn-id: r21263
2006-03-12Corrects former commit which deleted sound file loading after the scene with ↵Johannes Schickel
malcolm and kallak. Also corrects callback50() which seem to improve the sound a bit in the kallak writing scene. svn-id: r21238
2006-03-12Music in the last two intro scenes plays now again with adlib.Johannes Schickel
Cleaned up the sound code a bit (removed some unneeded functions). svn-id: r21234
2006-03-09Make use of DetectedGame::updateDesc in the kyra & lure enginesMax Horn
svn-id: r21167
2006-03-09- Renamed GameSettings to PlainGameDescriptorMax Horn
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with Common::String members instead of const char * ones) - Changed DetectedGame to subclass GameDescriptor - Removed toGameSettings() in favor of new (template) constructors in DetectedGame and GameDescriptor - Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines svn-id: r21150
2006-03-09- added new toDetectedGame() template function (analog to toGameSettings)Max Horn
- made use of the new DetectedGame constructor from my last commit - some related cleanup svn-id: r21149
2006-03-08Implemented the last menu (the settings screen). Walking speed, text speed,Oystein Eftevaag
and speech modes (text only, speech only, speech & text) can now be configured. Toggling music and sound in general is not enabled yet. Also formatted the static menu resources a bit differently, made sure some vars in the menu code always got initalized, and fixed a slight formatting error :). svn-id: r21145
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-03-07Added the proper death dialog, changed the sequence skipping code a bit to avoidOystein Eftevaag
possible frame losses, and removed a (now) redundant call to showOverlay() in the debugger. svn-id: r21125
2006-03-02Fix for bug #1438822 (Targets are case sensitive)Max Horn
svn-id: r21017
2006-02-27Added WIP Adlib sound playing code to kyra.Johannes Schickel
It needs some checks since it doesn't work correctly in every case at the moment. svn-id: r20960
2006-02-18- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistencyMax Horn
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency - added new Engine_XXX_findGameID / PLUGIN_findGameID function - updated plugins code to take advantage of the new plugin API, to support obsolete gameids w/o showing them to the user svn-id: r20752
2006-02-18- Removed the 'features' field from GameSettingsMax Horn
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
2006-02-17Added global toGameSettings() template function for convenience; simplified ↵Max Horn
GameSettings usage in some engines svn-id: r20739
2006-02-17Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to ↵Max Horn
Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly svn-id: r20738
2006-02-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-14Reworked kyra debug output system. Now he have special kyra intern debug ↵Johannes Schickel
levels + the global debug levels, for now I enable all kyra debug levels if the global debug level is not -1. see 'toggle_debug' in the kyra debugger and kyra.h for the different levels. (This is just the beginning of it anyway, for example the sound debug level isn't used for now) svn-id: r20678
2006-02-13Initializes a var that would sometimes cause the intro to run too fast.Oystein Eftevaag
svn-id: r20663
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582