just fixes

* fix battle rendering
* fix rendering glitch when following creatures
* properly throw exceptions from C++ to lua and avoid exception crashs
* fixes rendering states in framebuffer
This commit is contained in:
Eduardo Bart
2012-06-06 11:10:35 -03:00
parent 7a529d23be
commit bb1fb939c4
17 changed files with 70 additions and 90 deletions

View File

@@ -24,7 +24,6 @@
#define INPUTMESSAGE_H
#include "declarations.h"
#include "networkexception.h"
#include <framework/luascript/luaobject.h>
class InputMessage : public LuaObject
@@ -79,6 +78,7 @@ protected:
private:
bool canRead(int bytes);
void checkRead(int bytes);
void checkWrite(int bytes);
uint16 m_headerPos;
uint16 m_readPos;