aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2011-07-24COMMON: Limited gcc specific intLog2 to gcc 3.4 or newer.Johannes Schickel
Older gcc versions did not include __builtin_clz, which made the PS2 port fail to compile, since it uses 3.2.2.
2011-07-24COMMON: Add an optimized intLog2 implementation for gcc using __builtin_clz.Johannes Schickel
This is done as discussed here: https://github.com/scummvm/scummvm/commit/54f25aa84373715001c56155673fb59cfe44b573
2011-07-24COMMON: Let intLog2 return an int instead of uint32, since it should return ↵Johannes Schickel
-1 for 0.
2011-07-19JANITORIAL: Fix MSVC warningsLittleboy
- Conversion from double to float - Unary minus operator applied to unsigned type - ARRAYSIZE redefinition
2011-07-19COMMON: Fix some formattingMatthew Hoops
2011-07-19COMMON: Move cosine/sine tables out of header filesMatthew Hoops
Access is now restricted to using the getSineTable()/getCosineTable() helper functions.
2011-07-19COMMON: Renamed Integer Log2 function from log2 to intLog2.D G Turner
This avoids naming collisions with system libraries on some platforms i.e. DS, DC where the log2 is realised by macro.
2011-07-19COMMON: Document the BitStream a bit moreSven Hesse
2011-07-18Merge pull request #50 from clone2727/binkclone2727
Add support for Bink video to SCUMM HE
2011-07-18COMMON: Fix commentMatthew Hoops
2011-07-18COMMON: Update code from eosMatthew Hoops
2011-07-18COMMON: Update class documentation to say they're now used by SCUMMMatthew Hoops
2011-07-18COMMON: Remove USE_BINK checks from header filesMatthew Hoops
2011-07-13BUILD: Allow for disabling Bink supportMatthew Hoops
2011-07-06COMMON: Update documentation comment for TaskbarManager slotLittleboy
2011-07-03COMMON: Remove unused vector2orientation functionMatthew Hoops
2011-07-02COMMON: Cleanup BitStreamMatthew Hoops
Fix mismatched new[]/free and restored a missing statement
2011-07-03COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined.Johannes Schickel
2011-07-02VIDEO: Add Bink video decoderMatthew Hoops
Based on eos' code which is in turn based on FFmpeg's code
2011-07-02COMMON: Add DCT math codeMatthew Hoops
Based on eos' code which is based on FFmpeg's code
2011-07-02COMMON: Add RDFT math codeMatthew Hoops
Based on eos' code which is based on FFmpeg's code
2011-07-02COMMON: Add an FFT math handlerMatthew Hoops
Based on eos' code which is based on FFmpeg's code
2011-07-02COMMON: Add a Huffman bitstream decoderMatthew Hoops
Based on eos' code
2011-07-02COMMON: Add some simple math utilitiesMatthew Hoops
Based on eos' code
2011-07-02COMMON: Add a BitStream classMatthew Hoops
Based on eos' BitStream
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-06-24COMMON: Look for translations.dat in Theme path before using SearchManThierry Crozat
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23COMMON: Add abort() to the list of forbidden symbolsJulien
2011-06-22COMMON: Improve loading of translations data fileThierry Crozat
Now if the header of the file is not correct it continues to look for a valid file, while before if the first file found was obsolete or corrupted translation was disabled even if a valid file was present in the search path.
2011-06-22Merge pull request #26 from Littleboy/taskbarEugene Sandulenko
Taskbar integration
2011-06-21COMMON: Move HerculesDimensions enum to SCUMM.Johannes Schickel
The enum is only used inside the SCUMM engine so it is rather pointless to keep it in common/util.h right now. Also if we really want it in some common place it should probably be better in graphics/ too.
2011-06-20COMMON: Fix conflicting commentWillem Jan Palenstijn
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-18COMMON: Replace some vsnprintf/STRINGBUFLEN uses by vformatMax Horn
2011-06-18COMMON: Add vformat() function (Common::String analog to vsprintf)Max Horn
2011-06-17COMMON: Remove default implementation of OSystem::logMessageMax Horn
2011-06-17Merge pull request #30 from tsoliman/configure-enhancement-warning-cleanEugene Sandulenko
Configure enhancement warning clean
2011-06-17COMMON: Make use of Common::parseBoolMax Horn
2011-06-16ENGINES: Warn user about games marked with ADGF_UNSTABLE flagsTarek Soliman
ADGF_UNSTABLE is always warned about. ADGF_TESTING is only warned about when running configure with --enable-relase. Both warnings are subject to the enable_wip_game_warning config option.
2011-06-16COMMON: Change TaskbarManager to the new module slot interfaceJulien
2011-06-16BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar ↵Littleboy
integration is not enabled
2011-06-16COMMON: Update TaskbarManager header with better documentation and examples ↵Littleboy
of use
2011-06-16COMMON: Add overall documentation to TaskbarManager interfaceLittleboy
2011-06-16BACKENDS: Add support for count status to TaskbarManagerLittleboy
- Show the number of found games when using the massadd dialog
2011-06-16BACKENDS: Add engine-level accessor for TaskbarManagerLittleboy
2011-06-16BACKENDS: Implement Win32 taskbar progress state and recent listLittleboy
2011-06-16BACKENDS: Add generic TaskbarManager class to handle taskbar integrationLittleboy
2011-06-15COMMON: Fix code formatting, rename stuff for consistencyMax Horn
2011-06-15COMMON: fixed resizeVladimir