aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
AgeCommit message (Collapse)Author
2011-04-24HUGO: Fix BE issue in getSound(). Thanks wjp for finding that issue.strangerke
2011-04-24HUGO: Hopefully fix the valgrind error reported by Digitall in bug #3292391strangerke
2011-04-23HUGO: Fix Endianness issue in H2 and H3 Dosstrangerke
2011-04-20HUGO: Silent several warnings reported by littleboystrangerke
2011-04-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17HUGO: Prefer Surface::format over Surface::bytesPerPixel.Johannes Schickel
2011-04-17HUGO: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-04-16HUGO: Remove debug messagestrangerke
2011-04-16HUGO: Close prompt box dialog on Return keyEugene Sandulenko
2011-04-16HUGO: cleanupEugene Sandulenko
2011-04-16HUGO: Fix crashesEugene Sandulenko
2011-04-16HUGO: Implement prompt text boxEugene Sandulenko
Still it sometimes asserts with repeated dialog launches.
2011-03-30HUGO: Fix s_bootCypherLen *for real*Max Horn
2011-03-30HUGO: Fix cypher fix ;)Max Horn
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