projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compiler warnings
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_remote.h
diff --git
a/player_remote.h
b/player_remote.h
index afef269aec7ee42eb1e18c7c154a43d2458d03cc..021fcf5ff1db5b6cda5cb4550f20b86a18139651 100644
(file)
--- a/
player_remote.h
+++ b/
player_remote.h
@@
-5,6
+5,8
@@
#include "network.h"
#include "network_common.h"
#include "network.h"
#include "network_common.h"
+#define NETWORK_SFX_QUEUE_LENGTH 12
+
struct {
struct network_player {
int active;
struct {
struct network_player {
int active;
@@
-13,7
+15,7
@@
struct {
/* this is set IF they exist in a world that we have loaded */
world_instance *active_world;
/* this is set IF they exist in a world that we have loaded */
world_instance *active_world;
- int
hub_match, client_match
;
+ int
world_match[ k_world_max ]
;
/* TODO: Compression with server code */
char username[ NETWORK_USERNAME_MAX ];
/* TODO: Compression with server code */
char username[ NETWORK_USERNAME_MAX ];
@@
-41,12
+43,14
@@
struct {
}
data;
}
}
data;
}
- frames[
6
];
+ frames[
NETWORK_BUFFERFRAMES
];
f64 t;
}
interp_data[ NETWORK_MAX_PLAYERS ];
f64 t;
}
interp_data[ NETWORK_MAX_PLAYERS ];
+ struct net_sfx sfx_queue[ NETWORK_SFX_QUEUE_LENGTH ];
+
m4x3f *final_mtx;
struct player_board_pose board_poses[ NETWORK_MAX_PLAYERS ];
m4x3f *final_mtx;
struct player_board_pose board_poses[ NETWORK_MAX_PLAYERS ];