Serious-Engine/Sources/Engine/Templates
Daniel Gibson d228b6a7a7 make all BSP-related tags size_t so they can store pointers
The tags are often initially assigned from pointers and then copied
around, even from one tag type to the other.
As BSPTree::MoveSubTreeToArray() uses them to get the original pointer,
we need the pointers anyway, so just CRC-ing the pointers doesn't seem
like a good option. As the tags are assigned from other tag-types
sometimes, I probably would have needed to add Pointers for the same
values in addition to the ULONG tags, that are also copied around along
the tags, to keep the tags ULONG - that seemed like a worse alternative.

However, when writing (via BSPTree::Write_t()) the bn_ulPlaneTag tag
needs to be ULONG, so there I actually use CRC for 64bit pointers (via
IntPtrToID()) - when restoring (in Read_t()), the pointers aren't valid
anymore anyway, so that all should somehow be fine.
I assume that Write_t() is only used by the Editor, anyway, so I fear I
won't be able to test that part of the code on Linux anytime soon.
2016-04-21 16:21:47 +02:00
..
AllocationArray.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
AllocationArray.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
BSP_internal.h make all BSP-related tags size_t so they can store pointers 2016-04-21 16:21:47 +02:00
BSP.cpp make all BSP-related tags size_t so they can store pointers 2016-04-21 16:21:47 +02:00
BSP.h Add GPL header to files 2016-03-11 18:20:51 -06:00
DynamicArray.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DynamicArray.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DynamicContainer.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DynamicContainer.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DynamicStackArray.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DynamicStackArray.h Add GPL header to files 2016-03-11 18:20:51 -06:00
HashTableTemplate.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
HashTableTemplate.h Add GPL header to files 2016-03-11 18:20:51 -06:00
LinearAllocator.cpp Add GPL header to files 2016-03-11 18:20:51 -06:00
LinearAllocator.h Add GPL header to files 2016-03-11 18:20:51 -06:00
NameTable_CTFileName.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
NameTable_CTFileName.h Add GPL header to files 2016-03-11 18:20:51 -06:00
NameTable_CTranslationPair.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
NameTable_CTranslationPair.h Add GPL header to files 2016-03-11 18:20:51 -06:00
NameTable.cpp Add GPL header to files 2016-03-11 18:20:51 -06:00
NameTable.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Selection.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Selection.h Add GPL header to files 2016-03-11 18:20:51 -06:00
StaticArray.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
StaticArray.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
StaticStackArray.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
StaticStackArray.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CAnimData.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CAnimData.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CAnimSet.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CAnimSet.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CEntityClass.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CEntityClass.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CMesh.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CMesh.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CModelData.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CModelData.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CShader.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CShader.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CSkeleton.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CSkeleton.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CSoundData.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CSoundData.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock_CTextureData.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock_CTextureData.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stock.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Stock.h Add GPL header to files 2016-03-11 18:20:51 -06:00