mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
map draw working with lil bugs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user