- added a bit more lua and updated capture enemy flag

This commit is contained in:
Mark Vejvoda
2012-10-13 07:33:33 +00:00
parent 0180aa6bba
commit e63e634e1e
11 changed files with 346 additions and 11 deletions

View File

@@ -22,6 +22,10 @@ using std::string;
using Shared::Graphics::Vec2i;
using Shared::Graphics::Vec4i;
using Shared::Graphics::Vec2f;
using Shared::Graphics::Vec3f;
using Shared::Graphics::Vec4f;
using Shared::Xml::XmlNode;
namespace Shared { namespace Lua {
@@ -87,6 +91,12 @@ public:
void * getGenericData(int argumentIndex) const;
Vec2i getVec2i(int argumentIndex) const;
Vec4i getVec4i(int argumentIndex) const;
float getFloat(int argumentIndex) const;
Vec2f getVec2f(int argumentIndex) const;
Vec3f getVec3f(int argumentIndex) const;
Vec4f getVec4f(int argumentIndex) const;
int getReturnCount() const {return returnCount;}
void returnInt(int value);