Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
wwmemlog.h File Reference

Go to the source code of this file.

Classes

class  WWMemoryLogClass
 
class  WWMemorySampleClass
 

Macros

#define WWMEMLOG_H
 
#define LOG_MEMORY
 
#define WWMEMLOG(category)
 

Enumerations

enum  {
  MEM_UNKNOWN = 0 , MEM_GEOMETRY , MEM_ANIMATION , MEM_TEXTURE ,
  MEM_PATHFIND , MEM_VIS , MEM_SOUND , MEM_CULLINGDATA ,
  MEM_STRINGS , MEM_GAMEDATA , MEM_PHYSICSDATA , MEM_W3DDATA ,
  MEM_STATICALLOCATION , MEM_GAMEINIT , MEM_RENDERER , MEM_NETWORK ,
  MEM_BINK , MEM_COUNT
}
 

Macro Definition Documentation

◆ LOG_MEMORY

#define LOG_MEMORY

Definition at line 47 of file wwmemlog.h.

◆ WWMEMLOG

#define WWMEMLOG ( category)

Definition at line 183 of file wwmemlog.h.

◆ WWMEMLOG_H

#define WWMEMLOG_H

Definition at line 45 of file wwmemlog.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Memory Log Categories You can cause memory allocations to be "counted" against any of the following categories. NOTE: if you add a new category here, be sure to add its name to the array in the .cpp file...

Enumerator
MEM_UNKNOWN 
MEM_GEOMETRY 
MEM_ANIMATION 
MEM_TEXTURE 
MEM_PATHFIND 
MEM_VIS 
MEM_SOUND 
MEM_CULLINGDATA 
MEM_STRINGS 
MEM_GAMEDATA 
MEM_PHYSICSDATA 
MEM_W3DDATA 
MEM_STATICALLOCATION 
MEM_GAMEINIT 
MEM_RENDERER 
MEM_NETWORK 
MEM_BINK 
MEM_COUNT 

Definition at line 56 of file wwmemlog.h.