working on mulitplayer

This commit is contained in:
Chris Danford
2002-12-02 05:25:44 +00:00
parent d377737f9f
commit ca7c1ab78f
22 changed files with 983 additions and 227 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef NETGAMESTATE_H
#define NETGAMESTATE_H
#define MAX_PLAYERS 8
#define MAX_NAME_LENGTH 32
struct NetPlayerState
{
char name[MAX_NAME_LENGTH];
float score;
int combo;
bool bReady;
};
struct NetGameState
{
int num_players;
NetPlayerState player[MAX_PLAYERS];
};
#endif