Skip to content
Snippets Groups Projects
Commit 435331e9 authored by deuce's avatar deuce
Browse files

Update version to 2.01, remote the last traces of a local console display

while not in a local screen.
parent 2877b432
No related branches found
No related tags found
No related merge requests found
......@@ -33,9 +33,7 @@ protov(void)
od_set_color(3, 0);
od_printf("OMBAT ");
od_set_color(11, 0);
od_printf("2.xx %s ", __version);
od_set_color(3, 0);
od_printf("(Trial Release) ");
od_printf("v%s ", __version);
od_set_color(11, 0);
od_printf("**********!\n\r");
od_set_color(15, 0);
......@@ -59,21 +57,23 @@ protov(void)
od_set_color(7, 0);
od_printf("aar\n\n\r");
/* od_set_color(7,0); od_printf("Program: ");
*
* if(statis) od_printf("Registered\n\r"); else
* od_printf("Unregistered\n\r");
*
* od_printf("Interbbs: n/a (Local Game Only)\n\r");
*
* od_printf("Synchronet: n/a (Project Discontinued)\n\n\r"); */
od_set_color(7,0); od_printf("Program: ");
if(statis) od_printf("Registered\n\r"); else
od_printf("Unregistered\n\r");
od_printf("Interbbs: n/a (Local Game Only)\n\r");
od_printf("Synchronet: n/a (Project Discontinued)\n\n\r");
/*
od_set_color(7, 0);
od_printf("This version is intended to be run SysOps who wish to participate in the M.E.\n\r");
od_printf("game testing program. You will be automatically listed as an OFFICIAL site in\n\r");
od_printf("our next release upon report of ANY program malfunction. Simply report the\n\r");
od_printf("nature and location of the error. Not only will your BBS be advertised nation\n\r");
od_printf("wide, but you will be able to enjoy error free games!\n\r");
*/
od_set_color(15, 0);
od_printf("Laurence Maar (909)861-1616. 1415 Valeview Dr. Diamond Bar, CA 91765-4337\n\n\r");
......
o...........................................................................o
oo
o ***** Smurf Combat 2.xx DELTAxx ***** o
o ***** Smurf Combat 2.xx ***** o
oo
o The prerequisite for winning this game is [now]:o
o100,000,000 Experience Points + Defeat of Grandpa Smurfo
......@@ -14,8 +14,7 @@ oo
o Report any instances of program malfunction immediately to Maartian Ent. o
o Laurence Maar (909)861-1616 1415 Valeview Dr. Diamond Bar, CA 91765. o
oo
o Please limit number of copies in distribution. o
o Your karma will reflect your efforts. o
oo
o...........................................................................o

\ No newline at end of file

