Serious-Engine/Sources/Engine
Daniel Gibson 23b6374e9a Add ULONG PointerToID(void*) and IntPtrToID(size_t) that CRC 64bit pointers
Sometimes pointers are casted to ULONG just to get an ID or tag - this
is fine for 32bit pointers, but 64bit pointers will truncate which might
result in not being so unique after all.
CRC-ing the pointer should yield a more likely to be unique 32bit value.
NULL is a special case that yields 0 instead of the CRC, so code that
handles IDs/Tags with value 0 differently will continue to work.
For 32bit builds, it just returns the pointer as ULONG.
2016-04-21 16:21:47 +02:00
..
Base Add ULONG PointerToID(void*) and IntPtrToID(size_t) that CRC 64bit pointers 2016-04-21 16:21:47 +02:00
Brushes Silence -Wreorder warnings. 2016-04-20 13:31:49 -05:00
Classes Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Entities Silence -Wreorder warnings. 2016-04-20 13:31:49 -05:00
GameAgent GameAgent - list servers bugfix (update) 2016-04-12 04:10:43 +03:00
Graphics bswap_32() is a linuxism, use inline code instead. 2016-04-19 19:09:20 +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 Resolved some 64bit issues, marked/commented some others 2016-04-17 23:35:04 +02:00
Models Resolved some 64bit issues, marked/commented some others 2016-04-17 23:35:04 +02:00
Network CShell::[SG]etCurrentWorld() instead of putting it in INDEX console var 2016-04-18 18:52:52 +02: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 Resolved some 64bit issues, marked/commented some others 2016-04-17 23:35:04 +02: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