/* * games/_shared/ - shared routines for games * * standart.h - standard subroutines library header file * ____________________________________________________________ * * 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/standart.h,v 1.4 2004/04/06 09:04:07 nepto Exp $ */ /* NOTE: incorrect "standart" word in filename is kept from historical reasons; correct word is "standard" */ #ifndef __STANDART_H #define __STANDART_H #define __APPNAMEDEFAULT__ "Unknown" #define __APPVERSIONDEFAULT__ "N/A" #ifndef __APPNAME__ # ifdef PACKAGE # define __APPNAME__ PACKAGE # else # define __APPNAME__ __APPNAMEDEFAULT__ # endif #endif #ifndef __APPVERSION__ # ifdef VERSION # define __APPVERSION__ VERSION # else # define __APPVERSION__ __APPVERSIONDEFAULT__ # endif #endif /* INCLUDE */ #include #include #include /* TYPEDEF */ /* DEFINE */ #define fileload(s) fileloadfrom(s, 0L) /* INTERFACE */ void wait(double sec); WORD wround(double a); int iround(double a); void printfxy(BYTE x,BYTE y,const char *format,...); void endstring(const char *s); void epilogue(void); void*fileloadfrom(char*s,long from); void far*_fileload(char*s); #endif