home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mnth0109.zip / Timur / errormsg.h < prev    next >
Text File  |  1993-06-07  |  2KB  |  48 lines

  1. /* ERRORMSG.H - Error messages
  2.  
  3. Copyright (c) 1992-1993 Timur Tabi
  4. Copyright (c) 1992-1993 Fasa Corporation
  5.  
  6. The following trademarks are the property of Fasa Corporation:
  7. BattleTech, CityTech, AeroTech, MechWarrior, BattleMech, and 'Mech.
  8. The use of these trademarks should not be construed as a challenge to these marks.
  9.  
  10. This header file should only be included into ERRORS.C
  11. */
  12.  
  13. typedef struct {
  14.   ERROR ec;
  15.   char *szMsg;
  16. } MESSAGE;
  17.  
  18. MESSAGE amsg[]= {
  19. {ERR_BITMAP                             ,"BITMAP"},
  20. {ERR_BITMAP_SHUT                        ,"BitmapShutdown"},
  21. {ERR_BITMAP_SHUT_PS                     ,"Could not destroy PS"},             // Could not destroy PS
  22. {ERR_BITMAP_SHUT_DC                     ,"Could not close DC"},               // Could not close DC
  23.  
  24. {ERR_BITMAP_LOAD                        ,"BitmapLoad"},
  25. {ERR_BITMAP_LOAD_DC                     ,"Could not open DC"},                // Could not open DC
  26. {ERR_BITMAP_LOAD_PS                     ,"Could not create PS"},              // Could not create PS
  27. {ERR_BITMAP_LOAD_HBM                    ,"Could not load bitmap"},            // Could not load bitmap
  28.  
  29. // mech.c
  30. {ERR_MECH                               ,"MECH"},
  31.  
  32. // menu.c
  33. {ERR_MENU                               ,"MENU"},
  34.  
  35. // target.c
  36. {ERR_TARGET                             ,"TARGET"},
  37.  
  38. // files.c
  39. {ERR_FILES                              ,"FILES"},
  40. {ERR_FILES_DLG                          ,"WinFileDlg() failed"},
  41.  
  42. // terrain.c
  43. {ERR_TERR                               ,"TERRAIN"},
  44. {ERR_TERR_INIT                          ,"TerrainInit"},
  45.  
  46. // SENTINEL
  47. {0,"Unknown Error: %u"}};
  48.