| version 1.1, 2003/05/11 18:50:16 |
version 1.2, 2003/05/21 13:56:45 |
|
|
| /* Standart procedures header file programmed by Ondrej Jombˇk */
|
/* Standart procedures header file programmed by Ondrej Jombˇk */ |
| /* Copyright (c) 1998 by Alfa&Omega software Limited and StrangeARTS */
|
/* Copyright (c) 1998 by Alfa&Omega software Limited and StrangeARTS */ |
|
|
|
| /* $Platon: $ */
|
/* $Platon: games/_shared/standart.h,v 1.1.1.1 2003/05/11 18:50:16 nepto Exp $ */ |
|
|
|
| #ifndef __STANDART_H
|
#ifndef __STANDART_H |
| #define __STANDART_H
|
#define __STANDART_H |
|
|
|
| #define __APPNAMEDEFAULT__ "Unknown"
|
#define __APPNAMEDEFAULT__ "Unknown" |
| #define __APPVERSIONDEFAULT__ "N/A"
|
#define __APPVERSIONDEFAULT__ "N/A" |
|
|
|
| #ifndef __APPNAME__
|
#ifndef __APPNAME__ |
| # ifdef PACKAGE
|
# ifdef PACKAGE |
| # define __APPNAME__ PACKAGE
|
# define __APPNAME__ PACKAGE |
| # else
|
# else |
| # define __APPNAME__ __APPNAMEDEFAULT__
|
# define __APPNAME__ __APPNAMEDEFAULT__ |
| # endif
|
# endif |
| #endif
|
#endif |
|
|
|
| #ifndef __APPVERSION__
|
#ifndef __APPVERSION__ |
| # ifdef VERSION
|
# ifdef VERSION |
| # define __APPVERSION__ VERSION
|
# define __APPVERSION__ VERSION |
| # else
|
# else |
| # define __APPVERSION__ __APPVERSIONDEFAULT__
|
# define __APPVERSION__ __APPVERSIONDEFAULT__ |
| # endif
|
# endif |
| #endif
|
#endif |
|
|
|
| /* INCLUDE */
|
/* INCLUDE */ |
| #include <stdio.h>
|
#include <stdio.h> |
| #include <typedef.h>
|
#include <typedef.h> |
| #include <macros.h>
|
#include <macros.h> |
|
|
|
| /* TYPEDEF */
|
/* TYPEDEF */ |
|
|
|
| /* DEFINE */
|
/* DEFINE */ |
| #define fileload(s) fileloadfrom(s, 0L)
|
#define fileload(s) fileloadfrom(s, 0L) |
|
|
|
| /* INTERFACE */
|
/* INTERFACE */ |
| void wait(double sec);
|
void wait(double sec); |
| WORD wround(double a);
|
WORD wround(double a); |
| int iround(double a);
|
int iround(double a); |
| void printfxy(BYTE x,BYTE y,const char *format,...);
|
void printfxy(BYTE x,BYTE y,const char *format,...); |
| void endstring(const char *s);
|
void endstring(const char *s); |
| void*fileloadfrom(char*s,long from);
|
void*fileloadfrom(char*s,long from); |
| void far*_fileload(char*s);
|
void far*_fileload(char*s); |
|
|
|
| #endif
|
#endif |
|
|
|