aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
AgeCommit message (Collapse)Author
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
2011-02-11HUGO: Cleanup: fix style issue in Doxygen commentsArnaud Boutonné
svn-id: r55884
2011-02-11HUGO: Fix warning "virtual function override intended?" reported by LordHoto ↵Arnaud Boutonné
(thanks for the explanation) svn-id: r55881
2011-02-11HUGO: Fix regression in H3: game exits at the end of the introArnaud Boutonné
svn-id: r55880
2011-02-11HUGO: refactoring: move boundaries to object classArnaud Boutonné
svn-id: r55879
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-08HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)Arnaud Boutonné
svn-id: r55831
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818