#include "misc.h"
#include "tape.h"
#include "joystick.h"
+#include "network.h"
void EventLoop(void)
{
while(1)
{
- if (XPending(display)) /* got an event */
+ if (XPending(display)) /* got event from X server */
{
XEvent event;
return;
}
+ HandleNetworking();
+
switch(game_status)
{
case MAINMENU: