aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2012-02-13COMMON: Enable backend specific custom events only when the Keymapper is ↵Johannes Schickel
enabled. Otherwise there is no way of generating these events, thus it's better to make people really aware of this. I furthermore added some nots that its part of a WIP API, thus it should only be used after checking up.
2012-02-13ALL: Enable Keymapper specific OSystem API only when the Keymapper is enabled.Johannes Schickel
2012-02-12COMMON: Add custom backend eventTarek Soliman
2012-02-12KEYMAPPER: Allow ports to define their own global keymapTarek Soliman
2012-02-10JANITORIAL: Fix template definition whitespaceTarek Soliman
2012-02-02COMMON: Fix comment typoTarek Soliman
2012-01-29COMMON: Return 0 instead of false in FSNode::createReadStream.Johannes Schickel
This should "fix" some g++ warnings.
2012-01-29GRAPHICS/GUI: Implement charset mapping for TTF fonts.Johannes Schickel
The charsets used by the translations now need to have a "$(name).cp" file, which contains an charset index => unicode mapping. Otherwise create_translations will fail.
2012-01-23COMMON: Fix compilation with mingw-w64dhewg
setjmp and longjmp are being used in system headers. Allow these symbols globally instead of hacking the appropriate defines in every file including windows.h.
2012-01-13COMMON: Enhance zlib interfaceAndrea Corna
2011-12-30COMMON: Slight formatting fix.Johannes Schickel
2011-12-30COMMON: Perform some keymapper-related changes to the KeyState structFilippos Karapetis
The == operator in KeyState should not be checking for sticky modifier keys. This allows the keymapper's defined actions to function correctly in desktop platforms, when sticky modifier keys such as caps lock and num lock are turned on. Also, added some sanity checks to hasFlags() and enums for sticky and non-sticky keys
2011-12-15COMMON: QuickTime mdat atoms should be leavesMatthew Hoops
2011-12-13COMMON: Make more members of Archive constant.Andrea Corna
2011-12-12VIDEO: Add support for QuickTime video track edit listsMatthew Hoops
2011-12-04GUI: Fix GUIO flags again.Johannes Schickel
The GUIO flags use an escape sequence for octal numbers. Starting with 18e84f9c1138ea4ce66cbbea53e6957bee3e588f GUIO_MIDICMS used "\008" which resulted in the CMS flag adding a zero into the flags and thus terminating the GUIO flag string.
2011-12-04GUI: fix GUIO_NOSPEECH/GUIO_NOSFX settingsathrxx
2011-11-18COMMON: Added Croatian language (for a localized version of BS2.5)Filippos Karapetis
2011-11-17Merge pull request #114 from tsoliman/keymapper2Eugene Sandulenko
KEYMAPPER: Keymapper improvements 2
2011-11-17COMMON: Move <new> include into scummsys.h.Alyssa Milburn
The header contains forbidden symbols on some platforms, and the simplest solution seems to be to include it here. This also includes it from all the portdefs.h files, except the Symbian one. Probably the FIXME and the #if can be removed once it's known to work.
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-11-16COMMON: Improve storage management of Array.Johannes Schickel
Now our Array class distinguishs between initialized and uninitialized objects. It furthermore always calls the destructor of no longer contained elements. This should help with non-POD objects stored in our Array class. Thanks to Bertrand for his feedback on this.
2011-11-16COMMON: Make value parameter of fill a const reference.Johannes Schickel
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-10-27COMMON: Remove ascii check from KeyState::operator==Tarek Soliman
ascii is used for display and text input. Operator== shouldn't be used in those cases. Besides, it breaks the keymapper for non-ascii keys like KEYCODE_LEFT
2011-10-24GUI: Add GUIO EGA Dithering optionStrangerke
This will be used to disable the EGA dithering option
2011-10-23LAUNCHER: Add GUIO_NOASPECT to SCUMM engineStrangerke
2011-10-23ALL: Reduce assignment of "" to Common::String.Johannes Schickel
When clearing an existant object clear() should be used. When constructing objects (or using default values for parameters) the constructor of String without any argument should be used. This changes only a few instances I noticed while looking over some recent commit logs.
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-23AD: Swtich GUI options to a char array.Eugene Sandulenko
This eliminates nasty limitation of caping number of flags to 31. Current code has limitation of 255 flags, though. Only SCUMM engine is converted, rest do not even compile. Detection of fan talkie MI is broken as it has to be implemented differently.
2011-10-21COMMON: Extend some method comments in Common::BitStreamSven Hesse
Adding examples to getBits() and addBit().
2011-10-21COMMON: Fix potential UB while shifting Common::BitStreamSven Hesse
Shifting a 32-bit value by more than 31 is undefined.
2011-10-20Merge pull request #80 from DrMcCoy/newbitstreamEugene Sandulenko
COMMON: Rewrite Common::BitStream as a template
2011-10-11Symbian: Must define scumm_va_copy also for Symbiananotherguest
2011-10-08COMMON: Include hidden files in FSDirectory cache and detection.Alyssa Milburn
The cache issue has been discussed before, it breaks accessing files beginning with a dot on POSIX. The change to the advancedDetector to see hidden files was suggested by AdamRi on IRC.
2011-10-07COMMON: Ensure numTypes is set to 0 on closeMatthew Hoops
2011-10-07COMMON: Unbreak ConfigFile::renameSection.Johannes Schickel
It will still not work when the new section name is already taken, but at at least when it is not taken it should work now.
2011-10-07COMMON: Remove unused code in config-file.cpp.Johannes Schickel
2011-11-13COMMON: Some minor formatting fixes in translation code.Johannes Schickel
Done by running astyle over the files.
2011-11-02COMMON: Fix warningEugene Sandulenko
2011-10-29JANITORIAL: Remove unnecessary semicolonsTorbjörn Andersson
2011-08-27COMMON: Rewrite BitStream as a templateSven Hesse
This rewrites BitStream as a template, allowing for more different memory layouts of the actual bit data.
2011-08-27Merge pull request #79 from clone2727/agos_cabEugene Sandulenko
AGOS: Add support for loading data from Windows (InstallShield) installer archives
2011-08-21BADA: Remove BADA defined check. Was a temp fix for simulator buildChris Warren-Smith
2011-08-21BADA: Initial BADA port implementationChris Warren-Smith
2011-08-20COMMON: Add wrapper for inflating headerless zlib dataMatthew Hoops
2011-08-20SCUMM: Fix compilation when translation support is disabled.Johannes Schickel
For this I added a convenience version of getLanguageYesNo, which works on the currently setup GUI translation language. All other code which requires this acan also use it instead of having to worry about the USE_TRANSLATION and thus having two code paths.
2011-08-20I18N: Added comments to some of obscure translatable stringsEugene Sandulenko
2011-08-20COMMON: Implemented functions for determining localized Y/N equivalentEugene Sandulenko
2011-08-20COMMON: Restore locale <-> Common::Language conversion utilsEugene Sandulenko
This reverts commit 284b49aabc54590e1444f06561a815c2a3c5de7e.