Serious-Engine/Sources/Engine/Base
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
..
SDL Better #if condition, and add a warning to be better checked latter 2016-04-13 08:21:50 +02:00
Unix Enabled Multi-Threading (as an option) + OpenPandora specific changes (for Shoulder As Mouse Buttons) 2016-04-12 22:29:39 +02:00
Win32 Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Anim.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Anim.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Assert.h First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
Base.h Add GPL header to files 2016-03-11 18:20:51 -06:00
bison.simple Uploading full engine sources 2016-03-11 15:57:17 +02:00
Changeable.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Changeable.h Add GPL header to files 2016-03-11 18:20:51 -06:00
ChangeableRT.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Console_internal.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Console.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Console.h Add GPL header to files 2016-03-11 18:20:51 -06:00
CRC.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
CRC.h Add ULONG PointerToID(void*) and IntPtrToID(size_t) that CRC 64bit pointers 2016-04-21 16:21:47 +02:00
CRCTable.cpp Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
CRCTable.h Add GPL header to files 2016-03-11 18:20:51 -06:00
CTString.cpp Change CTString.Match to treat backslashes as slash (fixes Netrisca categories for new messages) 2016-04-09 14:15:33 +02:00
CTString.h First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
CTString.inl First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
Directory.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DynamicLoader.h First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
ErrorReporting.cpp First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
ErrorReporting.h Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
ErrorTable.h Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
FileName.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
FileName.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
FileSystem.h First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
FLEX.skl Uploading full engine sources 2016-03-11 15:57:17 +02:00
GroupFile.h Add GPL header to files 2016-03-11 18:20:51 -06:00
IFeel.cpp Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
IFeel.h Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
Input.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Input.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
KeyNames.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
ListIterator.inl First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
Lists.cpp Better #if condition, and add a warning to be better checked latter 2016-04-13 08:21:50 +02:00
Lists.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Lists.inl Uploading full engine sources 2016-03-11 15:57:17 +02:00
Memory.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Memory.h Add GPL header to files 2016-03-11 18:20:51 -06:00
NullSynchronization.cpp First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
parser.h Regenerated parsers and scanners. 2016-04-01 15:17:48 -04:00
Parser.y Fixed function signature for yyerror to take a const char *. 2016-04-01 12:19:18 -04:00
ParsingSymbols.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Priority.inl First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
Profiling.cpp gettimeofday is not reliable on PANDORA, so use clock_gettime instead 2016-04-06 13:56:26 +02:00
Profiling.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
ProfilingEnabled.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
ProgressHook.cpp Float fest\! 2016-04-07 18:13:50 +02:00
ProgressHook.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Protection.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Protection.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Registry.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Registry.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Relations.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Relations.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
ReplaceFile.cpp First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
ReplaceFile.h Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
Scanner.l Case fixing of an include 2016-04-06 13:38:09 +02:00
Serial.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Serial.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Shell_internal.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Shell.cpp CShell::[SG]etCurrentWorld() instead of putting it in INDEX console var 2016-04-18 18:52:52 +02:00
Shell.h CShell::[SG]etCurrentWorld() instead of putting it in INDEX console var 2016-04-18 18:52:52 +02:00
ShellTypes.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
StackDump.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Statistics_Internal.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Statistics.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Statistics.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stream.cpp Better #if condition, and add a warning to be better checked latter 2016-04-13 08:21:50 +02:00
Stream.h First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Synchronization.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
ThreadLocalStorage.h First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
Timer.cpp Merge pull request #24 from ptitSeb/master 2016-04-15 14:52:56 -04:00
Timer.h Enabled Multi-Threading (as an option) + OpenPandora specific changes (for Shoulder As Mouse Buttons) 2016-04-12 22:29:39 +02:00
Timer.inl First attempt to hand-merge Ryan's Linux and Mac OS X port. 2016-03-28 23:46:13 -04:00
Translation.cpp Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
Translation.h Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
TranslationPair.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Types.h Change PLATFORM_32/64BIT detection 2016-04-21 16:21:47 +02:00
Unzip.cpp First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
Unzip.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Updateable.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Updateable.h Add GPL header to files 2016-03-11 18:20:51 -06:00
UpdateableRT.h Add GPL header to files 2016-03-11 18:20:51 -06:00