diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-13 23:38:31 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-13 23:38:31 +0000 |
commit | 65c1d2b0b022de1340509738e65314474e2eb141 (patch) | |
tree | 2bbda5306b2a03d1e68455456fe1e65edd4e157e /src/gui | |
parent | 0b6e2b1e4a256da0c2418af63df1c90e9a120690 (diff) | |
download | mana-65c1d2b0b022de1340509738e65314474e2eb141.tar.gz mana-65c1d2b0b022de1340509738e65314474e2eb141.tar.bz2 mana-65c1d2b0b022de1340509738e65314474e2eb141.tar.xz mana-65c1d2b0b022de1340509738e65314474e2eb141.zip |
Added heavily modified resource manager by zenogais that is currently using
Allegro to load/draw images. Only the login wallpaper is currently loaded
using the resource manager and the resource manager still waits with searching
for available files until they are asked for instead of indexing what is
available.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/char_select.cpp | 2 | ||||
-rw-r--r-- | src/gui/char_server.cpp | 2 | ||||
-rw-r--r-- | src/gui/login.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 259a01b9..87a30000 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -437,7 +437,7 @@ void charSelect() } // Draw background - blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600); + login_wallpaper->draw(buffer, 0, 0); gui->update(); diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp index 82c5f05e..3b9d03c8 100644 --- a/src/gui/char_server.cpp +++ b/src/gui/char_server.cpp @@ -117,7 +117,7 @@ void char_server() { showServerList = 1; while (showServerList) { - blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600); + login_wallpaper->draw(buffer, 0, 0); gui->update(); blit(buffer, screen, 0, 0, 0, 0, 800, 600); } diff --git a/src/gui/login.cpp b/src/gui/login.cpp index b1e8b43e..6db212b2 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -131,7 +131,7 @@ void login() { LoginDialog *dialog = new LoginDialog(); while (state == LOGIN) { - blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600); + login_wallpaper->draw(buffer, 0, 0); gui->update(); blit(buffer, screen, 0, 0, 0, 0, 800, 600); if (key[KEY_ESC]) { |