Serious-Engine/Sources
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
..
cmake FindSDL2.cmake: Added module to help find system libraries for SDL2 2016-04-12 01:21:25 -04:00
DecodeReport Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DedicatedServer DedicatedServer: declare a dummy _hwndMain 2016-04-13 02:25:58 +01:00
Depend Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Ecc Don't #include <malloc.h> on Linux, only on Windows 2016-04-17 01:06:39 +02:00
Engine Add ULONG PointerToID(void*) and IntPtrToID(size_t) that CRC 64bit pointers 2016-04-21 16:21:47 +02:00
EngineGui Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Entities CShell::[SG]etCurrentWorld() instead of putting it in INDEX console var 2016-04-18 18:52:52 +02:00
EntitiesMP EntitiesMP/Common/Particles.cpp: Don't access afStarsPositions[i][3] 2016-04-18 19:37:02 +02:00
External First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
GameGUIMP Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
GameMP Fix some more warnings, Warning about supressed warnings in cmake 2016-04-18 19:10:52 +02:00
LWSkaExporter Fixes II 2016-03-23 20:42:20 +03:00
MakeFONT Add GPL header to files 2016-03-11 18:20:51 -06:00
Modeler Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Models Add GPL header to files 2016-03-11 18:20:51 -06:00
ModelsMP Add GPL header to files 2016-03-11 18:20:51 -06:00
RCon Add GPL header to files 2016-03-11 18:20:51 -06:00
SeriousSam Fix some more warnings, Warning about supressed warnings in cmake 2016-04-18 19:10:52 +02:00
SeriousSkaStudio Remove generated files 2016-03-14 02:55:58 +03:00
Shaders First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
WorldEditor CShell::[SG]etCurrentWorld() instead of putting it in INDEX console var 2016-04-18 18:52:52 +02:00
All.sln Engine: Return dynamic vorbisfile library loading. 2016-04-03 23:45:57 +03:00
bison.simple Uploading full engine sources 2016-03-11 15:57:17 +02:00
build-linux32.sh build-linux32.sh: Renamed build-linux.sh build script to show which arch it is compiling 2016-04-19 04:41:55 -04:00
build-linux64.sh build-linux32.sh: Renamed build-linux.sh build script to show which arch it is compiling 2016-04-19 04:41:55 -04:00
build-mac.sh Build on Mac OS X with reported number of CPU cores. 2016-04-03 00:00:04 -04:00
CMakeLists.txt CMakeLists.txt: Applied some changes Ryan wanted with the c/cxx flags. 2016-04-19 18:16:45 -04:00