/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/ |
H A D | gamestructures.cpp | 352 MEMBER(g_player[0].ps, zoom, PLAYER_ZOOM), 357 LABEL(g_player[0].ps, pos.x, "posx", PLAYER_POSX), 442 MEMBER(g_player[0].ps, fta, PLAYER_FTA), 443 MEMBER(g_player[0].ps, ftq, PLAYER_FTQ), 457 MEMBER(g_player[0].ps, i, PLAYER_I), 556 auto const &ps = *g_player[playerNum].ps; in VM_GetPlayer() 604 auto &ps = *g_player[playerNum].ps; in VM_SetPlayer() 651 else g_player[playerNum].frags[lParm2] = newValue; in VM_SetPlayer() 1395 vm.pPlayer = g_player[iSet].ps; in VM_SetUserdef() 1506 auto const &i = g_player[playerNum].input; in VM_GetPlayerInput() [all …]
|
H A D | cmdline.cpp | 171 g_player[0].wchoice[0] = 3; in G_CheckCommandLine() 172 g_player[0].wchoice[1] = 4; in G_CheckCommandLine() 173 g_player[0].wchoice[2] = 5; in G_CheckCommandLine() 174 g_player[0].wchoice[3] = 7; in G_CheckCommandLine() 175 g_player[0].wchoice[4] = 8; in G_CheckCommandLine() 176 g_player[0].wchoice[5] = 6; in G_CheckCommandLine() 177 g_player[0].wchoice[6] = 0; in G_CheckCommandLine() 178 g_player[0].wchoice[7] = 2; in G_CheckCommandLine() 179 g_player[0].wchoice[8] = 9; in G_CheckCommandLine() 180 g_player[0].wchoice[9] = 1; in G_CheckCommandLine() [all …]
|
H A D | demo.cpp | 64 g_player[myconnectindex].ps->gm &= ~MODE_GAME; in Demo_RestoreModes() 65 g_player[myconnectindex].ps->gm |= MODE_DEMO; in Demo_RestoreModes() 151 if ((g_player[myconnectindex].ps->gm&MODE_GAME) && g_player[myconnectindex].ps->dead_flag) in G_OpenDemoWrite() 502 in_menu = g_player[myconnectindex].ps->gm&MODE_MENU; in G_PlaybackDemo() 515 g_player[myconnectindex].ps->gm &= ~MODE_DEMO; in G_PlaybackDemo() 539 g_player[myconnectindex].ps->gm &= ~MODE_GAME; in G_PlaybackDemo() 540 g_player[myconnectindex].ps->gm |= MODE_DEMO; in G_PlaybackDemo() 886 … if ((g_player[myconnectindex].ps->gm&MODE_MENU) && (g_player[myconnectindex].ps->gm&MODE_EOL)) in G_PlaybackDemo() 893 …if (I_EscapeTrigger() && (g_player[myconnectindex].ps->gm&MODE_MENU) == 0 && (g_player[myconnectin… in G_PlaybackDemo() 914 g_player[myconnectindex].ps->gm = 0; in G_PlaybackDemo() [all …]
|
H A D | network.cpp | 1440 g_player[p].playerquitflag = 0; in P_RemovePlayer() 1457 P_QuickKill(g_player[p].ps); in P_RemovePlayer() 1463 g_player[p].vote = 0; in P_RemovePlayer() 1739 Bmemcpy(g_player[playerindex].ps, g_player[0].ps, sizeof(DukePlayer_t)); in Net_Server_SetupPlayer() 1744 …g_player[playerindex].ps->last_extra = sprite[g_player[playerindex].ps->i].extra = g_player[player… in Net_Server_SetupPlayer() 1916 g_player[other].ps->palookup = g_player[other].pcolor = pbuf[byteIndex++]; in Net_ReceiveClientInfo() 2008 g_player[voting].gotvote = g_player[voting].vote = 1; in Net_ReceiveMapVoteInitiate() 2096 g_player[other].pingcnt++; in Net_ParseClientPacket() 2332 if (!g_player[pbuf[4]].ps) in Net_ReceiveNewPlayer() 2433 g_player[0].pingcnt++; in Net_ParseServerPacket() [all …]
|
H A D | screens.cpp | 90 if (player != g_player[screenpeek].ps) in P_SetGamePalette() 201 if (!g_player[i].playerquitflag) in G_ShowScores() 209 Bsprintf(tempbuf, "%-4d", g_player[i].frags[i] + g_player[i].ps->fraggedself); in G_ShowScores() 382 k = g_player[screenpeek].ps->i; in G_DrawOverheadMap() 639 auto const ps = g_player[snum].ps; in G_PrintCoords() 1275 if (g_player[i].ps->team == g_player[myconnectindex].ps->team) in G_DisplayRest() 1277 … j = min(max((G_GetAngleDelta(getangle(g_player[i].ps->pos.x-g_player[myconnectindex].ps->pos.x, in G_DisplayRest() 1278 …g_player[i].ps->pos.y-g_player[myconnectindex].ps->pos.y), g_player[myconnectindex].ps->ang))>>1, … in G_DisplayRest() 1576 … P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0); in gameDisplay3DRScreen() 1678 … P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0); in gameDisplayTitleScreen() [all …]
|
H A D | osdcmds.cpp | 122 if (g_player[myconnectindex].ps->gm & MODE_GAME) in osdcmd_changelevel() 270 if (g_player[myconnectindex].ps->gm & MODE_GAME) in osdcmd_map() 273 g_player[myconnectindex].ps->gm = MODE_RESTART; in osdcmd_map() 305 if (g_player[myconnectindex].ps->gm & MODE_GAME) in osdcmd_demo() 353 auto pPlayer = g_player[myconnectindex].ps; in osdcmd_maxhealth() 449 g_player[myconnectindex].ps->gm = MODE_RESTART; in osdcmd_restartmap() 770 … sprite[g_player[myconnectindex].ps->i].extra = g_player[myconnectindex].ps->max_player_health<<1; in osdcmd_give() 781 … P_AddAmmo(g_player[myconnectindex].ps,i,g_player[myconnectindex].ps->max_ammo_amount[i]); in osdcmd_give() 808 palid = g_player[screenpeek].ps->palette; in onvideomodechange() 1168 if(g_player[playerIndex].ps == nullptr) in osdcmd_playerinfo() [all …]
|
H A D | in_android.cpp | 141 int lotag = sector[g_player[myconnectindex].ps->cursectnum].lotag; in AndroidAction() 153 … if (!g_player[myconnectindex].ps->jetpack_on && g_player[myconnectindex].ps->on_ground && in AndroidAction() 252 … else if ((g_player[myconnectindex].ps->gm & MODE_MENU) == MODE_MENU && g_currentMenu != MENU_MAIN) in AndroidRead() 254 … else if ((g_player[myconnectindex].ps->gm & MODE_MENU) == MODE_MENU && g_currentMenu == MENU_MAIN) in AndroidRead() 260 else if ((g_player[myconnectindex].ps->gm & MODE_GAME)) in AndroidRead() 269 rv = g_player[myconnectindex].ps->gotweapon; break; in AndroidRead() 276 if ((unsigned)rv < MAX_WEAPONS && !g_player[myconnectindex].ps->ammo_amount[rv]) in AndroidRead() 282 rv = g_player[myconnectindex].ps->dead_flag; break; in AndroidRead() 287 if (g_player[myconnectindex].ps->inv_amount[i]) in AndroidRead() 292 rv = g_player[myconnectindex].ps->somethingonplayer != -1; in AndroidRead()
|
H A D | premap.cpp | 620 auto &p = *g_player[playerNum].ps; in P_MoveToRandomSpawnPoint() 670 auto &p = *g_player[playerNum].ps; in P_ResetMultiPlayer() 1298 auto &p0 = *g_player[0].ps; in prelevel() 1392 auto &p0 = *g_player[0].ps; in G_NewGame() 1580 …A_InsertSprite(g_player[0].ps->cursectnum,g_player[0].ps->pos.x,g_player[0].ps->pos.y,g_player[0].… in G_ResetAllPlayers() 1611 auto &plr = g_player[i]; in G_ResetAllPlayers() 1645 auto &p = *g_player[i].ps; in G_ResetAllPlayers() 1690 g_player[p].input = {}; in G_ClearFIFO() 1691 g_player[p].vote = 0; in G_ClearFIFO() 1692 g_player[p].gotvote = 0; in G_ClearFIFO() [all …]
|
H A D | savegame.cpp | 486 auto & p0 = *g_player[0].ps; in G_LoadPlayer() 1378 ((sizeof(g_player[0].user_name)+sizeof(g_player[0].pcolor)+sizeof(g_player[0].pteam) \ 2193 CPDAT(&g_player[i].pcolor, sizeof(g_player[0].pcolor)); in sv_restsave() 2194 CPDAT(&g_player[i].pteam, sizeof(g_player[0].pteam)); in sv_restsave() 2195 CPDAT(&g_player[i].frags[0], sizeof(g_player[0].frags)); in sv_restsave() 2196 CPDAT(g_player[i].ps ? g_player[i].ps : &dummy_ps, sizeof(DukePlayer_t)); in sv_restsave() 2211 CPDAT(&g_player[i].pcolor, sizeof(g_player[0].pcolor)); in sv_restload() 2212 CPDAT(&g_player[i].pteam, sizeof(g_player[0].pteam)); in sv_restload() 2213 CPDAT(&g_player[i].frags[0], sizeof(g_player[0].frags)); in sv_restload() 2214 CPDAT(g_player[i].ps ? g_player[i].ps : &dummy_ps, sizeof(DukePlayer_t)); in sv_restload() [all …]
|
H A D | game.cpp | 4031 … if (g_player[playerNum].ps->over_shoulder_on > 0 && g_player[playerNum].ps->newowner < 0) in G_DoSpriteAnimations() 4314 … if (g_player[screenpeek].ps->inv_amount[GET_HEATS] > 0 && g_player[screenpeek].ps->heat_on && in G_DoSpriteAnimations() 5899 Xfree(g_player[i].ps); in G_Cleanup() 6172 g_player[i].pingcnt = 0; in G_Startup() 6331 if (g_player[pnum].ps == NULL) in G_MaybeAllocPlayer() 6637 g_player[0].playerquitflag = 1; in app_main() 6646 g_player[j].ps->team = g_player[j].pteam = i; in app_main() 7175 if (g_player[i].ps->team != g_player[i].pteam && g_gametypeFlags[ud.coop] & GAMETYPE_TDM) in G_DoMoveThings() 7177 g_player[i].ps->team = g_player[i].pteam; in G_DoMoveThings() 7183 g_player[i].ps->palookup = g_player[i].pcolor = G_GetTeamPalette(g_player[i].ps->team); in G_DoMoveThings() [all …]
|
H A D | sector.cpp | 232 auto const pPlayer = g_player[myconnectindex].ps; in A_FindPlayer() 245 auto const pPlayer = g_player[j].ps; in A_FindPlayer() 314 g_player[playerNum].ps->vel.z = 0; in G_DoSectorAnimations() 425 auto const pPlayer = g_player[screenpeek].ps; in G_AnimateCamSprite() 1277 if (g_player[playerNum].ps->access_incs == 0) in P_ActivateSwitch() 2435 auto ps = g_player[P_Get(spriteNum)].ps; 2521 auto ps = g_player[P_Get(spriteNum)].ps; 2587 auto const pPlayer = g_player[playerNum].ps; 3232 auto const pPlayer = g_player[playerNum].ps; 3285 … if (klabs(g_player[playerNum].input.svel) > 768 || klabs(g_player[playerNum].input.fvel) > 768) [all …]
|
H A D | sounds.cpp | 189 if (ud.recstat != 2 && g_player[myconnectindex].ps->gm&MODE_GAME) in S_RestartMusic() 367 VM_OnEvent(EVENT_CONTINUELEVELMUSICSLOT, g_player[myconnectindex].ps->i, myconnectindex); in S_ContinueLevelMusic() 593 const vec3_t *cam2 = &g_player[1].ps->pos; in S_CalcDistAndAng() 599 sectNum = g_player[1].ps->cursectnum; in S_CalcDistAndAng() 600 angle = g_player[1].ps->ang; in S_CalcDistAndAng() 676 auto const pPlayer = g_player[myconnectindex].ps; in S_PlaySound3D() 725 auto const pOther = g_player[screenpeek].ps; in S_PlaySound3D() 731 if (g_player[1].ps->i == spriteNum) in S_PlaySound3D() 732 pOther = g_player[1].ps; in S_PlaySound3D() 925 if ((g_player[myconnectindex].ps->gm & (MODE_GAME|MODE_DEMO)) == 0) in S_Update() [all …]
|
H A D | anim.cpp | 333 … VM_OnEventWithReturn(EVENT_PRECUTSCENE, g_player[screenpeek].ps->i, screenpeek, framenum); in Anim_Play() 354 VM_OnEventWithReturn(EVENT_CUTSCENE, g_player[screenpeek].ps->i, screenpeek, framenum); in Anim_Play() 397 …if (VM_OnEventWithReturn(EVENT_SKIPCUTSCENE, g_player[screenpeek].ps->i, screenpeek, I_GeneralTrig… in Anim_Play() 466 P_SetGamePalette(g_player[myconnectindex].ps, ANIMPAL, 8 + 2); in Anim_Play() 494 i = VM_OnEventWithReturn(EVENT_PRECUTSCENE, g_player[screenpeek].ps->i, screenpeek, i); in Anim_Play() 501 …if (VM_OnEventWithReturn(EVENT_SKIPCUTSCENE, g_player[screenpeek].ps->i, screenpeek, I_GeneralTrig… in Anim_Play() 509 P_SetGamePalette(g_player[myconnectindex].ps, ANIMPAL, 0); in Anim_Play() 540 i = VM_OnEventWithReturn(EVENT_CUTSCENE, g_player[screenpeek].ps->i, screenpeek, i); in Anim_Play()
|
H A D | player.cpp | 142 g_player[0].ps->i, 5); in Proj_DoWaterTracers() 216 if (!g_player[playerNum].ps->auto_aim) in A_FindTargetSprite() 646 … g_player[P_Get(hitData->sprite)].ps->team != g_player[P_Get(spriteOwner)].ps->team))) in P_PostFireHitscan() 1359 … shootAng = getangle(g_player[j].ps->opos.x - startPos.x, g_player[j].ps->opos.y - startPos.y); in A_ShootHardcoded() 1594 … shootAng = getangle(g_player[j].ps->opos.x - startPos.x, g_player[j].ps->opos.y - startPos.y); in A_ShootHardcoded() 2127 if (g_player[screenpeek].ps->scuba_on) in P_DisplayScuba() 3914 … int otherPlayerDist = klabs(g_player[otherPlayer].ps->opos.x - g_player[playerNum].ps->pos.x) + in P_FindOtherPlayer() 3915 … klabs(g_player[otherPlayer].ps->opos.y - g_player[playerNum].ps->pos.y) + in P_FindOtherPlayer() 3991 … if (GTFLAGS(GAMETYPE_TDM) && g_player[pPlayer->frag_ps].ps->team == g_player[playerNum].ps->team) in P_FragPlayer() 4014 … &g_player[pPlayer->frag_ps].user_name[0], &g_player[playerNum].user_name[0]); in P_FragPlayer() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/ |
H A D | net.cpp | 1774 Bmemset(&g_player[i].movefifoend, 0, sizeof(g_player[i].movefifoend)); in Net_ClearFIFO() 1775 Bmemset(&g_player[i].syncvalhead, 0, sizeof(g_player[i].syncvalhead)); in Net_ClearFIFO() 1776 Bmemset(&g_player[i].myminlag, 0, sizeof(g_player[i].myminlag)); in Net_ClearFIFO() 1850 int k = (g_player[myconnectindex].movefifoend-1)-g_player[i].movefifoend; in Net_GetInput() 1851 g_player[i].myminlag = min(g_player[i].myminlag,k); in Net_GetInput() 2090 j += g_player[i].playerquitflag + g_player[i].playerquitflag; in Net_GetInput() 2195 j += g_player[i].playerquitflag+g_player[i].playerquitflag; in Net_ParsePacket() 2693 g_player[voting].gotvote = g_player[voting].vote = 1; in Net_ParsePacket() 3477 g_player[myconnectindex].wchoice[i] = g_player[0].wchoice[i]; in Net_SendClientInfo() 3509 g_player[other].ps->palookup = g_player[other].pcolor = pbuf[i++]; in Net_ReceiveClientInfo() [all …]
|
H A D | cmdline.cpp | 159 g_player[0].wchoice[0] = 3; in G_CheckCommandLine() 160 g_player[0].wchoice[1] = 4; in G_CheckCommandLine() 161 g_player[0].wchoice[2] = 5; in G_CheckCommandLine() 162 g_player[0].wchoice[3] = 7; in G_CheckCommandLine() 163 g_player[0].wchoice[4] = 8; in G_CheckCommandLine() 164 g_player[0].wchoice[5] = 6; in G_CheckCommandLine() 165 g_player[0].wchoice[6] = 0; in G_CheckCommandLine() 166 g_player[0].wchoice[7] = 2; in G_CheckCommandLine() 167 g_player[0].wchoice[8] = 9; in G_CheckCommandLine() 168 g_player[0].wchoice[9] = 1; in G_CheckCommandLine() [all …]
|
H A D | premap.cpp | 2100 …A_InsertSprite(g_player[0].ps->cursectnum,g_player[0].ps->pos.x,g_player[0].ps->pos.y,g_player[0].… in resetpspritevars() 2126 if (i) Bmemcpy(g_player[i].ps,g_player[0].ps,sizeof(DukePlayer_t)); in resetpspritevars() 2190 g_player[j].ps->last_extra = g_player[j].ps->max_player_health; in resetpspritevars() 2214 … g_player[j].pcolor = s->pal = g_player[j].ps->palookup = g_whichPalForPlayer++; in resetpspritevars() 2218 else g_player[j].pcolor = g_player[j].ps->palookup = s->pal; in resetpspritevars() 2227 g_player[j].ps->team = g_player[j].pteam; in resetpspritevars() 2239 …actor[i].bpos.x = g_player[j].ps->bobpos.x = g_player[j].ps->opos.x = g_player[j].ps->pos.x = … in resetpspritevars() 2240 …actor[i].bpos.y = g_player[j].ps->bobpos.y = g_player[j].ps->opos.y = g_player[j].ps->pos.y = … in resetpspritevars() 2241 actor[i].bpos.z = g_player[j].ps->opos.z = g_player[j].ps->pos.z = s->z; in resetpspritevars() 2242 g_player[j].ps->oq16ang = g_player[j].ps->q16ang = fix16_from_int(s->ang); in resetpspritevars() [all …]
|
H A D | screens.cpp | 89 if (player != g_player[screenpeek].ps) in P_SetGamePalette() 194 if (!g_player[i].playerquitflag) in G_ShowScores() 197 …minitext(70, SCORESHEETOFFSET+90+t, g_player[i].user_name, g_player[i].ps->palookup, 2+8+16+ROTATE… in G_ShowScores() 202 Bsprintf(tempbuf, "%-4d", g_player[i].frags[i] + g_player[i].ps->fraggedself); in G_ShowScores() 375 k = g_player[screenpeek].ps->i; in G_DrawOverheadMap() 1270 if (g_player[i].ps->team == g_player[myconnectindex].ps->team) in G_DisplayRest() 1272 … j = min(max((G_GetAngleDelta(getangle(g_player[i].ps->pos.x-g_player[myconnectindex].ps->pos.x, in G_DisplayRest() 1273 …g_player[i].ps->pos.y-g_player[myconnectindex].ps->pos.y), g_player[myconnectindex].ps->ang))>>1, … in G_DisplayRest() 1594 … P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0); in G_DisplayLogo() 1919 … P_SetGamePalette(g_player[myconnectindex].ps, g_player[myconnectindex].ps->palette, 0); in G_DisplayLogo() [all …]
|
H A D | demo.cpp | 83 g_player[myconnectindex].ps->gm &= ~MODE_GAME; in Demo_RestoreModes() 84 g_player[myconnectindex].ps->gm |= MODE_DEMO; in Demo_RestoreModes() 200 g_player[i].ps->auto_aim = 1; in G_OpenDemoRead() 271 if ((g_player[myconnectindex].ps->gm&MODE_GAME) && g_player[myconnectindex].ps->dead_flag) in G_OpenDemoWrite() 634 in_menu = g_player[myconnectindex].ps->gm&MODE_MENU; in G_PlaybackDemo() 670 g_player[myconnectindex].ps->gm &= ~MODE_GAME; in G_PlaybackDemo() 671 g_player[myconnectindex].ps->gm |= MODE_DEMO; in G_PlaybackDemo() 1053 … if ((g_player[myconnectindex].ps->gm&MODE_MENU) && (g_player[myconnectindex].ps->gm&MODE_EOL)) in G_PlaybackDemo() 1060 …if (I_EscapeTrigger() && (g_player[myconnectindex].ps->gm&MODE_MENU) == 0 && (g_player[myconnectin… in G_PlaybackDemo() 1081 g_player[myconnectindex].ps->gm = 0; in G_PlaybackDemo() [all …]
|
H A D | in_android.cpp | 141 int lotag = sector[g_player[myconnectindex].ps->cursectnum].lotag; in AndroidAction() 153 … if (!g_player[myconnectindex].ps->jetpack_on && g_player[myconnectindex].ps->on_ground && in AndroidAction() 252 … else if ((g_player[myconnectindex].ps->gm & MODE_MENU) == MODE_MENU && g_currentMenu != MENU_MAIN) in AndroidRead() 254 … else if ((g_player[myconnectindex].ps->gm & MODE_MENU) == MODE_MENU && g_currentMenu == MENU_MAIN) in AndroidRead() 260 else if ((g_player[myconnectindex].ps->gm & MODE_GAME)) in AndroidRead() 269 rv = g_player[myconnectindex].ps->gotweapon; break; in AndroidRead() 276 if ((unsigned)rv < MAX_WEAPONS && !g_player[myconnectindex].ps->ammo_amount[rv]) in AndroidRead() 282 rv = g_player[myconnectindex].ps->dead_flag; break; in AndroidRead() 287 if (g_player[myconnectindex].ps->inv_amount[i]) in AndroidRead() 292 rv = g_player[myconnectindex].ps->somethingonplayer != -1; in AndroidRead()
|
H A D | osdcmds.cpp | 134 if (g_player[myconnectindex].ps->gm & MODE_GAME) in osdcmd_changelevel() 282 if (g_player[myconnectindex].ps->gm & MODE_GAME) in osdcmd_map() 285 g_player[myconnectindex].ps->gm = MODE_RESTART; in osdcmd_map() 317 if (g_player[myconnectindex].ps->gm & MODE_GAME) in osdcmd_demo() 441 g_player[myconnectindex].ps->gm = MODE_RESTART; in osdcmd_restartmap() 670 … sprite[g_player[myconnectindex].ps->i].extra = g_player[myconnectindex].ps->max_player_health<<1; in osdcmd_give() 681 … P_AddAmmo(g_player[myconnectindex].ps,i,g_player[myconnectindex].ps->max_ammo_amount[i]); in osdcmd_give() 708 palid = g_player[screenpeek].ps->palette; in onvideomodechange() 991 if (!(g_player[myconnectindex].ps->gm & MODE_GAME)) in osdcmd_quicksave() 1055 if (g_player[myconnectindex].ps->gm&MODE_MENU) in osdcmd_disconnect() [all …]
|
H A D | game.cpp | 7477 Bfree(g_player[i].ps); in G_Cleanup() 8003 sprite[g_player[myconnectindex].ps->i].pal = g_player[myconnectindex].pcolor; in G_UpdatePlayerFromMenu() 8010 g_player[myconnectindex].ps->palookup = g_player[myconnectindex].pcolor = ud.color; in G_UpdatePlayerFromMenu() 8015 sprite[g_player[myconnectindex].ps->i].pal = g_player[myconnectindex].pcolor; in G_UpdatePlayerFromMenu() 8121 if (g_player[pnum].ps == NULL) in G_MaybeAllocPlayer() 8383 g_player[j].ps->team = g_player[j].pteam = i; in app_main() 8667 …g_player[myconnectindex].ps->palookup = g_player[myconnectindex].pcolor = G_GetTeamPalette(g_playe… in app_main() 8671 else g_player[myconnectindex].ps->palookup = g_player[myconnectindex].pcolor; in app_main() 8999 g_player[i].ps->team = g_player[i].pteam; in G_DoMoveThings() 9007 g_player[i].ps->palookup = g_player[i].pcolor = G_GetTeamPalette(g_player[i].ps->team); in G_DoMoveThings() [all …]
|
H A D | savegame.cpp | 1109 ((sizeof(g_player[0].user_name)+sizeof(g_player[0].pcolor)+sizeof(g_player[0].pteam) \ 1872 CPDAT(&g_player[i].pcolor, sizeof(g_player[0].pcolor)); in sv_restsave() 1873 CPDAT(&g_player[i].pteam, sizeof(g_player[0].pteam)); in sv_restsave() 1874 CPDAT(&g_player[i].frags[0], sizeof(g_player[0].frags)); in sv_restsave() 1875 CPDAT(g_player[i].ps ? g_player[i].ps : &dummy_ps, sizeof(DukePlayer_t)); in sv_restsave() 1890 CPDAT(&g_player[i].pcolor, sizeof(g_player[0].pcolor)); in sv_restload() 1891 CPDAT(&g_player[i].pteam, sizeof(g_player[0].pteam)); in sv_restload() 1892 CPDAT(&g_player[i].frags[0], sizeof(g_player[0].frags)); in sv_restload() 1893 CPDAT(g_player[i].ps ? g_player[i].ps : &dummy_ps, sizeof(DukePlayer_t)); in sv_restload() 1897 if (g_player[myconnectindex].ps) in sv_restload() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/n64/ |
H A D | reality.cpp | 226 g_player[0].wchoice[i] = wchoice[i]; in RT_Init() 381 g_maxPlayerHealth = g_player[0].ps->max_player_health = g_player[0].ps->max_shield_amount = 100; in RT_PrepareScript() 384 g_player[0].ps->max_ammo_amount[2] = 50; in RT_PrepareScript() 386 g_player[0].ps->max_ammo_amount[4] = 48; in RT_PrepareScript() 387 g_player[0].ps->max_ammo_amount[5] = 50; in RT_PrepareScript() 388 g_player[0].ps->max_ammo_amount[6] = 66; in RT_PrepareScript() 389 g_player[0].ps->max_ammo_amount[7] = 99; in RT_PrepareScript() 390 g_player[0].ps->max_ammo_amount[8] = 50; in RT_PrepareScript() 547 g_player[0].ps->cursectnum = 4; // ??? in RT_LoadBoard() 548 g_player[0].ps->over_shoulder_on = 0; in RT_LoadBoard() [all …]
|
/dports/audio/sidplay2/sidplay-2.0.9/src/ |
H A D | main.cpp | 132 static ConsolePlayer *g_player; 137 g_player = &player; 205 g_player->stop ();
|