Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
shattersystem.cpp File Reference
#include "shattersystem.h"
#include "assetmgr.h"
#include "mesh.h"
#include "meshmdl.h"
#include "dynamesh.h"
#include "htree.h"
#include "plane.h"
#include "simplevec.h"
#include "wwstring.h"
#include "vp.h"
#include "meshmatdesc.h"
#include <stdlib.h>

Go to the source code of this file.

Classes

class  MeshMtlParamsClass
 
class  VertexClass
 
class  PolygonClass
 
class  BSPClass
 

Macros

#define SHATTER_DEBUG_LOG_ENABLED   0
 
#define SHATTER_DEBUG_SAY(x)
 
#define SHATTER_PATTERN_FORMAT   "ShatterPlanes%d"
 
#define BPT_FRONT   0x01
 
#define BPT_BACK   0x02
 
#define BPT_ON   0x04
 
#define BPT_BOTH   0x08
 
#define BPT_EPSILON   0.0001f
 
#define BPT_COINCIDENCE_EPSILON   0.000001f
 

Enumerations

enum  { MAX_MESH_FRAGMENTS = 32 }
 

Macro Definition Documentation

◆ BPT_BACK

#define BPT_BACK   0x02

Definition at line 67 of file shattersystem.cpp.

◆ BPT_BOTH

#define BPT_BOTH   0x08

Definition at line 69 of file shattersystem.cpp.

◆ BPT_COINCIDENCE_EPSILON

#define BPT_COINCIDENCE_EPSILON   0.000001f

Definition at line 71 of file shattersystem.cpp.

◆ BPT_EPSILON

#define BPT_EPSILON   0.0001f

Definition at line 70 of file shattersystem.cpp.

◆ BPT_FRONT

#define BPT_FRONT   0x01

Definition at line 66 of file shattersystem.cpp.

◆ BPT_ON

#define BPT_ON   0x04

Definition at line 68 of file shattersystem.cpp.

◆ SHATTER_DEBUG_LOG_ENABLED

#define SHATTER_DEBUG_LOG_ENABLED   0

Definition at line 55 of file shattersystem.cpp.

◆ SHATTER_DEBUG_SAY

#define SHATTER_DEBUG_SAY ( x)

Definition at line 59 of file shattersystem.cpp.

◆ SHATTER_PATTERN_FORMAT

#define SHATTER_PATTERN_FORMAT   "ShatterPlanes%d"

Definition at line 64 of file shattersystem.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_MESH_FRAGMENTS 

Definition at line 215 of file shattersystem.cpp.