......@@ -108,6 +108,7 @@ __DAY__main(void)
int hostage[1000], holder[1000], hcount;
getdate(&d);
#ifdef TODO_LOCAL_DISPLAY
textcolor(12);
cprintf("\n S M U R F C O M B A T\n\n\r");
textcolor(10);
......@@ -126,6 +127,7 @@ __DAY__main(void)
od_sleep(200);
textcolor(14);
cprintf("Success.\n\r");
#endif
sprintf(newdate, "%02d%02d%04d", d.da_day, d.da_mon, d.da_year);
stream = fopen("smurf.cfg", "r+");
fscanf(stream, "%3s", intext);
......@@ -140,12 +142,15 @@ __DAY__main(void)
fprintf(stream, "%8s", newdate);
fprintf(stream, "\n\r\n\r1. Arena Rounds/Day ###\n\r2. Turns/Day ###\n\r3. Last Ran Date DDMMYYYY\n\r");
fclose(stream);
#ifdef TODO_LOCAL_DISPLAY
textcolor(13);
cprintf("Loading Smurf Players: ");
od_sleep(200);
textcolor(14);
#endif
loadgame();
backgame();
#ifdef TODO_LOCAL_DISPLAY
cprintf("Success.\n\r");
textcolor(13);
cprintf("Loading Hostage Intellegence: ");
......@@ -156,6 +161,7 @@ __DAY__main(void)
cprintf(".");
}
cprintf("Success.\n\r");
#endif
stream = fopen("smurf.hst", "r+");
cyc = 0;
......@@ -177,8 +183,10 @@ __DAY__main(void)
}
}
#ifdef TODO_LOCAL_DISPLAY
textcolor(13);
cprintf("Reseting Variables: ");
#endif
stream = fopen("smurf.hst", "a+");
fclose(stream);
......@@ -214,6 +222,7 @@ __DAY__main(void)
fclose(stream);
sleep(1);
#ifdef TODO_LOCAL_DISPLAY
textcolor(14);
for (cyc = 0; cyc < noplayers; cyc++) {
od_sleep(50);
......@@ -226,6 +235,7 @@ __DAY__main(void)
cprintf("Animating Cpu Players: ");
od_sleep(100);
textcolor(14);
#endif
for (cyc = 0; cyc < noplayers; cyc++) {
if (realnumb[cyc] == 0) {
......@@ -250,11 +260,15 @@ __DAY__main(void)
fclose(logstream);
hostage[cyc2] = 255;
holder[cyc2] = 255;
#ifdef TODO_LOCAL_DISPLAY
od_sleep(200);
cprintf("$");
#endif
}
#ifdef TODO_LOCAL_DISPLAY
od_sleep(200);
cprintf("@");
#endif
for (cyc3 = 0; cyc3 < turnsaday; cyc3++) {
mod = smurflevel[cyc] / 2;
if (mod < 1)
......@@ -270,13 +284,18 @@ __DAY__main(void)
__DAY__checklevel();
}
} else {
#ifdef TODO_LOCAL_DISPLAY
od_sleep(50);
cprintf(".");
#endif
}
} cprintf("Success.\n\r");
}
#ifdef TODO_LOCAL_DISPLAY
cprintf("Success.\n\r");
textcolor(13);
cprintf("Saving Player Game File: ");
#endif
stream = fopen("smurf.hst", "w+");
fprintf(stream, "255255");
for (cyc = 0; cyc < hcount; cyc++)
......@@ -296,6 +315,7 @@ __DAY__main(void)
} while (feof(stream) == 0);
fclose(stream);
#ifdef TODO_LOCAL_DISPLAY
od_sleep(200); /* stream = fopen("smurf.log",
* "a+");fprintf(stream, "SPAWN:)
* Logon Maintenance.\n\r");
......@@ -304,8 +324,11 @@ __DAY__main(void)
cprintf("Success.\n\r");
textcolor(13);
cprintf("Writing Today Log File: ");
#endif
stream = fopen("smurf.new", "w+");
#ifdef TODO_LOCAL_DISPLAY
od_sleep(200);
#endif
for (cyc = 0; cyc < noplayers; cyc++) {
if (realnumb[cyc] == 0) {
if (gain[cyc] > 0)
......@@ -318,9 +341,11 @@ __DAY__main(void)
}
fclose(stream);
savegame();
#ifdef TODO_LOCAL_DISPLAY
textcolor(14);
cprintf("Success.\n\r"); /* stream = fopen("smurf.log",
* "a+");fprintf(stream, "SPAWN:)
* Disconnect Maintenance.\n\r");
* fclose(stream); */
#endif
}
......@@ -28,10 +28,10 @@ main()
textcolor(11);
cprintf(" Programme Code : ");
gets(temp_string);
cgets(temp_string);
security_code = atoi(temp_string);
cprintf(" Repetez : ");
gets(temp_string);
cgets(temp_string);
security_verification = atoi(temp_string);
if (security_code != security_verification) {
printf("\nCodes ne match pas!\n");
......@@ -39,9 +39,9 @@ main()
}
textcolor(11);
cprintf(" Individule Nom : ");
gets(registration_string);
cgets(registration_string);
cprintf(" Repetez : ");
gets(registration_verification);
cgets(registration_verification);
if (strcmp(registration_string, registration_verification) != 0) {
printf("\nStrings ne match pas!\n");
return (1);
......
char *__version = "DELTA1A";
char *__vspace = " ";
char *__saveversion = "v177v";
char *__vnew = "BETA";
char *__vnewsp = "";
char *__vday = "BETA";
char *__version = "2.01";
char *__vspace = " ";
char *__saveversion = "v201v";
char *__vnew = "2.01";
char *__vnewsp = " ";
char *__vday = "2.01";
char *__vdaysp = "";
char *__vcnv = "BETA";
char *__vcnvsp = "";
char *__vkey = "1.0";
char *__vcnv = "2.01";
char *__vcnvsp = " ";
char *__vkey = "2.01";
char *__vkeysp = " ";
char *__vlog = "1.0";
char *__vlog = "2.01";
char *__vlogsp = " ";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment