INTERNET.H 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // Copyright 2020 Electronic Arts Inc.
  3. //
  4. // TiberianDawn.DLL and RedAlert.dll and corresponding source code is free
  5. // software: you can redistribute it and/or modify it under the terms of
  6. // the GNU General Public License as published by the Free Software Foundation,
  7. // either version 3 of the License, or (at your option) any later version.
  8. // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed
  9. // in the hope that it will be useful, but with permitted additional restrictions
  10. // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
  11. // distributed with this program. You should have received a copy of the
  12. // GNU General Public License along with permitted additional restrictions
  13. // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
  14. /***********************************************************************************************
  15. *** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
  16. ***********************************************************************************************
  17. * *
  18. * Project Name : Command & Conquer *
  19. * *
  20. * $Archive:: /Sun/Internet.h $*
  21. * *
  22. * $Author:: Joe_b $*
  23. * *
  24. * $Modtime:: 8/05/97 6:45p $*
  25. * *
  26. * $Revision:: 7 $*
  27. * *
  28. *---------------------------------------------------------------------------------------------*
  29. * Functions: *
  30. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  31. #ifndef INTERNET_H
  32. #define INTERNET_H
  33. #define IP_ADDRESS_MAX 40
  34. void Register_Game_Start_Time(void);
  35. void Register_Game_End_Time(void);
  36. void Send_Statistics_Packet(void);
  37. void Check_From_WChat(char *wchat_name);
  38. bool Do_The_Internet_Menu_Thang (void);
  39. bool Server_Remote_Connect(void);
  40. bool Client_Remote_Connect(void);
  41. int Read_Game_Options(char *name);
  42. extern char PlanetWestwoodIPAddress[IP_ADDRESS_MAX];
  43. extern long PlanetWestwoodPortNumber;
  44. extern bool PlanetWestwoodIsHost;
  45. #endif