Serious-Engine/Sources/Engine
Daniel Gibson 8d26863a51 Improve some portable C implementations of math functions
* FloatToInt() should now  round correctly ot nearest, even for
  negative numbers
* Log2() now calls log2f() instead of log10()*3.321 - no idea what the
  previous code was about, I doubt it's faster (and the ASM code uses
  something like log2, too).
* FastLog2() (for integers) now uses __builtin_clz() when building with
  GCC/clang - the resulting ASM should be pretty similar to the inline
  ASM below. I wonder why that function takes signed ints, log2(-1) in
  reality is an irrational number (but the function returns 31)..
  Also, both the inline ASM and my version return 0 for Log2(0), but
  INT_MIN would be closer to the truth
* commented out FastMaxLog2(), it's unused.
* implemented _rotl() using a fast(er) trick from
  http://blog.regehr.org/archives/1063
2016-04-17 23:15:56 +02:00
..
Base Improve some portable C implementations of math functions 2016-04-17 23:15:56 +02:00
Brushes First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Classes Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Entities Fixed a sizeof bug. 2016-04-09 01:03:44 -04:00
GameAgent GameAgent - list servers bugfix (update) 2016-04-12 04:10:43 +03:00
Graphics Enabled Multi-Threading (as an option) + OpenPandora specific changes (for Shoulder As Mouse Buttons) 2016-04-12 22:29:39 +02:00
Light Remove some Float Divide to use Integer and Shift in C Portable helper function on LayerMixer 2016-04-09 23:57:58 +02:00
Math Improve some portable C implementations of math functions 2016-04-17 23:15:56 +02:00
Models First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Network Fixed what appears to be an uninitialized memory access. 2016-04-12 01:27:40 -04:00
Rendering First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Ska First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Sound Increase SDL soundbuffer for smoother sound playback 2016-04-17 01:07:14 +02:00
Templates First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Terrain First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
World ARM processor don't convert +inf to 0xFFFFFFFF like a x86 processor do 2016-04-06 13:37:07 +02:00
zlib First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
Build.h Add GPL header to files 2016-03-11 18:20:51 -06:00
CurrentVersion.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Engine.cpp Enabled Multi-Threading (as an option) + OpenPandora specific changes (for Shoulder As Mouse Buttons) 2016-04-12 22:29:39 +02:00
Engine.h Don't #include <malloc.h> on Linux, only on Windows 2016-04-17 01:06:39 +02:00
Engine.vcxproj Engine: Return dynamic vorbisfile library loading. 2016-04-03 23:45:57 +03:00
Engine.vcxproj.filters Engine: Return dynamic vorbisfile library loading. 2016-04-03 23:45:57 +03:00
Engine.vcxproj.user Uploading full engine sources 2016-03-11 15:57:17 +02:00
GameShell.h Add GPL header to files 2016-03-11 18:20:51 -06:00
StdH.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
StdH.h Don't #include <malloc.h> on Linux, only on Windows 2016-04-17 01:06:39 +02:00
temp.h Add GPL header to files 2016-03-11 18:20:51 -06:00