Updated the graphics a bit
@@ -44,8 +44,8 @@ Lobby::Lobby() {
|
|||||||
cout << "entering Lobby" << endl;
|
cout << "entering Lobby" << endl;
|
||||||
#endif
|
#endif
|
||||||
refreshButton.Setup(50, 50, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Refresh");
|
refreshButton.Setup(50, 50, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Refresh");
|
||||||
joinButton.Setup(50, 100, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Join");
|
joinButton.Setup(50, 50 + surfaceMgr->Get("button")->h/3, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Join");
|
||||||
backButton.Setup(50, 150, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Back");
|
backButton.Setup(50, 50 + surfaceMgr->Get("button")->h/3 * 2, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Back");
|
||||||
|
|
||||||
font.SetSurface(surfaceMgr->Get("font"));
|
font.SetSurface(surfaceMgr->Get("font"));
|
||||||
listBox.x = 280;
|
listBox.x = 280;
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ MainMenu::MainMenu() {
|
|||||||
cout << "entering MainMenu" << endl;
|
cout << "entering MainMenu" << endl;
|
||||||
#endif
|
#endif
|
||||||
startButton.Setup(50, 50, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Start");
|
startButton.Setup(50, 50, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Start");
|
||||||
optionsButton.Setup(50, 100, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Options");
|
optionsButton.Setup(50, 50 + surfaceMgr->Get("button")->h/3, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Options");
|
||||||
quitButton.Setup(50, 150, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Quit");
|
quitButton.Setup(50, 50 + surfaceMgr->Get("button")->h/3 * 2, surfaceMgr->Get("button"), surfaceMgr->Get("font"), "Quit");
|
||||||
}
|
}
|
||||||
|
|
||||||
MainMenu::~MainMenu() {
|
MainMenu::~MainMenu() {
|
||||||
|
|||||||
@@ -74,8 +74,8 @@ void SplashScreen::RenderFrame() {
|
|||||||
|
|
||||||
void SplashScreen::LoadResources() {
|
void SplashScreen::LoadResources() {
|
||||||
//standard
|
//standard
|
||||||
surfaceMgr->Load("font", configUtil->String("fonts") + "/pokemon_dark_font.bmp");
|
surfaceMgr->Load("font", configUtil->String("fonts") + "/pk_white_8.bmp");
|
||||||
surfaceMgr->Load("button", configUtil->String("interface") + "/button.bmp");
|
surfaceMgr->Load("button", configUtil->String("interface") + "/button_menu.bmp");
|
||||||
|
|
||||||
//debugging
|
//debugging
|
||||||
surfaceMgr->Load("elliot", configUtil->String("sprites") + "/elliot2.bmp");
|
surfaceMgr->Load("elliot", configUtil->String("sprites") + "/elliot2.bmp");
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 12 KiB |