Added --Course command, and a command to send all songs to server

so the server can index them for gameplay for SMOnline.

I am not sure if I did the Course setup properly.  If I did not, feel free to fix
it or... if you don't feel like it, I'm sure I'll figure it out after a while.

I left a lot of notes in... I am not sure what style of code you want,
at what point you want me to submit, if I am doing any of this wrong
please just tell me, and I'll try to be more useful.
This commit is contained in:
Charles Lohr
2004-04-17 22:26:37 +00:00
parent b5ec124e28
commit 3f63f6c60e
3 changed files with 132 additions and 2 deletions
+5 -1
View File
@@ -14,7 +14,10 @@
*/
#include "PlayerNumber.h"
void NSSendSongs();
void ArgStartCourse(CString CourseName);
class EzSockets;
class NetworkSyncManager
@@ -28,6 +31,7 @@ public:
void ReportSongOver(); //Report to server that song is over
void StartRequest(); //Request a start. Block until granted.
bool Connect(const CString& addy, unsigned short port); // Connect to SM Server
void SendSongs(); //Send song list to server (And exit)
int m_playerLife[NUM_PLAYERS]; //Life