aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
AgeCommit message (Collapse)Author
2011-03-29HUGO: - BSF file is no longer mandatory for H2 and H3 Dos.strangerke
- Replace error by a notifyBox in BSF related functions - Fix cypher (broken in previous commit) - Add checks on distributor in intro
2011-03-25AUDIO: Move more common code to Audio::MidiPlayerMax Horn
This also should fix some regressions from the previous commits, related to MidiParser's either being leaked, or being deleted and then used again (i.e., crashing). I tested as many games as I had available, but further testing of all affected engines is called for anyway.
2011-03-25HUGO: Move MidiDriver creation into MidiPlayer constructorMax Horn
2011-03-24HUGO: Turn FileManager::getBootCypher into a const static variableMax Horn
2011-03-24HUGO: Change MidiPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-24HUGO: When erroring out due to a missing file, tell the user which file is ↵Max Horn
missing
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-23ENGINES: Use Common::StackLock in more placesMax Horn
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-21HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::formatMax Horn
2011-03-21HUGO: Split Utils::Box -> new funcs Utils::yesNoBox and Utils::promptBoxMax Horn
This also fixes a bug in the kBoxPrompt code (it returned a pointer to the content of a temporary string object).
2011-03-19HUGO: Init volume levels on startupdhewg
2011-03-17Hugo: Use EntryDialog in Box()strangerke
2011-03-17HUGO: Fix compilationEugene Sandulenko
2011-03-17HUGO: renamed guard #definesEugene Sandulenko
2011-03-17HUGO: Initial work on user input dialogEugene Sandulenko
2011-03-17HUGO: Renamed menu.* to dialogs.*Eugene Sandulenko
2011-03-08HUGO: Misc savegame modificationsstrangerke
- Add initial savegame on slot 0 - Save viewstate as it may now contain several different values when saving - Fix loading from GMM - Implement ctrl-N
2011-03-07HUGO: Fix registration messages for H1 Dos Freeware version (in intro)strangerke
2011-03-02HUGO: Silence GCC warningMax Horn
2011-03-01HUGO: Correct 2 Memory Leaks in DAT Object Loading.D G Turner
2011-03-01HUGO: Correction for Schedule saveActions() mistake.D G Turner
2011-03-01HUGO: Rewrite saveActions() and readActions() in order to be platform and ↵strangerke
endian safe. This breaks (again) the savegame file formats... Hopefully for the last time
2011-02-28HUGO: cleanup, fix several bad indirections (thanks LordHoto)strangerke
2011-02-28HUGO: Fix assert while saving under linuxstrangerke
2011-02-28HUGO: Remove forgotten debug messagestrangerke
2011-02-28HUGO: rewrite saveEvents() and restoreEvents() in order to be endian and ↵strangerke
platform safe
2011-02-27HUGO: Set all the palette instead of only one color in remapPal.strangerke
This fixes the palette issue after the cave in H3
2011-02-27HUGO: Better fix for graphics glitches in DOS versions, fix H3 ending animationstrangerke
2011-02-26HUGO: Fix graphic glitches in DOS versionsstrangerke
2011-02-24HUGO:strangerke
- Increase savegame version, as it has changed due to RGBa->RGB modification - Fix regression in restorePal() - Implement load from GMM
2011-02-20HUGO: Fix crash when Hugo.dat not found (or wrong version detected)strangerke
2011-02-20HUGO/TOOLS: reorder things in HUGO.DAT, move from RGBA to RGBstrangerke
2011-02-20HUGO: Fix a bug in setCursorPal() introduced by recent palette modificationsstrangerke
2011-02-20HUGO: Some more refactoringstrangerke
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-18HUGO: Remove extra spaces at end of linesstrangerke
2011-02-18HUGO: Move several short function bodies from headers to cpp filesstrangerke
2011-02-18HUGO: Avoid duplicated code in functions related to HUGO.DATstrangerke
2011-02-15Merge branch 'master' into osystem-paletteJohannes Schickel
Conflicts: backends/platform/wii/osystem_gfx.cpp
2011-02-15HUGO: Replace cypher by a global variable, clean engine destructorstrangerke
2011-02-15HUGO: more refactoring and encapsulationstrangerke
2011-02-14HUGO: Adapt to the setPalette RGBA->RGB change.Johannes Schickel
This is currently done by converting the internal palette from RGBA(?) to RGB when setPalette / replaceCursorPalette is called. This change is not tested, since I do not have any Hugo game.
2011-02-14HUGO: Some more refactoringstrangerke
Move _hotspots to mouse class and encapsulate it, rename some variables in route class
2011-02-12HUGO: Fix a bug in engine destructorstrangerke
2011-02-12HUGO: Start to simplify hugo.dat loadingstrangerke
2011-02-12HUGO: Replace Common::File by Common::ReadStream in several functionsArnaud Boutonné
svn-id: r55897
2011-02-12HUGO: little optimization in decodeString(), cleanupArnaud Boutonné
svn-id: r55894
2011-02-12HUGO: Cleanup based on Fingolfin commentsArnaud Boutonné
svn-id: r55887