home *** CD-ROM | disk | FTP | other *** search
/ WarCraft 2000 - Nuclear Epidemic / W2000.nrg / SOURCE.War2000 / Nature.h < prev    next >
C/C++ Source or Header  |  1998-04-21  |  701b  |  29 lines

  1. class ResDiscr{
  2. public:
  3.     bool Enabled;
  4.     char Name[32];
  5.     byte Amount;
  6.     byte MotionKind;
  7.     byte WorkKind;
  8.     byte Portion;
  9.     int AnmStandKind;
  10.     int AnmGoKind;
  11.     int Multi;
  12.     int Tiles [16][4];
  13.     ResDiscr();
  14. };
  15. byte GetResourceKind(byte x,byte y);
  16. void LoadRDS();
  17. void CreateResMap();
  18. extern byte rtmap[256][256];//resource type map
  19. extern byte ramap[256][256];//resource amount map
  20. extern int RESRC[8][8];
  21. extern int RESADD[8][8];
  22. bool CheckCost(byte NI,byte ResID,word Amount);
  23. extern ResDiscr RDS[8];
  24. bool CheckOilSpot(byte x,byte y);
  25. void CreateOilSpot(byte x,byte y);
  26. void ShowOilSpot(int x,int y);
  27. void CreateOilSpotAnyway();
  28. void ShowResScreen();
  29. extern word OILMAP[128][128];