Category : OS/2 Files
Archive   : VOL1N8.ZIP
Filename : TERRAIN.H

 
Output of file : TERRAIN.H contained in archive : VOL1N8.ZIP
/* TERRAIN.H

Copyright (c) 1992 Timur Tabi
Copyright (c) 1992 Fasa Corporation

The following trademarks are the property of Fasa Corporation:
BattleTech, CityTech, AeroTech, MechWarrior, BattleMech, and 'Mech.
The use of these trademarks should not be construed as a challenge to these marks.

*/

typedef struct {
int iMenuID; // The menu ID
HBITMAP hbm; // If there's a bitmap, then this is non-zero
BYTE bColor; // The color, if hbm==0
BYTE bPattern; // The pattern, if hbm==0
int iVisibility; // A measure of the terrains transparency
} TERRAIN;

#define NUM_TERRAINS 11 // We'll make this configurable in the future, somehow

#ifdef TERRAIN_C
#define EXTERN
#else
#define EXTERN extern
#endif

EXTERN TERRAIN ater[NUM_TERRAINS]; // One for each terrain;
EXTERN int iCurTer; // The current terrain ID (NOT THE MENU ID!!!!)

#undef EXTERN

void TerrainInit(void);
int TerrainIdFromMenu(int iMenuID);


  3 Responses to “Category : OS/2 Files
Archive   : VOL1N8.ZIP
Filename : TERRAIN.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/