aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
AgeCommit message (Collapse)Author
2018-05-28Merge pull request #1187 from bgK/detection-refactor-unknownBastien Bouclet
ENGINES: Return unknown game variants with the list of detected games
2018-05-10TOUCHE: Add TODOAdrian Frühwirth
2018-05-10ENGINES: Add unknown game variants to the game detector resultsBastien Bouclet
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-05-17ALL: Change main engine header guard defines to <directory>_<engine>_HEugene Sandulenko
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-03-05CONFIGURE: Introduced new engine dependency: highresEugene Sandulenko
Some backends like GCW0 do no support graphics >320x240 due to the hardware limitation (downscaling is possible but it will ruin the pixel hunting which is often part of the gameplay). Instead of manually updating the list of engines, we now introduce a new dependency. I marked all relevant engines, but some, like tinsel, require more work with putting their relevant high-res games under USE_HIGHRES define.
2016-02-01TOUCHE: Fix semi-intentional array overrunWillem Jan Palenstijn
op_getInventoryItem/op_setInventoryItem could operate on inventoryItems[4] while inventoryItems has only 4 elements. This effectively accesses the 'money' field right behind this array. Due to a broken assert, this was never detected. This commit fixes it by redirecting accesses to inventoryItems[4] to money, and also fixes the assert. An alternative solution would have been enlarging the array, and removing the money field, but that would require more changes in the engine.
2016-02-01Revert "TOUCHE: Fix buffer overrun. CID 1003934"Willem Jan Palenstijn
This reverts commit 9d2cc7ce84107d93d56371e8266cbe2193a7923b.
2014-10-04TOUCHE: Update list of files that contain translatable stringsThierry Crozat
2014-05-27ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd.Johannes Schickel
2014-05-27ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.Johannes Schickel
2014-05-25TOUCHE: Move some enums and struct definition to header file, get rid of ↵Strangerke
some void* parameters
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-24BUILD: Remove need for engine.mk in each engine directory.D G Turner
Each engine now only has to provide a single configure.engine file adding the engine into the configure script, which then produces the required other files automatically.
2013-11-24BUILD: Remove need for engine-plugin.h in engines.D G Turner
This is now generated automatically by the configure script from the engine directory names.
2013-11-24BUILD: Split engines/plugins_table header down to a file per engine.D G Turner
This is the third and final commit enabling fully pluggable engines. Now providing an engine folder contains a configure.engine, engine.mk and engine-plugin.h file, it will be picked up automatically by the configure script.
2013-11-24BUILD: Split engines.mk down to a single file per engine.D G Turner
This is the second part of allowing engines to be added dynamically. Each folder in engines/ which must contain a file named "engine.mk" containing the make definitions for that engine.
2013-11-24BUILD: Split configure.engines down to a single file per engine.D G Turner
This is the first part of allowing engines to be added dynamically. They are placed into a folder in engines/ which must contain a file named "configure.engine" to add the engine, which is pulled into the top level configure script automatically.
2013-11-09TOUCHE: Initialize more variables. CID 1002423Eugene Sandulenko
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