aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
AgeCommit message (Collapse)Author
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-26HUGO: Add workaround for bug #3292389: Penelope splits up when dying in chasmstrangerke
2011-04-25HUGO: Fix bug #3292382 : "Whodunit? & Jungle of Doom set music to off by itself"strangerke
2011-04-25HUGO: Fix bug #3292400 : Overlapping help windows when using the menu barstrangerke
2011-04-25HUGO: Add a black background behind the score line. This should fix bug ↵strangerke
#3291959.
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