Commit Graph

57 Commits

Author SHA1 Message Date
Glenn Maynard 2fe7dc9095 fix WITHOUT_NETWORKING 2004-08-10 23:46:24 +00:00
Charles Lohr 5929cf4e49 Added hit offset, for better statistics for SMLAN/SMOnline. 2004-08-10 06:39:25 +00:00
Glenn Maynard 05bfef06fa fix compile 2004-07-22 22:19:14 +00:00
Glenn Maynard 7f2a2c7e44 fix warning 2004-07-16 23:48:51 +00:00
Charles Lohr cf5577455a Differentiated between starts. Added course support. Fixed course Crashing bug. 2004-07-15 16:17:41 +00:00
Glenn Maynard 6e98197c49 compile fix when WITHOUT_NETWORKING 2004-07-07 19:32:09 +00:00
Glenn Maynard 27e6cb0cf9 fix more warnings 2004-07-07 19:28:32 +00:00
Glenn Maynard ca4a06a850 only use ntoh*/hton* for filling in BSD sockets data structures; use our
own byte swaps for other use
more type fixes
2004-07-07 19:24:09 +00:00
Glenn Maynard f0988ea8f4 stop casting to void* 2004-07-07 19:20:51 +00:00
Glenn Maynard d77e42115c stop making wrong assumptions about the size of "short" and "int" 2004-07-07 19:19:48 +00:00
Charles Lohr f12a8ea8e6 Fixed two little bugs regarding server connecting client. 2004-07-04 06:30:16 +00:00
Charles Lohr 22e0c9d674 Added rudamentry testing code for in-game networking 2004-07-04 05:06:55 +00:00
Steve Checkoway 25288800a5 Remove unused headers. 2004-07-04 01:38:59 +00:00
Steve Checkoway 41d54e6c4b Fix warnings. 2004-07-04 01:33:05 +00:00
Sean Burke ad00c31149 This shouldn't need String.h included, and it breaks compile on some systems. 2004-07-03 09:08:18 +00:00
Charles Lohr 8c1012533c Fixed some bugs. 2004-07-01 18:41:04 +00:00
Charles Lohr 0edb51a840 New Protocol, but still buggy.
Removed SendSongsToServer.
2004-06-30 07:16:44 +00:00
Glenn Maynard ae1608a59d fix WITH_NETWORKING/WITHOUT_NETWORKING mismatch 2004-06-20 17:42:58 +00:00
Glenn Maynard 178fb7dbd6 WITHOUT_NETWORKING 2004-06-15 02:21:16 +00:00
Thad Ward 1c46a4880f global.h must be included before anything else. it sets up such things as
disabling stupid warnings for some archs.
2004-06-14 11:10:53 +00:00
Fred Wulff b3470b32ed Fixed Linux compile issue (lib conflict) 2004-06-14 03:47:42 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +00:00
Glenn Maynard 891008f767 remove unneeded include (should almost never need to refer to screen
source files directly)
2004-06-01 00:55:40 +00:00
Steve Checkoway 115b218566 cleanup 2004-05-25 10:39:23 +00:00
Charles Lohr 7729bf48b7 New version of ezsockets for future network features. 2004-05-24 13:59:05 +00:00
Glenn Maynard ccbe03e14e fix uninitialized variable 2004-05-08 06:38:27 +00:00
Charles Lohr 93cfad5125 Moved current grade to half of health int. 2004-05-05 05:41:51 +00:00
Charles Lohr 0dba590547 Report additional information to server (Meter and Grade) 2004-05-05 03:46:28 +00:00
Glenn Maynard 0c485b164e cleanup 2004-05-03 20:51:20 +00:00
Glenn Maynard 599211722d this can be done with GameState --player, --mode now 2004-05-03 20:28:24 +00:00
Charles Lohr fc5c3ad589 Placed command lines in. And put in support to make a in-game connect
or disconnect for connect to SM Server.  (If it ever comes up)
2004-04-30 04:34:39 +00:00
Charles Lohr fc45e2d051 Fixed command-line arguement for --course=[coursename] 2004-04-29 01:26:47 +00:00
Charles Lohr 858b3fa587 Networking now tells user if connection was successful or unsuccessful. 2004-04-29 01:03:28 +00:00
Charles Lohr e536980db8 Network no longer attempts to sync Demonstration mode. 2004-04-28 01:25:44 +00:00
Charles Lohr 456e3ba47d Removed extra LOG->Info that was useless. 2004-04-20 02:36:39 +00:00
Charles Lohr 87b5df67a6 Removed extra LOG->Info that wasn't needed. 2004-04-18 00:32:03 +00:00
Chris Danford 2f88fb8e04 fix GCC compile errors 2004-04-17 23:09:15 +00:00
Charles Lohr 3f63f6c60e 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.
2004-04-17 22:26:37 +00:00
Steve Checkoway e7f1e50af6 Fix bug where useSMserver always equals true. 2004-04-17 03:36:17 +00:00
Steve Checkoway ef57dd5dd4 Too noisy. 2004-04-17 03:28:31 +00:00
Glenn Maynard 585f92c5f3 clean up commandline handling, make network stuff more self-contained 2004-04-15 20:21:39 +00:00
Charles Lohr 16e5e7bb68 I have added some command-line processing. Look at the bottom of
StepMania.cpp for it.  I have also moved the connect stuff out of the
NetworkSyncManager constructor, so it doens't do ANYTHING unless
it's in the command-line args.  Also, now NSMAN works by the '--NETIP='
flag.
2004-04-15 15:31:59 +00:00
Charles Lohr 4b7c6521ad I changed the way StepMania connects to an IP or listens to something that
makes way more sense.  StepMania.exe -NETIP:[IP]  and added support
for reading profile names (for LAN).  The LAN looks very stable at this point.
2004-04-14 20:39:58 +00:00
Charles Lohr 5580bac586 Network Sync manager updated to fix extra 0 on start bug. 2004-04-05 15:44:30 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Charles Lohr e37a71d7a7 Josh and I decided that it was not worth it to keep the Flash stuff in here.
We got rid of it to keep the class running much faster.
2004-04-01 16:25:36 +00:00
Charles Lohr b31fd636ff Fixed linux compile error.
Modified for Macromedia Flash Support.
2004-03-31 04:18:44 +00:00
Charles Lohr a96e8ba5dd I added some support to make the client act as a pseudo-server.
I'm doing this so it might be possible to have SMOnline written entirelly in Flash.
2004-03-30 20:13:22 +00:00
Steve Checkoway 679afbbbb2 clean up 2004-03-30 07:43:12 +00:00
Charles Lohr 4cd8d6b6f3 I added life and Macromedia Flash XMLSocket Support. 2004-03-30 05:50:36 +00:00