aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/touche.cpp
AgeCommit message (Collapse)Author
2019-11-09TOUCHE: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-09-15TOUCHE: Remove Various Fixed Sized String Buffer UsageD G Turner
2018-04-22JANITORIAL: Fix formattingAdrian Frühwirth
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2014-05-25TOUCHE: Reduce the scope of a variableStrangerke
2014-05-25TOUCHE: Initialize some uninitialized variables, fix a lot of pointers and ↵Strangerke
booleans default values
2014-02-18TOUCHE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-14TOUCHE: Use keycodes for hotkey handling.Johannes Schickel
2013-11-09TOUCHE: Initialize more variables. CID 1002423Eugene Sandulenko
2013-10-29TOUCHE: Initialize class variables. CID 1002423Eugene Sandulenko
2013-10-18TOUCHE: Initialize uninit variables. CID 1002423Eugene Sandulenko
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: 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-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-02-04TOUCHE: Add charset debug channelWillem Jan Palenstijn
This is intended to help debug the missing Spanish characters reported in #2040311 and #3483383.
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-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-03-19TOUCHE: Cleanup syncSoundSettings()dhewg
And respect global mute settings
2011-02-14TOUCHE: Adapt to setPalette RGBA->RGB change.Johannes Schickel
This change was not tested, because I do not have any touche copy.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-21TOUCHE: Fixed Uninitialised Read in first call to ↵David Turner
ToucheEngine::res_loadBackdrop(). svn-id: r55385
2010-11-08TOUCHE: Added basic debugging console to engineDavid Turner
Since TOUCHE uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. svn-id: r54137
2010-06-17Add detection of original directory structure for Touche.Travis Howell
svn-id: r49929
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2009-08-25TOUCHE: disable flag 777 update (not checked by any scripts)Gregory Montoir
svn-id: r43735
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2008-12-13fixed wrong z-reordering when one of the keychars is 0Gregory Montoir
svn-id: r35345
2008-12-13disable GMM save/load when original quit/options dialogs is displayedGregory Montoir
svn-id: r35344
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-11Added save/load support from the GMM for the touche engineFilippos Karapetis
svn-id: r35008
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-09-03Moved check for shouldRTL() from engines to scummvm_mainMax Horn
svn-id: r34310
2008-08-09Merged revisions ↵Christopher Page
33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33720
2008-08-07fix for bug #2040484: TOUCHE: Graphic glitch with long answer optionsGregory Montoir
svn-id: r33691
2008-07-31Added check for valid save slots, when loading savestates using -xChristopher Page
svn-id: r33483
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051
2008-07-13TOUCHE works with the new GMM implementationChristopher Page
svn-id: r33046