aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2012-02-21COMMON: add gui options for rendering modesathrxx
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2012-02-21Merge pull request #182 from fingolfin/forbid-ctypeWillem Jan Palenstijn
ALL: Avoid using is* macros from ctype.h
2012-02-20COMMON: Filter non-ASCII values in ctype.h-style isFOO functionsMax Horn
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-20KEYMAPPER: Move F7 and F8 handling to DefaultEventMapperTarek Soliman
2012-02-20KEYMAPPER: Move CTRL-F5 handling to DefaultEventMapperTarek Soliman
2012-02-20KEYMAPPER: Move DefaultEventMapper implementation to its own cpp fileTarek Soliman
2012-02-20KEYMAPPER: Rewrite the EventMapper APITarek Soliman
2012-02-20KEYMAPPER: Having a mapper is no longer optionalTarek Soliman
2012-02-20KEYMAPPER: Create a DefaultEventMapper when Keymapper isn't enabledTarek Soliman
This allows migration to unconditional mapping
2012-02-20KEYMAPPER: EventMapper must now eat all eventsTarek Soliman
2012-02-18COMMON: Fix value of EVENT_CUSTOM_BACKENDTarek Soliman
I failed to see that the enum was not ordered
2012-02-16COMMON: Fix typoMax Horn
2012-02-15KEYMAPPER: Add more warning signsTarek Soliman
2012-02-15KEYMAPPER: Allow ports to define default Keymap Action bindingsTarek Soliman
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
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.