projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gameserver monitor initial work
[carveJwlIkooP6JGAAIwe30JlM.git]
/
skaterift.c
diff --git
a/skaterift.c
b/skaterift.c
index 983ca9ba99c5fddc1b7d112fa7d36b5053ecf259..2e6fca696a9191b32cc022a78b96dfc2eca6df32 100644
(file)
--- a/
skaterift.c
+++ b/
skaterift.c
@@
-14,6
+14,7
@@
#if 1
#define SR_NETWORKED
#if 1
#define SR_NETWORKED
+#define SR_USE_LOCALHOST
#ifndef VG_RELEASE
#define VG_DEVWINDOW
#ifndef VG_RELEASE
#define VG_DEVWINDOW
@@
-51,6
+52,7
@@
#include "highscores.c"
#include "save.c"
#include "respawn.c"
#include "highscores.c"
#include "save.c"
#include "respawn.c"
+#include "network.c"
static struct player_avatar localplayer_avatar;
static struct player_avatar localplayer_avatar;
@@
-61,7
+63,11
@@
int main( int argc, char *argv[] ){
return 0;
}
return 0;
}
-VG_STATIC void vg_launch_opt(void){}
+VG_STATIC void vg_launch_opt(void){
+ if( vg_long_opt( "noauth" ) ){
+ network_client.auth_mode = eServerModeNoAuthentication;
+ }
+}
VG_STATIC void vg_preload(void){
//skaterift_read_savedata();
VG_STATIC void vg_preload(void){
//skaterift_read_savedata();