CnC_Remastered_Collection

Command and Conquer: Red Alert
Log | Files | Refs | README | LICENSE

INTERNET.H (2993B)


      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 
      9 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 
     10 // in the hope that it will be useful, but with permitted additional restrictions 
     11 // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 
     12 // distributed with this program. You should have received a copy of the 
     13 // GNU General Public License along with permitted additional restrictions 
     14 // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
     15 
     16 /***********************************************************************************************
     17  ***              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               ***
     18  ***********************************************************************************************
     19  *                                                                                             *
     20  *                 Project Name : Command & Conquer                                            *
     21  *                                                                                             *
     22  *                     $Archive:: /Sun/Internet.h                                             $*
     23  *                                                                                             *
     24  *                      $Author:: Joe_b                                                       $*
     25  *                                                                                             *
     26  *                     $Modtime:: 8/05/97 6:45p                                               $*
     27  *                                                                                             *
     28  *                    $Revision:: 7                                                           $*
     29  *                                                                                             *
     30  *---------------------------------------------------------------------------------------------*
     31  * Functions:                                                                                  *
     32  * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
     33 
     34 #ifndef INTERNET_H
     35 #define INTERNET_H
     36 
     37 #define IP_ADDRESS_MAX 40
     38 
     39 
     40 void	Register_Game_Start_Time(void);
     41 void	Register_Game_End_Time(void);
     42 void	Send_Statistics_Packet(void);
     43 void 	Check_From_WChat(char *wchat_name);
     44 bool 	Do_The_Internet_Menu_Thang (void);
     45 bool 	Server_Remote_Connect(void);
     46 bool 	Client_Remote_Connect(void);
     47 int 	Read_Game_Options(char *name);
     48 
     49 extern char PlanetWestwoodIPAddress[IP_ADDRESS_MAX];
     50 extern long PlanetWestwoodPortNumber;
     51 extern bool PlanetWestwoodIsHost;
     52 
     53 #endif