aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
AgeCommit message (Collapse)Author
2013-10-29TOUCHE: Initialize class variables. CID 1002423Eugene Sandulenko
2013-10-29TOUCHE: Fix buffer overrun. CID 1003934Eugene Sandulenko
2013-10-18TOUCHE: Initialize uninit variables. CID 1002423Eugene Sandulenko
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-12-16TOUCHE: Simplify external digital music support slightly.D G Turner
Checked with valgrind and no leaks are evident. Thanks to LordHoto for suggesting these changes.
2012-12-16TOUCHE: Fix external music to work with any music format.D G Turner
This also removes the direct dependency on vorbis. Thanks to [md5] for the majority of this patch.
2012-12-16TOUCHE: Add commands to play and stop music tracks to engine console.D G Turner
2012-12-16Merge branch 'toucheExtMusic'D G Turner
2012-12-16TOUCHE: Fix external digital music support.D G Turner
Thanks to clone2727 for pointing out the issue here. Tested with Valgrind and no leaks present. However, the music output is still not correct, when compared to Midi output. This is due to the track numbering. Either the external files need renaming or a mapping table will be needed.
2012-12-15TOUCHE: Fixes to external digital music support.D G Turner
This removes most of the bad accesses and use of invalid pointers, but it is still not quite correct. Also, it appears the music id and external track ids may not be a direct mapping.
2012-12-14TOUCHE: Fix incorrect handle usage.D G Turner
2012-12-13COMMON: Add wrapper for isprint.Johannes Schickel
This is done in the spirit of 658080deeda79d20ea40643569fbcb072573e7cf.
2012-12-13TOUCHE: Add support for external digital music.D G Turner
Detection of the external digital music files works, but they currently fail to play and cause segfaults if present... Suspected to be related to premature destruction of audiostream data.
2012-12-12TOUCHE: Add generic music functions to wrap MidiPlayer usages.D G Turner
This is a precursor to adding code within these functions to select between MIDI and external digital music files.
2012-09-25TOUCHE: Add more font entries to French ToucheWillem Jan Palenstijn
The nbsp at position 255 (assuming CP863) was missing (bug #3571138).
2012-06-27TOUCHE: Report unknown game variant when using the file based fallback detectorSven Hesse
Given the message Touche prints when it found a game, printing the MD5 sums of the files was probably what it expected the AdvancedDetector would do in the filebase fallback detector. This may have been true in the past, but it's not what it does anymore, rendering the message pointless. This fixes it by calling the now accessable reportUnknown method.
2012-06-27DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizesSven Hesse
Since we need a FSNode parent for Mac resource forks, we need to change signature of detectGameFilebased(), too.
2012-03-03TOUCHE: Remap one more Spanish characterWillem Jan Palenstijn
2012-02-26COMMON: Move Language and Platform functionality into separate filesMax Horn
2012-02-10JANITORIAL: Fix template definition whitespaceTarek Soliman
2012-02-04TOUCHE: Add two missing accented letters to Spanish charset.Willem Jan Palenstijn
The A-acute, I-acute, O-acute and U-acute seem to be missing from the font, and are now all remapped to their unaccented ASCII variants. I and A were added by 303333352a3, and this patch adds O and U. This is assuming the CP850 encoding, which is not entirely verified. See bugs #2040311 and #3483383.
2012-02-04TOUCHE: Add charset debug channelWillem Jan Palenstijn
This is intended to help debug the missing Spanish characters reported in #2040311 and #3483383.
2011-11-24TOUCHE: Fix playback of simultaneous sfx.Johannes Schickel
Since we stream the VOC files from disk now, we can not use the global resource file handle for playback but instead need to open a new handle for every SFX started. Fixes odd noises at the beginning of the Touche demo.
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-10-24TOUCHE: After discussion with clone2727 and eriktorbjorn, remove ↵Strangerke
GUIO_NOASPECT from Touche
2011-10-24LAUNCHER: Add GUIO_NOASPECT to toucheStrangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-09AUDIO: Add default disposeAfterUse value to makeVOCStream again.Johannes Schickel
2011-10-09AUDIO: Remove unused makeVOCStream interface.Johannes Schickel
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-23ANALYSIS: Fix potential memory leak when using reallocJulien
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer. See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
2011-06-14DETECTOR: Remove kADFlagPrintWarningOnFileBasedFallbackMax Horn
2011-06-14DETECTOR: Treat file based fallback like any other fallback methodMax Horn
2011-06-14TOUCHE: cleanupMax Horn
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10TOUCHE: 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-06-02TOUCHE: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
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-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
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-25TOUCHE: Move _gmToRol to midi.cppMax Horn
2011-03-25TOUCHE: Change MidiPlayer to derive from Audio::MidiPlayerMax 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.