Home
last modified time | relevance | path

Searched refs:playerindex (Results 1 – 24 of 24) sorted by relevance

/dports/games/atanks/atanks-6.5/src/
H A Dteleport.cpp115 int playerindex = 0; in TELEPORT() local
120 while ( (playerindex < env.numGamePlayers) && (! found) ) { in TELEPORT()
121 if ( (env.players[playerindex]->tank) in TELEPORT()
122 && (env.players[playerindex]->tank == the_tank) ) in TELEPORT()
125 ++playerindex; in TELEPORT()
131 playerindex, destinationX, destinationY); in TELEPORT()
H A Dtank.cpp850 int32_t playerindex = 0; in explode() local
855 while ( (playerindex < env.numGamePlayers) && (!found) ) { in explode()
856 if ( env.players[playerindex] in explode()
857 && (env.players[playerindex]->tank == this) ) in explode()
860 playerindex++; in explode()
865 snprintf(buffer, 14, "REMOVETANK %d", playerindex); in explode()
H A Dplayer.cpp973 static int playerindex = -1; in executeNetCmd() local
1103 while ( (playerindex < env.numGamePlayers) && (! found) ) in executeNetCmd()
1105 if ( env.players[playerindex] == this ) in executeNetCmd()
1108 SAFE_WRITE(server_socket, "YOUARE %d", playerindex) in executeNetCmd()
1111 playerindex++; in executeNetCmd()
/dports/games/openbor3482/openbor-2c1ecd7/engine/
H A Dopenbor.c10225 playerindex &= 3; in addscore()
10236 player[playerindex].lives++; in addscore()
10240 player[playerindex].score = s; in addscore()
10565 if(s_ent->modeldata.type & TYPE_SHOT) s_ent->playerindex = ent->playerindex; in ent_spawn_ent()
10596 s_ent->playerindex = ent->playerindex; in ent_summon_ent()
16549 int playerindex = self->playerindex; in player_die() local
16554 execute_pdie_script(playerindex); in player_die()
16556 if(nomaxrushreset[4] >= 1) nomaxrushreset[playerindex] = player[playerindex].ent->rush[1]; in player_die()
16557 player[playerindex].ent = NULL; in player_die()
16583 spawnplayer(playerindex); in player_die()
[all …]
H A Dopenbor.h1178 char playerindex:8; member
1700 void addscore(int playerindex, int add);
H A Dopenborscript.c4806 (*pretvar)->lVal = (LONG)ent->playerindex; in openbor_getentityproperty()
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dnetwork.cpp1687 const int32_t playerindex = update->playerindex; in Net_ExtractPlayerUpdate() local
1689 if (playerindex != myconnectindex) in Net_ExtractPlayerUpdate()
1734 static void Net_Server_SetupPlayer(int playerindex) in Net_Server_SetupPlayer() argument
1744 …g_player[playerindex].ps->last_extra = sprite[g_player[playerindex].ps->i].extra = g_player[player… in Net_Server_SetupPlayer()
1746 …actor[g_player[playerindex].ps->i].t_data[2] = actor[g_player[ in Net_Server_SetupPlayer()
1749 P_ResetPlayer(playerindex); in Net_Server_SetupPlayer()
1750 Net_SpawnPlayer(playerindex); in Net_Server_SetupPlayer()
2510 update->playerindex = player; in Net_FillPlayerUpdate()
2584 int32_t playerindex; in Net_ResetPlayerReady() local
2586 for (TRAVERSE_CONNECT(playerindex)) in Net_ResetPlayerReady()
[all …]
H A Dnetwork.h212 int16_t playerindex; member
/dports/multimedia/quodlibet/quodlibet-4.3.0/quodlibet/ext/_shared/squeezebox/
H A Dserver.py133 playerindex = int(pair[1])
137 self.players[playerindex][pair[0]] = pair[1]
/dports/games/openbor3711/openbor-6ec17fa/engine/
H A Dopenbor.c10445 playerindex &= 3; in addscore()
10447 s = player[playerindex].score; in addscore()
10459 player[playerindex].lives++; in addscore()
10787 if(s_ent->modeldata.type & TYPE_SHOT) s_ent->playerindex = ent->playerindex; in ent_spawn_ent()
10819 s_ent->playerindex = ent->playerindex; in ent_summon_ent()
17288 int playerindex = self->playerindex; in player_die() local
17295 if(nomaxrushreset[4] >= 1) nomaxrushreset[playerindex] = player[playerindex].ent->rush[1]; in player_die()
17322 spawnplayer(playerindex); in player_die()
18174 p = player+self->playerindex; in check_combo()
18235 int pli = self->playerindex; in player_think()
[all …]
H A Dopenbor.h1200 int playerindex:8;
1726 void addscore(int playerindex, int add);
H A Dopenborscript.c4939 (*pretvar)->lVal = (LONG)ent->playerindex; in openbor_getentityproperty()
6212 ent->playerindex = (int)ltemp; in openbor_changeentityproperty()
/dports/games/openbor3979/openbor-2bcf25b/engine/
H A Dopenbor.c14136 if(playerindex < 0) in addscore()
14141 playerindex &= 3; in addscore()
14143 s = player[playerindex].score; in addscore()
14166 player[playerindex].score = s; in addscore()
14720 s_ent->playerindex = ent->playerindex; in ent_spawn_ent()
14768 s_ent->playerindex = ent->playerindex; in ent_summon_ent()
23712 int playerindex = self->playerindex; in player_die() local
23727 nomaxrushreset[playerindex] = player[playerindex].ent->rush[1]; in player_die()
23768 spawnplayer(playerindex); in player_die()
24965 int pli = self->playerindex; in player_think()
[all …]
H A Dopenbor.h1230 int playerindex; member
1769 void addscore(int playerindex, int add);
H A Dopenborscript.c5808 (*pretvar)->lVal = (LONG)ent->playerindex; in openbor_getentityproperty()
6954 ent->playerindex = (int)ltemp; in openbor_changeentityproperty()
/dports/games/openbor4432/openbor-ba1eb4f/engine/
H A Dopenbor.c16554 if(playerindex < 0) in addscore()
16559 playerindex &= 3; in addscore()
16561 s = player[playerindex].score; in addscore()
16584 player[playerindex].score = s; in addscore()
17158 s_ent->playerindex = ent->playerindex; in ent_spawn_ent()
17206 s_ent->playerindex = ent->playerindex; in ent_summon_ent()
27093 int playerindex = self->playerindex; in player_die() local
27108 nomaxrushreset[playerindex] = player[playerindex].ent->rush.count.max; in player_die()
27149 spawnplayer(playerindex); in player_die()
28414 int pli = self->playerindex; in player_think()
[all …]
H A Dopenbor.h2000 int playerindex; member
2556 void addscore(int playerindex, int add);
H A Dopenborscript.c7747 (*pretvar)->lVal = (LONG)ent->playerindex; in openbor_getentityproperty()
9016 ent->playerindex = (int)ltemp; in openbor_changeentityproperty()
/dports/games/openbor/openbor-3caaddd5/engine/
H A Dopenbor.c17017 if(playerindex < 0) in addscore()
17022 playerindex &= 3; in addscore()
17024 s = player[playerindex].score; in addscore()
17736 s_ent->playerindex = ent->playerindex; in ent_spawn_ent()
17785 s_ent->playerindex = ent->playerindex; in ent_summon_ent()
29624 int playerindex = self->playerindex; in player_die() local
29641 nomaxrushreset[playerindex] = player[playerindex].ent->rush.count.max; in player_die()
29750 spawnplayer(playerindex); in player_die()
29754 if (savedata.joyrumble[playerindex]) control_rumble(playerindex, 1, 125); in player_die()
31264 int pli = self->playerindex; in player_think()
[all …]
H A Dopenbor.h2611 int playerindex; // Player controlling the entity. ~~ member
3113 void addscore(int playerindex, int add);
H A Dopenborscript.c4789 (*pretvar)->lVal = (LONG)ent->playerindex; in openbor_getentityproperty()
6015 ent->playerindex = (LONG)ltemp; in openbor_changeentityproperty()
/dports/games/openbor/openbor-3caaddd5/engine/source/openborscript/
H A Dentity.c946 (*pretvar)->lVal = (LONG)handle->playerindex; in openbor_get_entity_property()
2113 handle->playerindex = temp_int; in openbor_set_entity_property()
/dports/games/rottdc/rottdc-1.0-2/rott/
H A Drt_playr.c553 void SpawnPlayerobj (int tilex, int tiley, int dir, int playerindex) in SpawnPlayerobj() argument
557 pstate = &PLAYERSTATE[playerindex]; in SpawnPlayerobj()
564 new->dirchoosetime = playerindex; in SpawnPlayerobj()
568 if (playerindex==consoleplayer) in SpawnPlayerobj()
571 PLAYER[playerindex] = new; in SpawnPlayerobj()
H A Drt_actor.c630 int numactors,i,playerindex; in LoadActors() local
643 memcpy(&playerindex,buffer,sizeof(playerindex)); in LoadActors()
644 buffer += sizeof(playerindex); in LoadActors()
646 size -= (sizeof(misc_stuff)+sizeof(numplayers)+sizeof(playerindex)); in LoadActors()
669 if (i==playerindex) in LoadActors()