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