text edit improvments (not finished)

This commit is contained in:
Eduardo Bart
2011-04-14 23:13:53 -03:00
parent e01bd17510
commit f1475c0569
16 changed files with 375 additions and 226 deletions

View File

@@ -61,6 +61,8 @@ public:
/// Enable FPS counter on screen
void enableFpsCounter(bool enable = true) { m_calculateFps = enable; };
int getLastFrameTicks() const { return m_lastFrameTicks; }
private:
/// Called to render every frame
void render();
@@ -70,6 +72,7 @@ private:
bool m_calculateFps;
GameState *m_currentState;
int m_lastFrameTicks;
};
extern Engine g_engine;