home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Abalone 1.4.2 / src / Error.r < prev    next >
Encoding:
Text File  |  1995-09-21  |  1.8 KB  |  76 lines  |  [TEXT/MPS ]

  1. #include "Types.r"
  2.  
  3.  
  4. resource 'ALRT' (666, "error message", preload)
  5. {
  6.     {80, 100, 200, 400},
  7.     666,
  8.     {
  9.         OK, visible, silent,
  10.         OK, visible, silent,
  11.         OK, visible, silent,
  12.         OK, visible, silent
  13.     },
  14.      noAutoCenter
  15.  };
  16.  
  17.  
  18.  
  19. resource 'DITL' (666, "error message", preload) {
  20.     {    
  21.         {90, 220, 110, 280},
  22.         Button {
  23.             enabled,
  24.             "OK"
  25.         },
  26.         {10, 60, 80, 300},
  27.         StaticText {
  28.             disabled,
  29.             "^0:\n^1."
  30.         }
  31.     }
  32. };
  33.  
  34.  
  35. resource 'STR#' (128, "warnings")
  36. {
  37.     {
  38.         "Only one game file can be opened at the same time",
  39.         "Printing is not implemented",
  40.         "Processing high level event may have failed",
  41.         "The game file was not saved correctly",
  42.         "Preferences file invalid/outdated\n(don't worry: the default settings are used for once)",
  43.         "The preferences were not saved correctly",
  44.         "A sound resource could not be loaded, sound will be turned off",
  45.         "Trouble playing sound, sound will be turned off",
  46.         "Not enough memory for 3D graphics, switching to simple graphics",
  47.         "Insufficient memory to do this",
  48.         "The boards are out of sync;\nthey will be forced equal",
  49.         "The boards will be forced equal to establish the connection",
  50.         "PPC error",
  51.         "You did not select a valid opponent, so no connection was established",
  52.         "A valid connection could not be established"
  53.     };
  54. };
  55.  
  56.  
  57.  
  58. resource 'STR#' (129, "errors")
  59. {
  60.     {
  61.         "This application needs System Software version 7 or later",
  62.         "Insufficient memory available",
  63.         "Installing high level event handler failed",
  64.         "A resource is could not be loaded",
  65.         "Error reading the Preferences file",
  66.         "Error writing the Preferences file",
  67.         "The abalone programs should be of the same version",
  68.         "Internal error: Unknown search method",
  69.         "Internal error: default in case",
  70.         "Internal error: illegal parameter",
  71.         "Internal error: connection protocol failed",
  72.         "Internal error: wrong PPC data",
  73.         "Internal error"
  74.     };
  75. };
  76.