26 Révisions (0529e067f23307fb06a8a4ce14a24977e5f37081)

Auteur SHA1 Message Date
  Sam Hocevar d6634da83f build: fix the WTFPL site URL in all code comments. il y a 12 ans
  Sam Hocevar d4c0c005d6 math: refactor real number constant declarations so that they are only il y a 12 ans
  Sam Hocevar 62744d98bb test: add a unit test to ensure default constructed reals are initialised il y a 12 ans
  Sam Hocevar bed5dea0c0 math: implement ulp() for reals, which returns the smallest real y > 0 such il y a 13 ans
  Sam Hocevar 366644d43c real: get rid of <<= and >>= operators; we can use ldexp() instead. As a il y a 13 ans
  Sam Hocevar f56c72c53d core: fix the sign of a negative real number raised to an even power, and il y a 13 ans
  Sam Hocevar 992c198a66 core: allow to build a real number using a string literal. il y a 13 ans
  Sam Hocevar 2235e9c180 core: implement real methods cbrt(), log2(), exp2(), and copysign(). il y a 13 ans
  Sam Hocevar 5d9167bda0 core: fix an accuracy error in real::re() and real::sqrt() introduced in il y a 13 ans
  Sam Hocevar c5c4913bda core: implement round() and fmod() for real numbers. il y a 13 ans
  Sam Hocevar 064856b443 core: implement floor() and ceil() for real numbers. il y a 13 ans
  Sam Hocevar 221f469c3f core: implement asin() and acos() for real numbers and add unit tests for il y a 13 ans
  Sam Hocevar bbd75b80eb core: add real constants for 0, 1, 2 and 10, and reorder static constants il y a 13 ans
  Sam Hocevar 1ffa994f4b core: add boolean operators on real numbers, add unit tests for that, il y a 13 ans
  Sam Hocevar 4822f02d8d core: implement shift operators for reals; they're useful for fast il y a 13 ans
  Sam Hocevar 058d88232d core: add rounding to real->double conversion, fix a bug in the addition il y a 13 ans
  Sam Hocevar 56511457d2 test: give more explicit names to unit test cases. il y a 13 ans
  Sam Hocevar cdc155c42b core: allow to cast reals to doubles in addition to floats. il y a 13 ans
  Sam Hocevar 325ea94821 core: implement division of reals and change their default precision il y a 13 ans
  Sam Hocevar 93479c2876 core: implement real subtraction. il y a 13 ans
  Sam Hocevar a173e49ddc core: implement comparison operators for reals. il y a 13 ans
  Sam Hocevar 48f00deff9 core: fix real unary minus and handle negative numbers in additions. il y a 13 ans
  Sam Hocevar 884978c71b core: handle zero, negative zero and infinite in the real constructor, il y a 13 ans
  Sam Hocevar dbb0463f4c core: start working on the extended floating point addition. il y a 13 ans
  Sam Hocevar 202ac6aaf3 core: switch real mantissa to uint16_t instead of uint32_t to ease the il y a 13 ans
  Sam Hocevar 5aedae49a3 core: add missing real.cpp unit test. il y a 13 ans
  Sam Hocevar 7b7d4fe003 build: stop defining ANDROID_NDK and check for __ANDROID__ instead. il y a 13 ans
  Sam Hocevar f23ce9c7b4 ui: add a Platform class to query information about the current platform. il y a 13 ans
  Sam Hocevar 8848cf53db Put everything in the "lol" namespace. Better late than never. il y a 13 ans
  Sam Hocevar e41dd3a949 Create the SdlApp class to avoid code duplication. Ensure USE_SDL is il y a 13 ans
  Sam Hocevar 21fd077d12 Reduce audio latency by using 1K samples instead of 4K. il y a 14 ans
  Sam Hocevar 640735731a Add preliminary support for sound samples. Implement click. il y a 14 ans
  Sam Hocevar 0ed566d3cc Complete Lol Engine / Deus Hax / Monsterz split. il y a 14 ans
  Sam Hocevar 50e4f67254 Get the timer to talk milliseconds instead of seconds. il y a 14 ans
  Sam Hocevar 0d78ca44ca Implement Timer::PollSeconds(), if necessary. il y a 14 ans
  Sam Hocevar 8bfb98c160 Implement a better timing mechanism for fixed framerate. Accuracy is il y a 14 ans