equal
deleted
inserted
replaced
4 |
4 |
5 #ifndef SQUIRREL_HPP |
5 #ifndef SQUIRREL_HPP |
6 #define SQUIRREL_HPP |
6 #define SQUIRREL_HPP |
7 |
7 |
8 #include "../core/ai_controller.hpp" |
8 #include "../core/ai_controller.hpp" |
|
9 #ifdef _UNICODE |
|
10 /* Disable unicode for squirrel to allow compilation with MINGW |
|
11 * and simplify coding for WIN32 (squirrel headers miss a lot of "string" functions) |
|
12 */ |
|
13 #undef _UNICODE |
|
14 #endif |
9 #include <squirrel.h> |
15 #include <squirrel.h> |
10 |
16 |
11 class Squirrel: public AIController { |
17 class Squirrel: public AIController { |
12 private: |
18 private: |
13 HSQUIRRELVM vm; ///< The Virtual Machine for squirrel |
19 HSQUIRRELVM vm; ///< The Virtual Machine for squirrel |