aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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.
2011-08-19COMMON: intLog2 uses _BitScanReverse on MSVCBertrand Augereau
2011-08-18COMMON: Slight formatting fix.Johannes Schickel
2011-08-14RECORDER: Lower I/O in recorderEugene Sandulenko
2011-08-09RECORDER: Defer mutex deletion to destructor.Johannes Schickel
Since we now call deinit after a game has been run, otherwise RTL would be broken. See bug report #3388982 "valgrind errors when doing multiple RTL".
2011-08-09RECORDER: Implement time compensation for playbackEugene Sandulenko
2011-08-08RECORDER: Give name to recoder priority. Added middle button storing.Eugene Sandulenko
2011-08-08RECORDER: Restore event recorder functionality.Eugene Sandulenko
It was badly broken after refactoring into EventObserver. Fitst, deinit() method was never called which lead to bad record files. Then, the concept of counting pollEvent() calls was ignored. Introduced dispatchPoll() method of EventObserver which is implemented in EventRecorder. It counts calls so is able to inject events at more proper time. Additionally now event times are recorded.
2011-08-08RECORDER: Add some debug outputEugene Sandulenko
2011-08-07COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).Christoph Mallon
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-08-07COMMON: Remove implicit conversion from ScopedPtr<T> to T*.Christoph Mallon
2011-08-07COMMON: Make constants actually const.Christoph Mallon
2011-08-07COMMON: Correct error message.Christoph Mallon
The message displays bytes, but capacity is the count of objects, so multiply by their size.
2011-08-07COMMON: Use correct format specifier.Christoph Mallon