mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-02-05 18:45:49 +01:00
599f644328
introduced PLATFORM_32BIT and PLATFORM_64BIT macros, so you can do #ifdef PLATFORM_64BIT if you need to. I needed that for CDrawPort::GetID() to properly CRC a pointer. Also added a sanity check in Engine/Base/Types.h that makes sure that uintprt_t and size_t have the same size, as the code uses size_t to store pointers (or cast from pointer to int) all over the place. Made some "tags" from Engine/Templates/BSP_internal.h size_t instead of ULONG - they're used to store pointers to identify vertices and such, so they'd better be big enough to actually store a pointer. Some more are still missing.