- fix issue 392 (broken tests) - Fix a bunch of memory leaks (guys please be careful!) - Added Logging facility in JGE - HBL Compatibility (cleaned up some code with MP3 in JGE) - Added "winGame" ability. Currently used mostly by the story mode, but some cards could probably need it too - Improved story mode and uncommented it from the source. -- The current campaign is of course very basic, anybody who wants to improve it or create other ones feel free to do so -- TODO (short term): save progress, rewards system, improve tutorial campaign -- I'll talk a bit more about this on the forums/email after a night of sleep
21 lines
304 B
C++
21 lines
304 B
C++
#ifndef _LOGGER_H
|
|
#define _LOGGER_H_
|
|
|
|
//TODO Remove this and use the jge logging facility (same system)
|
|
//#define DOLOG
|
|
|
|
#ifdef DOLOG
|
|
#define LOG(x) Logger::Log(x);
|
|
#else
|
|
#define LOG(x)
|
|
#endif
|
|
|
|
#define LOG_FILE RESPATH"/debug.txt"
|
|
|
|
class Logger{
|
|
public:
|
|
static void Log(const char * text);
|
|
};
|
|
|
|
#endif
|