X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=139c6d9ca3f8d89569df3d3d612d19ae6d71bebc;hb=40a487dcc5d3028343ff9123a72b8b3839a42861;hp=292f04afcaab32c8d40033b1c30270c0196073fd;hpb=2357c391b4a587709627cc30316734b3c83c8134;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 292f04af..139c6d9c 100644 --- a/src/screens.c +++ b/src/screens.c @@ -44,6 +44,7 @@ void DrawHeadline() void DrawMainMenu() { int i; + char *name_text = (!options.network && setup.team_mode ? "Team:" : "Name:"); FadeSounds(); GetPlayerConfig(); @@ -51,7 +52,7 @@ void DrawMainMenu() ClearWindow(); DrawHeadline(); - DrawText(SX + 32, SY + 2*32, "Name:", FS_BIG, FC_GREEN); + DrawText(SX + 32, SY + 2*32, name_text, FS_BIG, FC_GREEN); DrawText(SX + 6*32, SY + 2*32, setup.alias_name, FS_BIG, FC_RED); DrawText(SX + 32, SY + 3*32, "Level:", FS_BIG, FC_GREEN); DrawText(SX + 11*32, SY + 3*32, int2str(level_nr,3), FS_BIG, @@ -70,14 +71,8 @@ void DrawMainMenu() DrawGraphic(10,3,GFX_PFEIL_L); DrawGraphic(14,3,GFX_PFEIL_R); - DrawText(SX+40+16,SY+326,"A Game by Artsoft Entertainment",FS_SMALL,FC_BLUE); - - /* - DrawText(SX+40+16,SY+344,"Graphics: Deluxe Paint IV Amiga", - FS_SMALL,FC_BLUE); - DrawText(SX+60+16,SY+362,"Sounds: AudioMaster IV Amiga", - FS_SMALL,FC_BLUE); - */ + DrawText(SX+56, SY+326, "A Game by Artsoft Entertainment", + FS_SMALL, FC_RED); if (leveldir[leveldir_nr].name) { @@ -94,7 +89,7 @@ void DrawMainMenu() TapeStop(); if (TAPE_IS_EMPTY(tape)) - LoadLevelTape(level_nr); + LoadTape(level_nr); DrawCompleteVideoDisplay(); OpenDoor(DOOR_CLOSE_1 | DOOR_OPEN_2); @@ -173,7 +168,7 @@ void HandleMainMenu(int mx, int my, int dx, int dy, int button) DrawMicroLevel(MICROLEV_XPOS,MICROLEV_YPOS); TapeErase(); - LoadLevelTape(level_nr); + LoadTape(level_nr); DrawCompleteVideoDisplay(); /* needed because DrawMicroLevel() takes some time */ @@ -250,8 +245,7 @@ void HandleMainMenu(int mx, int my, int dx, int dy, int button) game_status = EXITGAME; } - if (!button) - redraw = TRUE; + redraw = TRUE; } } BackToFront(); @@ -828,7 +822,7 @@ void HandleChooseLevel(int mx, int my, int dx, int dy, int button) SaveLevelSetup(); TapeErase(); - LoadLevelTape(level_nr); + LoadTape(level_nr); game_status = MAINMENU; DrawMainMenu(); @@ -855,7 +849,7 @@ void DrawHallOfFame(int pos) DrawText(SX+64,SY+10,"Hall Of Fame",FS_BIG,FC_YELLOW); sprintf(txt,"HighScores of Level %d",level_nr); DrawText(SX+256-strlen(txt)*7,SY+48,txt,FS_SMALL,FC_RED); - for(y=0;y