40 lines
1.7 KiB
C
40 lines
1.7 KiB
C
|
/***************************************************************************/
|
||
|
/* */
|
||
|
/* */
|
||
|
/* Raven 3D Engine */
|
||
|
/* Copyright (C) 1995 by Softdisk Publishing */
|
||
|
/* */
|
||
|
/* Original Design: */
|
||
|
/* John Carmack of id Software */
|
||
|
/* */
|
||
|
/* Enhancements by: */
|
||
|
/* Robert Morgan of Channel 7............................Main Engine Code */
|
||
|
/* Todd Lewis of Softdisk Publishing......Tools,Utilities,Special Effects */
|
||
|
/* John Bianca of Softdisk Publishing..............Low-level Optimization */
|
||
|
/* Carlos Hasan..........................................Music/Sound Code */
|
||
|
/* */
|
||
|
/* */
|
||
|
/***************************************************************************/
|
||
|
|
||
|
#ifndef MISC_H
|
||
|
#define MISC_H
|
||
|
|
||
|
/**** VARIABLES ****/
|
||
|
|
||
|
extern int my_argc;
|
||
|
extern char **my_argv;
|
||
|
extern int rndofs;
|
||
|
extern byte rndtable[512];
|
||
|
|
||
|
|
||
|
/**** FUNCTIONS ****/
|
||
|
|
||
|
#define MS_RndT() (byte)rndtable[(++rndofs)&511]
|
||
|
int MS_CheckParm (char *check);
|
||
|
void MS_Error (char *error, ...);
|
||
|
void MS_ExitClean (void);
|
||
|
void MS_FreeDOSMem(int sel);
|
||
|
void MS_GetDOSMem(int size,int *seg,int *sel);
|
||
|
|
||
|
#endif
|