/* * games/_shared/ - shared routines for games * * stshared.c - standard shared subroutines library * ____________________________________________________________ * * Developed by Ondrej Jombik * Copyright (c) 1997-2000 Condy software inc. * Copyright (c) 2001-2004 Platon SDG, http://platon.sk/ * All rights reserved. * * See README file for more information about this software. * See COPYING file for license information. * * Download the latest version from * http://platon.sk/projects/games/ */ /* $Platon: games/_shared/stshared.c,v 1.7 2004/04/06 09:05:13 nepto Exp $ */ void endstring(const char *s) /* {{{ */ { #if 0 /* This is old endstring */ BYTE __copyright[] = { 0x89,0x9a,0x8d,0x8c,0x96,0x90,0x91,0xaf,0x8d,0x90,0x98,0x8d,0x9e,0x92,0x92, 0x9a,0x9b,0xdf,0x9d,0x86,0xdf,0xb0,0x91,0x9b,0x8d,0x9a,0x95,0xdf,0xb5,0x90, 0x92,0x9d,0x5e,0x94,0xf2,0xf5,0xbc,0x90,0x8f,0x86,0x8d,0x96,0x98,0x97,0x8b, 0xdf,0xd7,0x9c,0xd6,0xdf,0xbc,0x90,0x91,0x9b,0x86,0xdf,0x8c,0x90,0x99,0x8b, 0x88,0x9e,0x8d,0x9a,0xdf,0x96,0x91,0x9c,0xd1,0xf2,0xf5,0xbe,0x93,0x93,0xdf, 0x8d,0x96,0x98,0x97,0x8b,0x8c,0xdf,0x8d,0x9a,0x8c,0x9a,0x8d,0x89,0x9a,0x9b, 0xd1,0x00 }; #endif BYTE __copyright[] = { 0x89,0x9a,0x8d,0x8c,0x96,0x90,0x91,0xbb,0x9a,0x89,0x9a,0x93,0x90,0x8f,0x9a, 0x9b,0xdf,0x9d,0x86,0xdf,0xb0,0x91,0x9b,0x8d,0x9a,0x95,0xdf,0xb5,0x90,0x92, 0x9d,0x96,0x94,0xdf,0xc3,0x91,0x9a,0x8f,0x8b,0x90,0xbf,0x8f,0x93,0x9e,0x8b, 0x90,0x91,0xd1,0x8c,0x94,0xc1,0xf5,0xf2,0xbc,0x90,0x8f,0x86,0x8d,0x96,0x98, 0x97,0x8b,0xdf,0xd7,0x9c,0xd6,0xdf,0xce,0xc6,0xc6,0xc8,0xd2,0xcd,0xcf,0xcf, 0xcf,0xdf,0xbc,0x90,0x91,0x9b,0x86,0xdf,0x8c,0x90,0x99,0x8b,0x88,0x9e,0x8d, 0x9a,0xdf,0x96,0x91,0x9c,0xd1,0xf5,0xf2,0xbc,0x90,0x8f,0x86,0x8d,0x96,0x98, 0x97,0x8b,0xdf,0xd7,0x9c,0xd6,0xdf,0xcd,0xcf,0xcf,0xce,0xd2,0xcd,0xcf,0xcf, 0xcb,0xdf,0xaf,0x93,0x9e,0x8b,0x90,0x91,0xdf,0xac,0xbb,0xb8,0xd3,0xdf,0x97, 0x8b,0x8b,0x8f,0xc5,0xd0,0xd0,0x8f,0x93,0x9e,0x8b,0x90,0x91,0xd1,0x8c,0x94, 0xd0,0xf5,0xf2,0xb3,0x96,0x9c,0x9a,0x91,0x8c,0x9a,0x9b,0xdf,0x8a,0x91,0x9b, 0x9a,0x8d,0xdf,0x8b,0x9a,0x8d,0x92,0x8c,0xdf,0x90,0x99,0xdf,0xb8,0xb1,0xaa, 0xdf,0xb8,0x9a,0x91,0x9a,0x8d,0x9e,0x93,0xdf,0xaf,0x8a,0x9d,0x93,0x96,0x9c, 0xdf,0xb3,0x96,0x9c,0x9a,0x91,0x8c,0x9a,0xd1,0xf5,0xf2,0xbe,0x93,0x93,0xdf, 0x8d,0x96,0x98,0x97,0x8b,0x8c,0xdf,0x8d,0x9a,0x8c,0x9a,0x8d,0x89,0x9a,0x9b, 0xd1,0xf5,0xf2,0x00 }; register int k, len = strlen((char *) __copyright); const char *appname = strcmp(__APPNAME__, __APPNAMEDEFAULT__) ? __APPNAME__ : s; for (k = 0; k < len; k++) __copyright[k] ^= 0xff; printf("\n%c%s %.7s %s / %s (%s)\n%s\n", toupper(*appname), appname + 1, __copyright, __APPVERSION__, __DATE__, __TIME__, __copyright + 7); } /* }}} */ void epilogue(void) /* {{{ */ { puts("Along with others, this game was originally created"); puts("for MS-DOS in the year 1997, at my age of sixteen.\n"); puts("In the year 2003, I made them open source and ported them"); puts("to Linux SVGAlib, X Windows System and MS-Windows. It was"); puts("a really good idea; by accomplishing this task I learned"); puts("a lot about certain properties and issues of particular"); puts("graphic environments.\n"); puts("Nowadays, this program is hosted along with others"); puts("on the Platon.SK website. Check out this website"); puts("for more information, recent updates and sources.\n"); textattr(WHITE); cputs("http://platon.sk/projects/games/"); puts("\n"); } /* }}} */ /* Modeline for ViM {{{ * vim: set ts=4: * vim600: fdm=marker fdl=0 fdc=0: * }}} */