|
![]() |
Apocalypse mirror
Sourceforge mirror |
| News | Info | Characters | Arenas | Screenshots | Forums | Download | ||||
| Developer: | Making of | Character-HOWTO | AI Design | Submit a Character | |||
| Documentation: | Main Page | Modules | Class Hierarchy | Class List | File List |
#include "OnlineChat.h"#include "TextArea.h"#include "State.h"#include "menu.h"#include "Audio.h"#include "sge_tt_text.h"#include "gfx.h"#include "common.h"#include "config.h"#include "Event.h"Defines | |
| #define | MORTALNETSERVER "apocalypse.game-host.org" |
| #define | MORTALNETWORKPORT 0x3A23 |
| #define | READLINE_Y 440 |
| #define | NICKLIST_X 500 |
| #define | CHECKCONNECTION if ( m_poSocket == NULL ) return; |
| #define | RETURNNOERROR |
| #define | RETURNWITHERROR |
| #define | RETURNWITHADDITIONALERROR |
Enumerations | |
| enum | { MENU_DISCONNECT = 100, MENU_CHALLENGE, MENU_CHANGENICK, MENU_OK, MENU_ACCEPTCHALLENGE, MENU_REJECTHALLENGE } |
Functions | |
| void | MortalNetworkResetMessages (bool a_bClear) |
| void | MortalNetworkMessage (const char *format,...) |
| bool | MortalNetworkCheckKey () |
| void | DoOnlineChat () |
| Static global entry point for chatting. | |
Variables | |
| int | g_iMessageY |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: { \
debug( "%s\n", m_sLastError.c_str() ); \
return false; }
|
|
|
Value: { \
m_sLastError += SDLNet_GetError(); \
debug( "%s\n", m_sLastError.c_str() ); \
return false; }
|
|
|
Value: { \
m_sLastError = SDLNet_GetError(); \
debug( "%s\n", m_sLastError.c_str() ); \
return false; }
|
|
|
|
|
|
Static global entry point for chatting.
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|