Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-07-31 | COMMON: Move definition of math constants to scummsys header. | D G Turner | |
This should have no effect on common/math.h as scummsys is included at the top anyway, but this will fix compilation on some toolchains when strict ANSI language compliance is enabled i.e. -std=c++11, rather than -std=gnu11. This causes an issue as a side effect is to set a guard which disables various non-standard defines in the system headers i.e. the M_PI and M_SQRT1_2 constant definitions in the MinGW x86_64 toolchain on buildbot. By moving this into scummsys.h after the point of system math.h inclusion, we can ensure that M_PI etc. are always present. | |||
2012-03-17 | ALL: Use GCC_ATLEAST(). | Christoph Mallon | |
2011-08-19 | COMMON: intLog2 uses _BitScanReverse on MSVC | Bertrand Augereau | |
2011-07-24 | COMMON: 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-24 | COMMON: 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-24 | COMMON: Let intLog2 return an int instead of uint32, since it should return ↵ | Johannes Schickel | |
-1 for 0. | |||
2011-07-19 | COMMON: Move cosine/sine tables out of header files | Matthew Hoops | |
Access is now restricted to using the getSineTable()/getCosineTable() helper functions. | |||
2011-07-19 | COMMON: 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-18 | COMMON: Fix comment | Matthew Hoops | |
2011-07-18 | COMMON: Update code from eos | Matthew Hoops | |
2011-07-18 | COMMON: Remove USE_BINK checks from header files | Matthew Hoops | |
2011-07-13 | BUILD: Allow for disabling Bink support | Matthew Hoops | |
2011-07-03 | COMMON: Remove unused vector2orientation function | Matthew Hoops | |
2011-07-02 | COMMON: Add some simple math utilities | Matthew Hoops | |
Based on eos' code |