map draw working with lil bugs

This commit is contained in:
Henrique
2011-08-11 02:52:30 -03:00
parent 3a5683b549
commit 651315d4cd
24 changed files with 616 additions and 163 deletions

View File

@@ -8,6 +8,7 @@
#include <ui/uiskins.h>
#include <script/luainterface.h>
#include <net/connection.h>
#include <../game.h>
Engine g_engine;
@@ -95,6 +96,9 @@ void Engine::run()
if(m_calculateFps)
defaultFont->renderText(fpsText, Point(g_graphics.getScreenSize().width() - fpsTextSize.width() - 10, 10));
// todo remove. render map
g_game.getMap()->draw(0, 0, g_graphics.getScreenSize().width(), g_graphics.getScreenSize().height());
g_graphics.endRender();
// swap buffers