src/ai/squirrel/squirrel.hpp
branchnoai
changeset 9426 b90c0d1a36b7
parent 9422 33efcc5f1b09
equal deleted inserted replaced
9425:8eec6d10844a 9426:b90c0d1a36b7
     2 
     2 
     3 /** @file squirrel.hpp declarations of the class for squirrel loader */
     3 /** @file squirrel.hpp declarations of the class for squirrel loader */
     4 
     4 
     5 #ifndef AI_SQUIRREL_HPP
     5 #ifndef AI_SQUIRREL_HPP
     6 #define AI_SQUIRREL_HPP
     6 #define AI_SQUIRREL_HPP
     7 
       
     8 #ifdef _UNICODE
       
     9 /* Disable unicode for squirrel to allow compilation with MINGW
       
    10  * and simplify coding for WIN32 (squirrel headers miss a lot of "string" functions)
       
    11  */
       
    12 #undef _UNICODE
       
    13 #endif
       
    14 #include <squirrel.h>
       
    15 #include "../core/ai_controller.hpp"
       
    16 #include "../core/ai_factory.hpp"
       
    17 #include "../../squirrel.hpp"
       
    18 
     7 
    19 class AIControllerSquirrel: public AIController {
     8 class AIControllerSquirrel: public AIController {
    20 private:
     9 private:
    21 	Squirrel *engine; ///< The Squirrel engine
    10 	Squirrel *engine; ///< The Squirrel engine
    22 	HSQOBJECT SQ_instance;  ///< The internal instance of squirrel
    11 	HSQOBJECT SQ_instance;  ///< The internal instance of squirrel