5d907f5abe
- Added a possibility to put a file "Res.txt" instead of the folder "Res". The file Res.txt is a simple 1 line text file, telling where to find the Res folder, terminated by "/". For example: "../../wagic_res". This addresses issue 428 . This could also help us in the future, to develop mods.
20 lines
293 B
C++
20 lines
293 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_FILE "debug.txt"
|
|
|
|
class Logger{
|
|
public:
|
|
static void Log(const char * text);
|
|
};
|
|
#define LOG(x) Logger::Log(x);
|
|
#else
|
|
#define LOG(x)
|
|
#endif
|
|
|
|
#endif
|