/************************************************************************** * * * Atlantis talker header file * * * * Programmed by Ondrej Jombik * * Copyright (c) 2000 Condy software inc. * * Copyright (c) 2001-2003 Platon Software Development Group * * All rights reserved. * * * * Updates: 25.3.2000, 10.4.2000, 1.5.2000, 5.10.2001 * * * **************************************************************************/ /* * POZOR! Uvedene objekty pracuju zatial len v discolor rezime! * Nepto [25.3.2000] * * A pravdepodobne to tak aj ostane. Totiz existuju uzivatelia, ktori * maju standartne zapnute .col off z roznych dovodov. Takze je lepsie * vzdy discolor()-nut riadok a potom ho analyzovat. Aby sa predislo * nahodnym nacitaniam dat, je tam switch(). * Nepto [1.5.2000] */ #ifndef _PLATON_NET_ATLANTIS_H #define _PLATON_NET_ATLANTIS_H #define ATL_HOST "atlantis.sk" #define ATL_HOST_STR ATL_HOST #define ATL_PORT (7000) #define ATL_USER_STR "Tvoja prezyvka:" #define ATL_GETUSER_STR ATL_USER_STR #define ATL_NICK_STR ATL_USER_STR #define ATL_GETNICK_STR ATL_USER_STR #define ATL_PASS_STR "Tvoje heslo:" #define ATL_GETPASS_STR ATL_PASS_STR #define ATL_NEWUSER_STR "N O V Y U Z I V A T E L" #define ATL_NEWNICK_STR ATL_NEWUSER_STR #define ATL_CURRLINK_STRSIZE 32 #define ATL_LASTLINK_STRSIZE 32 #define ATL_EMAIL_STRSIZE 32 #define ATL_NICK_STRSIZE 15 #define ATL_PASS_STRSIZE 15 #define ATL_LEVEL_STRSIZE 15 #define ATL_ROOM_STRSIZE 25 /* startup code */ #define ATL_STARTUP1_STR "+- Vitaj v Atlantide, " #define ATL_STARTUP2_STR "! ------------------+------------------------------+" #define ATL_STARTUP3_STR "| Uroven: " #define ATL_STARTUP4_STR "| Miestnost: " #define ATL_STARTUP0_STR "Uz si raz prihlaseny, rusim predchadzajuce spojenie ..." #define ATL_ALREADYLOGGED_STR ATL_STARTUP0_STR /* .status */ #define ATL_CURRLINK_STR " Linka :" #define ATL_LASTLINK_STR " Posledne z :" #define ATL_EMAIL_STR " E-mail :" #define ATL_WEBSITE_STR " Webstranka :" /* .examine (aj novy (1), aj stary (2) typ) */ #define ATL_EXANOEXIST_STR "Taky uzivatel neexistuje." #define ATL_EXASIGN1_STR "-=( " #define ATL_EXASIGN2_STR " )=--" #define ATL_EXASIGN3_STR "--=(*)=--" #define ATL_EXA1LEVEL_STR ".--[" #define ATL_EXA1LOGGED_STR "]-._ Prihlaseny od:" #define ATL_EXA1LASTLOG_STR "]-._ naposledy:" #define ATL_EXA1TTL_STR "Celkovy cas |" #define ATL_EXA2LOGGED_STR "IS LOGGED ON" #define ATL_EXA2LASTLOG_STR "was last logged on" #define ATL_EXA2TTL_STR "Total login:" #if 0 typedef enum atl_status { ATL_ERROR=-1, ATL_ERR=-1, ATL_NOTDEFINED=0, ATL_NOTOK=0, ATL_DEFINED=1, ATL_OK=1, ATL_ALLOK=1 } ATL_STATUS; #endif #ifdef __cplusplus extern "C" { #endif void atl_getdate(const char *s, int *day, int *mon, int *year); int atl_getlevel(const char *s); #ifdef __cplusplus } #endif #endif /* #ifndef _PLATON_NET_ATLANTIS_H */