aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
AgeCommit message (Collapse)Author
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-06-25HUGO: Fix incorrect usage of sizeofWillem Jan Palenstijn
Thanks to salty-horse for the report. The new sizes are the ones that were replaced by sizeof in 399b59a583b.
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-18HUGO: Replace vsprintf by Common::String::vformatMax Horn
2011-06-10HUGO: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-25HUGO: Fix commentsstrangerke
2011-05-25HUGO: Add 3 object related functions to the consolestrangerke
2011-05-25HUGO: Add boundaries() to the console. God mode no longer shows boundaries, ↵strangerke
as in the original
2011-05-25HUGO: Cosmetic modification, for consistencystrangerke
2011-05-25HUGO: Add listscreens() and gotoscreen() to consolestrangerke
2011-05-25ALL: initialise -> initializeMatthew Hoops
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).