Files
TeslaRel410/CODE/RP/MUNGA_L4/libDPL/dsys/DIVVERS.H
T
CydandClaude Fable 5 fdd9ac9d97 Initial import: Tesla Release 4.10 (Tesla:BattleTech & Tesla:Red Planet)
Archival snapshot of the Virtual World Entertainment Tesla cockpit
software, 1994-1996: MUNGA engine and L4 pod layer source (Borland
C++ 5.0), BT/RP game code, and game content (models, audio, maps,
gauges, Division renderer data). Includes third-party libraries:
Division dVS/DPL graphics, HMI SOS audio, WATTCP networking.

Files are preserved byte-for-byte (.gitattributes disables all
line-ending conversion). README.md documents the layout, target
hardware, and toolchain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 13:21:58 -05:00

55 lines
1.6 KiB
C++

/*
* PROJECT: DVS
* SUBSYSTEM: dp
* MODULE: divvers.c
*
* File: $RCSfile: divvers.h,v $
* Revision: $Revision: 1.6 $
* Date: $Date: 1995/05/18 09:36:22 $
* Author: $Author: jeff $
* RCS Ident: $Id: divvers.h,v 1.6 1995/05/18 09:36:22 jeff beta $
*
* FUNCTION:
* macro to aid the printing of version no's for components.
*
* Copyright (c) 1995 Division Ltd.
*
* All Rights Reserved.
*
* This Document may not, in whole or in part, be copied,
* photocopied, reproduced, translated, or reduced to any
* electronic medium or machine readable form without prior
* written consent from Division Ltd.
*/
#ifndef _DIVVERS_H
#define _DIVVERS_H
#include <stdio.h>
#define divVersion(filep,module,description,version) \
do { \
static int done = 0; \
static char *vstring = "@(#)Division dVS. " module " - " description \
". Version " version ". " __DATE__ ; \
if (done == 0) { \
fprintf (stdout, "%s\n", &vstring [4]); \
if (filep) \
fprintf (filep, "%s\n", &vstring [4]); \
} \
done = 1; \
} while (0)
#define div3rdPartyVersion(filep,party,description,version,date) \
do { \
static int done = 0; \
static char *vstring = party ". " description \
". Version " version ". " date ; \
if (done == 0) { \
fprintf (stdout, "%s\n", vstring); \
if (filep) \
fprintf (filep, "%s\n", vstring ); \
} \
done = 1; \
} while (0)
#endif