Files
wagic/projects/mtg/include/config.h
wagic.the.homebrew 9e314720e9 Erwan
- Parser: Added possibility to add multiple abilities for one cost, using keyword && (see Ardakar wastes in 10E). Currently only works with mana and damage
- Added a dozen new cards
- Improved testing suite : new keyword "choice" to select an item in the abilities popup menu
2009-01-18 06:42:59 +00:00

30 lines
471 B
C++

#ifndef _DEBUG_H_
#define _DEBUG_H_
#if defined (WIN32) || defined (LINUX)
#define TESTSUITE 1
#else
#define OutputDebugString(val) {}
#endif
#if defined (_DEBUG) && defined (WIN32)
#include "crtdbg.h"
#define NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
#else
#define NEW new
#endif
#ifdef LINUX
#ifdef _DEBUG
#define OutputDebugString(val) (std::cerr << val);
#else
#define OutputDebugString(val) {}
#endif
#endif
#ifndef RESPATH
#define RESPATH "Res"
#endif
#endif