Imports the current Win32 source for the pod-racing game 'Red Planet', built on the MUNGA engine and its L4 (Win32/DirectX) platform layer: - MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend - RP / RP_L4: Red Planet game logic and Win32 application - DivLoader, Setup1: asset loader and installer project - lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies Removed stale Subversion metadata and added .gitignore/.gitattributes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
74 lines
1.6 KiB
C++
74 lines
1.6 KiB
C++
/*
|
|
-- ----------------------------------------------------------------------------
|
|
--
|
|
-- Copyright 1995 Division Limited.
|
|
-- All Rights Reserved
|
|
--
|
|
--
|
|
-- System :
|
|
-- Module :
|
|
-- Object Name : $RCSfile: getparam.h,v $
|
|
-- Revision : $Revision: 1.6 $
|
|
-- Date : $Date: 95/04/27 23:01:16 $
|
|
-- Author : $Author: bill $
|
|
--
|
|
-- Description
|
|
--
|
|
-- Notes
|
|
--
|
|
-- History
|
|
--
|
|
--
|
|
-- ----------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef __GETPARAM_H__
|
|
#define __GETPARAM_H__
|
|
|
|
#ifdef _PF_LOCAL
|
|
#include "pgeneral.h"
|
|
#else
|
|
#include <dsys/pgeneral.h>
|
|
#endif
|
|
|
|
/*****************************************************************************/
|
|
/* getparam error numbers */
|
|
#define dgpENO_STREXP 0x3001
|
|
#define dgpENO_UNKOPT 0x3002
|
|
#define dgpENO_USAGE 0x3003
|
|
#define dgpENO_RSRCF 0x3004
|
|
|
|
/****************************************************************************
|
|
* getparam monitor numbers */
|
|
#define dgpMON_OPTIONS 0x00001000
|
|
#define dgpMON_FILES 0x00002000
|
|
|
|
|
|
#define dgp_END 0
|
|
#define dgp_NO_STR 1
|
|
#define dgp_D_STR 2
|
|
#define dgp_DJOIN_STR 3
|
|
#define dgp_DAFTER_STR 4
|
|
#define dgp_DBOTH_STR 5
|
|
#define dgp_O_STR 6
|
|
#define dgp_OJOIN_STR 7
|
|
#define dgp_OAFTER_STR 8
|
|
#define dgp_OBOTH_STR 9
|
|
|
|
typedef struct {
|
|
char optname[15] ;
|
|
int32 opttype ;
|
|
int32 optreturn ;
|
|
} dgpTABLE, *dgpTABLEPTR ;
|
|
|
|
extern char *progname ;
|
|
|
|
int32
|
|
dgpGetopt(int32 argc, char *argv[], dgpTABLEPTR table,
|
|
int32 *NoFiles, char **files[], char **str1, char **str2) ;
|
|
|
|
void
|
|
dgpFreeFiles(int32 NoFiles, char *files[]) ;
|
|
|
|
#endif /* __GETPARAM_H__ */
|