kgameprocess.cpp
139 fprintf(stderr,"------ receiveNetworkTransmission(): id=%d sender=%d,recv=%d\n",msgid,sender,receiver);
void receivedMessage(const TQByteArray &receiveBuffer)
A message is received via the interprocess connection.
Definition: kgameprocess.cpp:132
void signalInit(TQDataStream &stream, int userid)
This signal is emmited when the process is initialized, i.e.
bool exec(int argc, char *argv[])
Enters the event loop of the computer process.
Definition: kgameprocess.cpp:76
void signalCommand(TQDataStream &inputStream, int msgid, int receiver, int sender)
The generic communication signal.
void sendSystemMessage(TQDataStream &stream, int msgid, TQ_UINT32 receiver=0)
Sends a system message to the corresonding KGameIO device.
Definition: kgameprocess.cpp:91
void processArgs(int argc, char *argv[])
processes the command line argumens to set up the computer player Pass the argumens exactely as given...
Definition: kgameprocess.cpp:115
void sendMessage(TQDataStream &stream, int msgid, TQ_UINT32 receiver=0)
Sends a message to the corresponding KGameIO device.
Definition: kgameprocess.cpp:110
void signalTurn(TQDataStream &stream, bool turn)
This signal is emmited if the computer player should perform a turn.