home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / game / think / chaos / src / chaos_cat.c < prev    next >
C/C++ Source or Header  |  1994-10-14  |  24KB  |  489 lines

  1. /****************************************************************
  2.    This file was created automatically by `FlexCat V1.3'
  3.    Do NOT edit by hand!
  4. ****************************************************************/
  5.  
  6. #include <string.h>
  7.  
  8. #include <exec/memory.h>
  9. #include <libraries/iffparse.h>
  10.  
  11. #include <clib/iffparse_protos.h>
  12. #include <clib/locale_protos.h>
  13. #include <clib/dos_protos.h>
  14. #include <clib/exec_protos.h>
  15. #include <clib/utility_protos.h>
  16.  
  17. #ifdef AZTEC_C
  18. #include <pragmas/locale_lib.h>
  19. #include <pragmas/iffparse_lib.h>
  20. #include <pragmas/dos_lib.h>
  21. #include <pragmas/exec_lib.h>
  22. #include <pragmas/utility_lib.h>
  23. #endif    /*  AZTEC_C            */
  24.  
  25. #if defined(__SASC)  ||  defined(_DCC)  ||  defined(__MAXON__)
  26. #include <pragmas/locale_pragmas.h>
  27. #include <pragmas/iffparse_pragmas.h>
  28. #include <pragmas/dos_pragmas.h>
  29. #include <pragmas/exec_pragmas.h>
  30. #include <pragmas/utility_pragmas.h>
  31. #endif    /*  __SASC  ||    _DCC  ||  __MAXON__ */
  32.  
  33. #ifdef __GNUC__
  34. #include <inline/locale.h>
  35. #include <inline/iffparse.h>
  36. #include <inline/dos.h>
  37. #include <inline/exec.h>
  38. #include <inline/utility.h>
  39. #endif    /*  __GNUC__    */
  40.  
  41.  
  42. extern struct Library *UtilityBase;
  43. extern struct DosLibrary *DOSBase;
  44. extern struct ExecBase *SysBase;
  45.  
  46.  
  47.  
  48.  
  49. static LONG Chaos_Version = 8;
  50. static const STRPTR Chaos_BuiltInLanguage = (STRPTR) "english";
  51.  
  52. struct FC_Type
  53. {   LONG    ID;
  54.     STRPTR  Str;
  55. };
  56.  
  57. const struct FC_Type _MSG_CDAT_SELECTION = { 0, "Tournamentfile-selection" };
  58. const struct FC_Type _MSG_NO_WRITE_FILE = { 1, "Cannot open %s as write-file!\nDOS-Error %ld" };
  59. const struct FC_Type _MSG_WRITE_ERROR = { 2, "DOS-Error %ld while writing %s!" };
  60. const struct FC_Type _MSG_NO_READ_FILE = { 3, "Cannot open %s as read-file!\nDOS-Error %ld" };
  61. const struct FC_Type _MSG_NO_CHAOS_FILE = { 4, "%s is no Chaos-V5-file!" };
  62. const struct FC_Type _MSG_READ_ERROR = { 5, "DOS-Error %ld while reading %s!" };
  63. const struct FC_Type _MSG_ATTENTION = { 6, "Attention!" };
  64. const struct FC_Type _MSG_CHANGES_MADE = { 7, "Changes have been made!\nDo you want to save the tournament first?" };
  65. const struct FC_Type _MSG_YES_NO = { 8, "Yes|No" };
  66. const struct FC_Type _MSG_NO_TOURNAMENT_INPUT_WINDOW = { 9, "Cannot open Tournament-input-window!" };
  67. const struct FC_Type _MSG_NO_PAIRING = { 10, "No pairings possible!\nToo much rounds?" };
  68. const struct FC_Type _MSG_NO_PRINTER = { 11, "Cannot connect to printer!" };
  69. const struct FC_Type _MSG_PAGENR = { 12, "Page" };
  70. const struct FC_Type _MSG_NAME_OUTPUT = { 13, "Name" };
  71. const struct FC_Type _MSG_DWZ_OUTPUT = { 14, "Rating" };
  72. const struct FC_Type _MSG_CHESSCLUB_OUTPUT = { 15, "Chess-club" };
  73. const struct FC_Type _MSG_STREET_OUTPUT = { 16, "Home" };
  74. const struct FC_Type _MSG_VILLAGE_OUTPUT = { 17, "Address" };
  75. const struct FC_Type _MSG_BIRTHDAY_OUTPUT = { 18, "Birthday" };
  76. const struct FC_Type _MSG_PHONE_OUTPUT = { 19, "Phone" };
  77. const struct FC_Type _MSG_PLAYER_LIST_TITLE = { 20, "List of players" };
  78. const struct FC_Type _MSG_RESULT_OUTPUT = { 21, "Result" };
  79. const struct FC_Type _MSG_WHITE_OUTPUT = { 22, "White" };
  80. const struct FC_Type _MSG_BLACK_OUTPUT = { 23, "Black" };
  81. const struct FC_Type _MSG_ROUND_TITLE = { 24, "Games of round %ld" };
  82. const struct FC_Type _MSG_PLACE_OUTPUT = { 25, "Place" };
  83. const struct FC_Type _MSG_POINTS_OUTPUT = { 26, "Points" };
  84. const struct FC_Type _MSG_BUCHHOLZ_OUTPUT = { 27, "Buchholz" };
  85. const struct FC_Type _MSG_EXT_BUCHHOLZ_OUTPUT = { 28, "Ext.Bchh." };
  86. const struct FC_Type _MSG_SONNEBORN_BERGER_OUTPUT = { 29, "SnnBrgr." };
  87. const struct FC_Type _MSG_TABLE_TITLE = { 30, "Table of round %ld %s" };
  88. const struct FC_Type _MSG_TABLE_TITLE2 = { 31, "Table %s" };
  89. const struct FC_Type _MSG_RANKINGS_TITLE = { 32, "Ratings" };
  90. const struct FC_Type _MSG_NUMBER = { 33, "Nr." };
  91. const struct FC_Type _MSG_RANKINGS_TITLE2 = { 34, "List of rankings (round %ld)" };
  92. const struct FC_Type _MSG_PROGRESS_TABLE_TITLE = { 35, "Table of progress until round %ld" };
  93. const struct FC_Type _MSG_GAME_OUTPUT = { 36, "Opponent (Nr., Result, Color)" };
  94. const struct FC_Type _MSG_FREE_GAME_OUTPUT = { 37, "    free" };
  95. const struct FC_Type _MSG_GONE_OUTPUT = { 38, " dropped" };
  96. const struct FC_Type _MSG_FREE_POINT_OUTPUT = { 39, "1 p. bye" };
  97. const struct FC_Type _MSG_FREE_GAME_OUTPUT2 = { 40, "free" };
  98. const struct FC_Type _MSG_NO_FIGHT_OUTPUT = { 41, "(np)" };
  99. const struct FC_Type _MSG_ROUND_INPUT_TITLE = { 42, "Input of games (round %ld)" };
  100. const struct FC_Type _MSG_NEW_PLAYER_REQUEST = { 43, "Games have already been paired!\nDo you really want to add new players?" };
  101. const struct FC_Type _MSG_MODIFY_PLAYER_REQUEST = { 44, "Games have already been paired!\nDo you really want to modify players?" };
  102. const struct FC_Type _MSG_DELETE_PLAYER_REQUEST = { 45, "Games have already been paired!\nDo you really want to delete players?\n"\
  103.     "(Mark them as withdrawn.)" };
  104. const struct FC_Type _MSG_DELETE_THIS_PLAYER_REQUEST = { 46, "Do you really want to delete\nthe player %s?" };
  105. const struct FC_Type _MSG_THIS_PLAYER_GONE_REQUEST = { 47, "Do you really want to mark\n%s as withdrawn?" };
  106. const struct FC_Type _MSG_DONT_CARE_REQUEST_TITLE = { 48, "Don't care!" };
  107. const struct FC_Type _MSG_DONT_CARE_REQUEST = { 49, "Player %s\nhas already been marked as withdrawn!" };
  108. const struct FC_Type _MSG_OK = { 50, "Ok" };
  109. const struct FC_Type _MSG_OK_SC = { 51, "o" };
  110. const struct FC_Type _MSG_ERROR_REQUEST = { 52, "Error!" };
  111. const struct FC_Type _MSG_MEMORY_ERROR = { 53, "Out of memory!" };
  112. const struct FC_Type _MSG_SWISS_PAIRING = { 54, "Swiss pairing" };
  113. const struct FC_Type _MSG_RUNDENTURNIER = { 55, "Round Robin (FIDE-system)" };
  114. const struct FC_Type _MSG_RUTSCHSYSTEM = { 56, "Round Robin (shift-system)" };
  115. const struct FC_Type _MSG_TOURNAMENT_INPUT_TITLE = { 57, "Input of tournament-data" };
  116. const struct FC_Type _WND_PLAYER_ADD_TITLE = { 58, "Input of new players" };
  117. const struct FC_Type _MSG_WHITE_WINS_INPUT = { 59, "\033uW\033nhite wins" };
  118. const struct FC_Type _MSG_DRAW_INPUT = { 60, "\033uD\033nraw" };
  119. const struct FC_Type _MSG_BLACK_WINS_INPUT = { 61, "\033uB\033nlack wins" };
  120. const struct FC_Type _MSG_RESULT_MISSING_INPUT = { 62, "Result \033u\033nmissing" };
  121. const struct FC_Type _MSG_AUSGETRAGEN_INPUT = { 63, "\033uP\033nlayed" };
  122. const struct FC_Type _MSG_KAMPFLOS_INPUT = { 64, "\033uN\033not played" };
  123. const struct FC_Type _MSG_TOURNAMENT_MENU = { 65, "Project" };
  124. const struct FC_Type _MSG_TOURNAMENT_NEW_ITEM = { 66, "New" };
  125. const struct FC_Type _MSG_TOURNAMENT_LOAD_ITEM = { 67, "Load" };
  126. const struct FC_Type _MSG_TOURNAMENT_SAVE_ITEM = { 68, "Save" };
  127. const struct FC_Type _MSG_TOURNAMENT_SAVEAS_ITEM = { 69, "Save as" };
  128. const struct FC_Type _MSG_TOURNAMENT_ABOUT_ITEM = { 70, "About" };
  129. const struct FC_Type _MSG_TOURNAMENT_QUIT_ITEM = { 71, "Quit" };
  130. const struct FC_Type _MSG_PLAYER_MENU = { 72, "Players" };
  131. const struct FC_Type _MSG_PLAYER_ADD_ITEM = { 73, "Add" };
  132. const struct FC_Type _MSG_PLAYER_IMPORT_ITEM = { 74, "Import" };
  133. const struct FC_Type _MSG_PLAYER_MODIFY_ITEM = { 75, "Modify" };
  134. const struct FC_Type _MSG_PLAYER_DELETE_ITEM = { 76, "Delete" };
  135. const struct FC_Type _MSG_ROUND_MENU = { 77, "Round" };
  136. const struct FC_Type _MSG_ROUND_PAIRINGS_ITEM = { 78, "Make pairings" };
  137. const struct FC_Type _MSG_ROUND_PAIRINGS_SWISS_SUB = { 79, "Swiss pairing" };
  138. const struct FC_Type _MSG_ROUND_PAIRINGS_RROBIN_SUB = { 80, "Round Robin (FIDE-system)" };
  139. const struct FC_Type _MSG_ROUND_PAIRINGS_SLIDE_SUB = { 81, "Round Robin (shift-system)" };
  140. const struct FC_Type _MSG_ROUND_RESULTS_ITEM = { 82, "Enter results" };
  141. const struct FC_Type _MSG_OUTPUT_MENU = { 83, "Output" };
  142. const struct FC_Type _MSG_OUTPUT_PLAYERS_ITEM = { 84, "Player-list" };
  143. const struct FC_Type _MSG_OUTPUT_PLAYERS_SHORT_SUB = { 85, "short" };
  144. const struct FC_Type _MSG_OUTPUT_PLAYERS_LONG_SUB = { 86, "long" };
  145. const struct FC_Type _MSG_OUTPUT_RANKINGS_ITEM = { 87, "Rankings" };
  146. const struct FC_Type _MSG_OUTPUT_ROUND_ITEM = { 88, "Round" };
  147. const struct FC_Type _MSG_OUTPUT_TABLE_ITEM = { 89, "Table" };
  148. const struct FC_Type _MSG_OUTPUT_TABLE_ALL_SUB = { 90, "All" };
  149. const struct FC_Type _MSG_OUTPUT_TABLE_SENIORS_SUB = { 91, "Seniors" };
  150. const struct FC_Type _MSG_OUTPUT_TABLE_JUNIORS_SUB = { 92, "Juniors" };
  151. const st