(svn r9448) [NoAI] -Codechange: extend the squirrel_export script to update ai_squirrel too.
/* $Id$ */
/** @file squirrel_std.hpp defines the Squirrel Standard Function class */
#ifndef SQUIRREL_STD_HPP
#define SQUIRREL_STD_HPP
/**
* By default we want to give a set of standard commands to a SQ script.
* Most of them are easy wrappers around internal functions. Of course we
* could just as easy include things like the stdmath of SQ, but of those
* functions we are sure they work on all our supported targets.
*/
class SquirrelStd {
public:
/**
* Make an integer absolute.
*/
static SQInteger abs(HSQUIRRELVM vm);
};
/**
* Register all standard functions we want to give to a script.
*/
void squirrel_register_std(Squirrel *engine);
#endif /* SQUIRREL_STD_HPP */