// ======================================================================
//
// DebugPrintPlatform.def
// jeff grills
//
// copyright 1998 origin systems inc
//
// ======================================================================

#ifndef DEBUG_PRINT_PLATFORM_DEF
#define DEBUG_PRINT_PLATFORM_DEF

// ======================================================================

const int DP_P_BASE              = 0;

const int DP_P_MEMORY            = DP_P_BASE +  0;
const int DP_P_MEMORY_ALLOC      = DP_P_BASE +  1;
const int DP_P_DDRAW             = DP_P_BASE +  2;
const int DP_P_D3D               = DP_P_BASE +  3;
const int DP_P_DSOUND            = DP_P_BASE +  4;
const int DP_P_STREAMER          = DP_P_BASE +  5;
const int DP_P_TREE_FILE         = DP_P_BASE +  6;
const int DP_P_MOVIE_PLAYER      = DP_P_BASE +  7;
const int DP_P_SERIAL            = DP_P_BASE +  8;

// remember to update macros, ConfigPlatform.cpp and DebugMenu.cpp

const int DP_P_CNT               = DP_P_BASE +  9;

// ======================================================================
  
#define DPRINT_P_MEMORY(b)         DPRINT_FLAG(DP_P_MEMORY, b)
#define DPRINT_P_MEMORY_ALLOC(b)   DPRINT_FLAG(DP_P_MEMORY_ALLOC, b)
#define DPRINT_P_DDRAW(b)          DPRINT_FLAG(DP_P_DDRAW, b)
#define DPRINT_P_D3D(b)            DPRINT_FLAG(DP_P_D3D, b)
#define DPRINT_P_DSOUND(b)         DPRINT_FLAG(DP_P_DSOUND, b)
#define DPRINT_P_STREAMER(b)       DPRINT_FLAG(DP_P_STREAMER, b)
#define DPRINT_P_TREE_FILE(b)      DPRINT_FLAG(DP_P_TREE_FILE, b)
#define DPRINT_P_MOVIE_PLAYER(b)   DPRINT_FLAG(DP_P_MOVIE_PLAYER, b)
#define DPRINT_P_SERIAL(b)         DPRINT_FLAG(DP_P_SERIAL, b)

// ======================================================================

#endif
