Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-02 | M4: Replace snprintf() usage with Common::String::format() | D G Turner | |
Safer and less portability issues. | |||
2011-05-30 | TSAGE: General cleanup of object class | Paul Gilbert | |
2011-05-25 | ALL: initialise -> initialize | Matthew Hoops | |
2011-05-25 | M4: Attempt to fix the broken Rails code | Max 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-17 | M4: Fix leak in Console::cmdDumpFile | Max Horn | |
2011-05-17 | COMMON: Registers RandomSources in constructor with the event recorder | Max 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-16 | ENGINES: Unify engine names | Thierry 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-15 | M4: 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-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-06 | M4: Fix a typo; cleanup | Matthew Hoops | |
2011-05-06 | M4: Fix the title of riddle | Matthew Hoops | |
2011-05-06 | M4: Allow Riddle to be run using the original directory structure | Matthew Hoops | |
Not that the game starts up or anything :P | |||
2011-05-01 | Merge 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-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-17 | ALL/GRAPHICS: Remove Surface::bytesPerPixel. | Johannes Schickel | |
2011-04-17 | M4: Properly setup format in M4Surface constructor. | Johannes Schickel | |
2011-04-17 | M4: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵ | Johannes Schickel | |
depth. | |||
2011-04-14 | ALL: centerd -> centered | Max Horn | |
2011-04-14 | ALL: centre -> center | Max Horn | |
2011-04-14 | ALL: colour -> color | Max Horn | |
2011-04-12 | COMMON: Replace MKID_BE by MKTAG | Max 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-29 | JANITORIAL: Remove/comment unused vars | dhewg | |
Found by GCC 4.6's -Wunused-but-set-variable | |||
2011-03-29 | M4: Fix twisted assignment | dhewg | |
Thanks to -Wunused-but-set-variable | |||
2011-03-28 | AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use it | Max Horn | |
2011-03-28 | M4: Corrected incorrect case in cheat key handler | Paul Gilbert | |
2011-03-25 | AUDIO: Move more common code to Audio::MidiPlayer | Max 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-24 | M4: Change MidiPlayer to derive from Audio::MidiPlayer | Max Horn | |
Also fix the _driver double delete regression I recently introduced | |||
2011-03-23 | ENGINES: Remove unused MIDI pass-through code | Max Horn | |
2011-03-23 | ENGINES: Further simplify pseudo MidiDrivers; fix some regressions | Max 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-23 | AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclasses | Max 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-22 | AUDIO: Add pure virtual MidiDriver::isOpen() method | Max 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-19 | M4: Init volume levels on startup | dhewg | |
2011-02-20 | M4: Updated for OSystem Palette RGBA->RGB Change. | D G Turner | |
2011-02-12 | JANITORIAL: Remove duplicate #include's | Ori Avtalion | |
svn-id: r55889 | |||
2011-02-09 | AUDIO: Rename sound/ dir to audio/ | Max Horn | |
svn-id: r55850 | |||
2011-02-07 | COMMON: OSystem now has a PaletteManager | Max Horn | |
svn-id: r55806 | |||
2011-01-03 | M4: Removed redundant colour index recalculation in palette manager | Paul Gilbert | |
svn-id: r55098 | |||
2010-11-28 | M4: Remove unnecessary reference to file.h | Max Horn | |
svn-id: r54563 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-18 | M4: Do not use Common::SubReadStream where ReadStream suffices | Max Horn | |
svn-id: r54342 | |||
2010-11-03 | M4: Changed debug calls to debugCN since they all have newlines | Paul Gilbert | |
svn-id: r54047 | |||
2010-11-02 | M4: Convert last few printfs to debug | Max Horn | |
svn-id: r54039 | |||
2010-11-02 | M4: Remove redundant fflush calls | Max Horn | |
svn-id: r54038 | |||
2010-11-02 | M4: Converted all printf's to debug | Paul Gilbert | |
svn-id: r54035 | |||
2010-11-02 | M4: Added function pointers to the the script engine data map list | Paul Gilbert | |
svn-id: r54034 | |||
2010-11-02 | M4: Reworked dumpFile to use Common::DumpFile | Paul Gilbert | |
svn-id: r54033 | |||
2010-11-01 | GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warnings | Max Horn | |
svn-id: r54007 | |||
2010-10-30 | M4: Remove unused getter method MadsM4Engine::system() | Max Horn | |
svn-id: r53959 | |||
2010-10-30 | M4: Disable code using FILE, fopen, etc. and add explantory FIXME | Max Horn | |
svn-id: r53958 | |||
2010-10-15 | M4: Fixed OP_NOT and OP_COMP behavior again (thanks wjp) | Filippos Karapetis | |
svn-id: r53505 |