2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 // $Header: r:/t2repos/thief2/src/shock/shkchat.h,v 1.3 2000/01/29 13:40:34 adurant Exp $
8 // The multiplayer chat system. This module hides the gory details of
9 // machine-to-machine chat behind a fairly small interface.
16 // Prepare the chat system. The dimensions are the location and size of the
18 EXTERN
void ShockChatInit(int x
, int y
, int width
, int height
);
19 // Shut down the chat system.
20 EXTERN
void ShockChatTerm();
22 // Prep and shutdown the networking for chat. Sadly, this has to be done
23 // at a different time than the graphics -- the graphics stuff comes and
24 // goes whenever you leave game mode, but the networking must be
25 // persistent, and must be set up very early in the game.
26 EXTERN
void ShockChatNetInit();
27 EXTERN
void ShockChatNetTerm();
29 // Get a chat message from the user, and send it off to the other players
31 EXTERN
void ShockChatGetInput(char *prefix
);
33 // Returns TRUE iff we are in the middle of getting input from the user.
34 EXTERN BOOL
ShockChatGettingInput();
36 // Renders the current state of the chat input area. Should be called once
38 EXTERN
void ShockChatDrawInput();
40 #endif // !__SHKCHAT_H