if (options.debug)
{
printf("Player status at level initialization:\n");
+
+ for (i = 0; i < MAX_PLAYERS; i++)
+ {
+ struct PlayerInfo *player = &stored_player[i];
+
+ printf("- player %d: present == %d, connected == %d [%d/%d], active == %d",
+ i + 1,
+ player->present,
+ player->connected,
+ player->connected_locally,
+ player->connected_network,
+ player->active);
+
+ if (local_player == player)
+ printf(" (local player)");
+
+ printf("\n");
+ }
}
#endif
{
struct PlayerInfo *player = &stored_player[i];
- printf("- player %d: present == %d, connected == %d, active == %d",
+ printf("- player %d: present == %d, connected == %d [%d/%d], active == %d",
i + 1,
player->present,
player->connected,
+ player->connected_locally,
+ player->connected_network,
player->active);
if (local_player == player)
{
struct PlayerInfo *player = &stored_player[i];
- printf("- player %d: present == %d, connected == %d, active == %d",
+ printf("- player %d: present == %d, connected == %d [%d/%d], active == %d",
i + 1,
player->present,
player->connected,
+ player->connected_locally,
+ player->connected_network,
player->active);
if (local_player == player)
{
struct PlayerInfo *player = &stored_player[i];
- printf("- player %d: present == %d, connected == %d, active == %d",
+ printf("- player %d: present == %d, connected == %d [%d/%d], active == %d",
i + 1,
player->present,
player->connected,
+ player->connected_locally,
+ player->connected_network,
player->active);
if (local_player == player)
{
struct PlayerInfo *player = &stored_player[i];
- printf("- player %d: present == %d, connected == %d, active == %d",
+ printf("- player %d: present == %d, connected == %d [%d/%d], active == %d",
i + 1,
player->present,
player->connected,
+ player->connected_locally,
+ player->connected_network,
player->active);
if (local_player == player)