Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
aabtreecull.cpp File Reference
#include "aabtreecull.h"
#include "chunkio.h"
#include "iostruct.h"
#include <string.h>
#include "sphere.h"
#include "colmath.h"
#include "colmathinlines.h"

Go to the source code of this file.

Classes

struct  IOAABNodeStruct
 

Macros

#define AABNODE_ATTRIBUTE_FRONT_CHILD   0x00000001
 
#define AABNODE_ATTRIBUTE_BACK_CHILD   0x00000002
 

Enumerations

enum  {
  AABTREE_CHUNK_VERSION = 0x00000001 , AABTREE_CHUNK_AABNODE = 0x00000101 , AABTREE_CHUNK_AABNODE_INFO , AABTREE_CHUNK_AABNODE_CONTENTS ,
  AABTREE_CHUNK_AABNODE_VARIABLES , AABTREE_CHUNK_NODE_INDEX = 0x00000200 , AABTREE_VARIABLE_NODESTRUCT = 0x00 , AABTREE_VARIABLE_USERDATA
}
 

Functions

 DEFINE_AUTO_POOL (AABTreeLinkClass, 256)
 
 DEFINE_AUTO_POOL (AABTreeNodeClass, 256)
 

Variables

const uint32 AABTREE_CURRENT_VERSION = 0x00010000
 

Macro Definition Documentation

◆ AABNODE_ATTRIBUTE_BACK_CHILD

#define AABNODE_ATTRIBUTE_BACK_CHILD   0x00000002

Definition at line 84 of file aabtreecull.cpp.

◆ AABNODE_ATTRIBUTE_FRONT_CHILD

#define AABNODE_ATTRIBUTE_FRONT_CHILD   0x00000001

Definition at line 83 of file aabtreecull.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AABTREE_CHUNK_VERSION 
AABTREE_CHUNK_AABNODE 
AABTREE_CHUNK_AABNODE_INFO 
AABTREE_CHUNK_AABNODE_CONTENTS 
AABTREE_CHUNK_AABNODE_VARIABLES 
AABTREE_CHUNK_NODE_INDEX 
AABTREE_VARIABLE_NODESTRUCT 
AABTREE_VARIABLE_USERDATA 

Definition at line 64 of file aabtreecull.cpp.

Function Documentation

◆ DEFINE_AUTO_POOL() [1/2]

DEFINE_AUTO_POOL ( AABTreeLinkClass ,
256  )

◆ DEFINE_AUTO_POOL() [2/2]

DEFINE_AUTO_POOL ( AABTreeNodeClass ,
256  )

Variable Documentation

◆ AABTREE_CURRENT_VERSION

const uint32 AABTREE_CURRENT_VERSION = 0x00010000

Definition at line 58 of file aabtreecull.cpp.