Skip to content

Commit

Permalink
Remove author credits from menu/game
Browse files Browse the repository at this point in the history
  • Loading branch information
vicgeralds committed Jun 21, 2018
1 parent 5834005 commit e3d85e3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
6 changes: 1 addition & 5 deletions src/menu/men_ansi.c
Expand Up @@ -12,11 +12,7 @@ int startupmenu(int i)
{
while (1) {
print_vitetris_ver(19, 4);
newln(0);
newln(19);
printstr("Written by"); newln(19);
printstr("Victor Nilsson"); newln(19);
printstr("2007-2009");

i = startup_menu(i-1, 1, 4);
# ifndef TTY_SOCKET
if (!i)
Expand Down
28 changes: 0 additions & 28 deletions src/textgfx/allegro_win.c
Expand Up @@ -81,39 +81,11 @@ void setcolorpair(int clr)
set_color_pair(clr);
}

static void print_copyright()
{
BITMAP *bmp;
int x, y = SCREEN_H-16;
int fg = makecol(170, 170, 170);
int i;
if (is_windowed_mode())
bmp = virt_screen;
else
bmp = screen;
textout_ex(bmp, font, "Copyright 2007-2009 Victor Nilsson",
8, y, fg, 0);
/* draw copyright symbol */
x = 88;
vline(bmp, x, y+2, y+5, fg);
vline(bmp, x+7, y+2, y+5, fg);
vline(bmp, x+2, y+3, y+4, fg);
for (i=1; i > -2; i -= 2) {
hline(bmp, x+2, y, x+5, fg);
y += i;
putpixel(bmp, x+1, y, fg);
putpixel(bmp, x+6, y, fg);
hline(bmp, x+3, y+i, x+4, fg);
y += 6;
}
}

void textgfx_entermenu()
{
clear_bitmap(virt_screen);
margin_x = getmargin_x();
win_y = 1;
print_copyright();
draw_tetris_logo(0, 0);
print_vitetris_ver(19, 4);
}
Expand Down
4 changes: 0 additions & 4 deletions src/textgfx/curses_win.c
Expand Up @@ -112,10 +112,6 @@ static void print_ver_author()
window = stdscr;
attrset(A_NORMAL);
print_vitetris_ver(-margin_x, 0);
y = term_height-3;
mvaddstr(y, 0, "Written by");
mvaddstr(y+1,0, "Victor Nilsson");
mvaddstr(y+2,0, "2007-2009");
}
}
#endif
Expand Down

0 comments on commit e3d85e3

Please sign in to comment.