Commit Graph

31 Commits

Author SHA1 Message Date
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
Colby Klein f537e55d88 attempt to fix build 2017-06-16 12:14:21 -07:00
Colby Klein 41b602c90f EzSockets: Don't leak WinAPI everywhere this gets included. Fixes #1455 2017-05-24 01:23:22 -07:00
Nickito12 6225e114ad Online protocol improvements (#1393)
* Chartkey generation

* Simfile filehash generation

* Read filehash on NSCRSG. Add FLU packets and friendlist vectors. Add
getserverversion method. Send chartkey, filehash and rate on start request.

* Use filehash to find the selected song if it is not empty.

* Friendlist update broadcast.

* Send note row size if it's bigger than 1

* Used for chartkey generation

* Define the ReportScore function with numNotes when WITHOUT_NETWORKING is defined
2017-02-10 04:57:59 -08:00
latot 47b0f83aed Remove WITH_VERSION_INFO, version info by default 2015-10-22 21:21:47 -03:00
Jason Felds d9a3c9cf97 Use cmake to determine which string func we need.
On a side note, better to default to linux names when possible.
2015-10-07 19:00:16 -04:00
Jason Felds 99b79e5410 Generate verstub.cpp through raw cmake.
There is no need for an extra program.

As a bonus, generate a consistent windows vdi file.

There is still an issue with actually *reading* the vdi, but that's for someone else to tackle.
2015-10-02 21:56:02 -04:00
Ben "root" Anderson 7a33b8a44a Program version is now in a const from a generated file, not a static macro. Plus all the mess I had to make to get that to work. 2015-01-28 19:21:24 -06:00
Ben "root" Anderson 0d394e269d Declare version_* in only one place. Define them in ver.cpp (at least on autotools). 2015-01-28 16:45:19 -06:00
Kyzentun 3fb36af157 Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox. 2014-12-09 22:27:00 -07:00
Jason Felds 07b9fb6da5 The big NULL replacement party part 6.
...and ', NULL' had even more to replace.
2013-05-03 23:49:23 -04:00
Jason Felds 28e5148dec The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds 328c41eec0 The big NULL replacement party part 4.
...okay, not as big of a commit.
2013-05-03 23:24:23 -04:00
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
AJ Kelly b389308611 use the real product id instead of a hardcoded 'StepMania AMX' 2012-05-21 17:59:06 -05:00
Aldo Fregoso 09f369cd33 Imported the check for updates code from StepMania AMX.
---
TODO: Move the code from NSMAN to a new class
TODO: HOOKS->GetURL for Linux
TODO: Do not run the check every time the game is launched, use:
PREFSMAN->m_iUpdateCheckIntervalSeconds - Seconds to wait before running the next check
PREFSMAN->m_iUpdateCheckLastCheckedSecond - Timestamp of the last check
2012-05-21 02:29:59 -05:00
Jason Felds d909714249 Cue rage in 3... 2... 1... 2012-01-16 18:04:40 -05:00
Flameshadowxeroshin e5c4ad0e5b add some log stuff for debugging 2012-01-16 21:30:52 +00:00
Jason Felds 720675637e The last of the LOG warnings I think. 2011-06-12 03:12:44 -04:00
Colby Klein 301247d952 Fix compile in GCC 2011-03-27 17:28:44 -07:00
AJ Kelly f4a9a3acc4 actually use strtol as intended, checking for invalid inputs 2011-03-27 19:19:31 -05:00
AJ Kelly cab7c1f077 use unsigned short instead of unsigned int for port; also use strtol instead of atoi 2011-03-27 19:06:15 -05:00
AJ Kelly cd768cbb8c changed port number from a short to an unsigned int 2011-03-27 17:49:18 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds 00257e7995 Consistent semicolon use.
This is C++, not Python!
2011-02-18 20:40:51 -05:00
AJ Kelly 8943c2a325 Added CloseConnection() Lua binding. 2011-01-12 13:05:07 -06:00
AJ Kelly 4bde985f10 --listen was originally added in a96e8ba:
"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."

Considering that this never panned out, and --listen doesn't exactly work, I'm removing it.
2010-08-23 02:16:10 -05:00
AJ Kelly 60b86919ba [Player] CheckpointsFlashOnHold metric added (bool). also cleanup/comment/etc. 2010-02-24 02:40:36 -06:00
AJ Kelly f2f7d2ceeb add [MusicWheel] RecentSongsToShow metric
--------
cleanup
small amount of work on guitar-five (still incomplete)
add more commented out stuff for replay data playback
debug trace combo in order to find out issues with smo-ssc
added old packet names as comments in NetworkSyncManager.h
2010-02-05 13:42:55 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00