INTRONET.H 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // NETWORK.C
  2. extern "C" void read_joystick(char j,int *x, int *y, int *sw);
  3. extern "C" void read_joy1(int *x, int *y, int *sw);
  4. extern "C" void read_joy2(int *x, int *y, int *sw);
  5. extern "C" void calibrate_joy(char j,unsigned short *x,unsigned short *y);
  6. extern "C" void get_joy_dir1(int *x,int *y,int *f);
  7. extern "C" void get_joy_dir2(int *x,int *y,int *f);
  8. extern "C" void get_user_inputs();
  9. extern "C" void process_user_inputs();
  10. extern "C" volatile int NetTeams[MAX_USERS],Players[MAX_USERS];
  11. extern "C" volatile int net_quit;
  12. extern "C" volatile char paused;
  13. extern "C" volatile char pause_request;
  14. extern "C" volatile char keys[256];
  15. extern "C" volatile char key_togs[256];
  16. //extern "C" void setdigivar(short handle);
  17. extern "C" short net_game_no;
  18. extern "C" volatile short net_error;
  19. extern "C" char cd_in;
  20. extern "C" volatile char net_cd_in;
  21. extern "C" void NetTest(void);
  22. extern "C" void Network_Play_Ready();
  23. extern "C" void Quit_Network_Play();
  24. extern "C" void End_Network_Game();
  25. extern "C" void __far nethandler(void);
  26. extern "C" unsigned int NetworkHandle;
  27. extern "C" short wConsoleNode;
  28. extern "C" int network_on;
  29. extern "C" volatile int count;
  30. extern "C" volatile int tick;
  31. extern "C" volatile int ftick;
  32. extern "C" volatile int writeptr;
  33. extern "C" volatile int readptr;
  34. extern "C" int game_speed; // Currently declared in network.c
  35. extern "C" void ConfigControl();
  36. extern "C" unsigned short joy1_cnt_x,joy1_cnt_y;
  37. extern "C" unsigned short joy2_cnt_x,joy2_cnt_y;
  38. extern "C" void ConfigControl();
  39. extern "C" void InitCalibration(int j);
  40. extern "C" void CalibrateJoy(int j);
  41. extern "C" char calibrate_flag,redefine_flag;
  42. extern "C" char print_joy_message,print_red_message;