mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Partially done object scripting and interactions.
Most of 0.4 ;)
This commit is contained in:
11
global.h
11
global.h
@@ -3,6 +3,7 @@
|
||||
#define CHECKTIME 1
|
||||
#if CHECKTIME
|
||||
#include "timeHandler.h"
|
||||
#include <boost/logic/tribool.hpp>
|
||||
#include "int3.h"
|
||||
#include <iostream>
|
||||
#define THC
|
||||
@@ -48,4 +49,14 @@ const int NAMES_PER_TOWN=16;
|
||||
|
||||
#define DEFBYPASS
|
||||
|
||||
#define HANDLE_EXCEPTION \
|
||||
catch (const std::exception& e) { \
|
||||
std::cerr << e.what() << std::endl; \
|
||||
} \
|
||||
catch (const std::exception * e) \
|
||||
{ \
|
||||
std::cerr << e->what()<< std::endl; \
|
||||
delete e; \
|
||||
}
|
||||
|
||||
#endif //GLOBAL_H
|
||||
Reference in New Issue
Block a user