aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
AgeCommit message (Collapse)Author
2011-11-20M4: Removed the M4/MADS engine from trunkPaul Gilbert
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-11-16COMMON: Rename Common::set_to to Common::fill.Johannes Schickel
This makes the name match with the name of the STL function with the same behavior.
2011-11-14MADS: remove/comment unused variablesEugene Sandulenko
2011-11-03M4: Fix warningsEugene Sandulenko
2011-10-24MADS: Add GUIO_NOASPECT to M4 gamesStrangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-09M4: Silence GCC warning (one of several)Torbjörn Andersson
2011-08-22M4: Add new methods and variables needed by the objects_action script methodPaul Gilbert
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-06ALL: Reduce audio/ header dependencyEugene Sandulenko
2011-08-04M4: Fix identified assert calls that had file reads inside themPaul Gilbert
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-16M4: flag all WIP games with ADGF_UNSTABLETarek Soliman
all
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-06-10M4: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-02M4: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-30TSAGE: General cleanup of object classPaul Gilbert
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25M4: Attempt to fix the broken Rails codeMax Horn
I am not sure how this code could have ever worked without lots of crashing, but maybe I am missing something... Still, casting an arbitrary integer value to an int *pointer* and then later dereferencing it does not seem like a good idea :). Changed the code to do what I *guess* it was meant to do. But somebody who actually knows M4 and its games should double check.
2011-05-17M4: Fix leak in Console::cmdDumpFileMax Horn
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-15M4: Replaced the trouble variable data map code with direct statements.Paul Gilbert
Since there aren't expected to be all that many engine variables needed, this seems a cleaner overall implementation.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-06M4: Fix a typo; cleanupMatthew Hoops
2011-05-06M4: Fix the title of riddleMatthew Hoops
2011-05-06M4: Allow Riddle to be run using the original directory structureMatthew Hoops
Not that the game starts up or anything :P
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-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17M4: Properly setup format in M4Surface constructor.Johannes Schickel
2011-04-17M4: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-04-14ALL: centerd -> centeredMax Horn
2011-04-14ALL: centre -> centerMax Horn
2011-04-14ALL: colour -> colorMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29M4: Fix twisted assignmentdhewg
Thanks to -Wunused-but-set-variable
2011-03-28AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use itMax Horn
2011-03-28M4: Corrected incorrect case in cheat key handlerPaul Gilbert
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-24M4: Change MidiPlayer to derive from Audio::MidiPlayerMax Horn
Also fix the _driver double delete regression I recently introduced
2011-03-23ENGINES: Remove unused MIDI pass-through codeMax Horn
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-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.