summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-02 14:46:48 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-02 14:46:48 +0000
commita294e49ed9994902251b536ffba853f056453ddd (patch)
tree14574a1a26082ce24a4aa01df7a80b6dce88002b /src/gui
parent13d5e9993dcbfd6a8790ae230950de9a4620932e (diff)
downloadmana-a294e49ed9994902251b536ffba853f056453ddd.tar.gz
mana-a294e49ed9994902251b536ffba853f056453ddd.tar.bz2
mana-a294e49ed9994902251b536ffba853f056453ddd.tar.xz
mana-a294e49ed9994902251b536ffba853f056453ddd.zip
Removed Allegro datafile graphic.dat
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/char_select.cpp4
-rw-r--r--src/gui/char_server.cpp2
-rw-r--r--src/gui/login.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 04fa5317..eaada80d 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -225,7 +225,7 @@ void charSelect()
}
// Draw background
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
@@ -312,7 +312,7 @@ void charCreate()
state != CHAR_SELECT)
{
// Draw background
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp
index 6fcb98d1..38fb0595 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -108,7 +108,7 @@ void char_server() {
showServerList = 1;
while (showServerList) {
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
blit(buffer, screen, 0, 0, 0, 0, 800, 600);
}
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 45968c25..bf294c32 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -127,7 +127,7 @@ void login() {
LoginDialog *dialog = new LoginDialog(guiTop);
while (state == LOGIN) {
- blit((BITMAP *)graphic[LOGIN_BMP].dat, buffer, 0, 0, 0, 0, 800, 600);
+ blit(login_wallpaper, buffer, 0, 0, 0, 0, 800, 600);
gui_update(NULL);
blit(buffer, screen, 0, 0, 0, 0, 800, 600);
if (key[KEY_ESC]) {