src/ai/squirrel/squirrel.hpp
branchnoai
changeset 9389 cb4e3c4ae84e
parent 9387 4255a0a2d272
child 9393 04bd925b9069
equal deleted inserted replaced
9388:032008c3f6e3 9389:cb4e3c4ae84e
     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