forked from kastian/dictator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintro.c
36 lines (30 loc) · 866 Bytes
/
intro.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
Display intro screen
Copyright (C) 1983 Don Priestley - original zx-basic code.
Copyright (C) 1983 DkTRONICS - original zx-basic code.
2015 #kstn - port to C.
*/
#include "intro.h"
void intro()
{
erase();
mvprintw( 4, 24, " DICTATOR ");
mvprintw( 6, 24, " Remake of old SPECTRUM Game ");
mvprintw( 8, 24, " Devised and Written by ");
mvprintw(10, 24, " Don PRIESTLEY ");
mvprintw(14, 24, " Copyright ");
addch('D');
addch('k' | YELLOW);
addch('T');
addch('R' | GREEN);
addch('O' | CYAN);
addch('N' | GREEN);
addch('I' | CYAN);
addch('C' | GREEN);
addch('S' | CYAN);
printw(" 1983");
mvprintw(16, 24, " Rewritten in C by #kstn (2015)");
mvprintw(18, 24, " Press any key to play ");
mvprintw(20, 24, " Or Ctrl-C to exit ");
getch();
}