Home
last modified time | relevance | path

Searched refs:CPlayer (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/dports/games/stratagus/stratagus-3.2.0/src/stratagus/
H A Dplayer.cpp1395 void CPlayer::SetDiplomacyNeutralWith(const CPlayer &player) in SetDiplomacyNeutralWith()
1401 void CPlayer::SetDiplomacyAlliedWith(const CPlayer &player) in SetDiplomacyAlliedWith()
1407 void CPlayer::SetDiplomacyEnemyWith(const CPlayer &player) in SetDiplomacyEnemyWith()
1413 void CPlayer::SetDiplomacyCrazyWith(const CPlayer &player) in SetDiplomacyCrazyWith()
1419 void CPlayer::ShareVisionWith(CPlayer &player) in ShareVisionWith()
1425 void CPlayer::EnableSharedVisionFrom(const CPlayer &player) in EnableSharedVisionFrom()
1430 void CPlayer::UnshareVisionWith(CPlayer &player) in UnshareVisionWith()
1436 void CPlayer::DisableSharedVisionFrom(const CPlayer &player) in DisableSharedVisionFrom()
1445 bool CPlayer::IsEnemy(const CPlayer &player) const in IsEnemy()
1461 bool CPlayer::IsAllied(const CPlayer &player) const in IsAllied()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dv_blend.cpp115 if (CPlayer->bonuscount) in V_AddPlayerBlend()
117 cnt = CPlayer->bonuscount << 3; in V_AddPlayerBlend()
123 PalEntry painFlash = CPlayer->mo->DamageFade; in V_AddPlayerBlend()
124 CPlayer->mo->GetClass()->ActorInfo->GetPainFlash(CPlayer->mo->DamageTypeReceived, &painFlash); in V_AddPlayerBlend()
128 cnt = DamageToAlpha[MIN (113, CPlayer->damagecount * painFlash.a / 255)]; in V_AddPlayerBlend()
146 if (CPlayer->poisoncount) in V_AddPlayerBlend()
148 cnt = MIN (CPlayer->poisoncount, 64); in V_AddPlayerBlend()
160 if (CPlayer->hazardcount) in V_AddPlayerBlend()
164 if (CPlayer->hazardcount > 16*TICRATE || (CPlayer->hazardcount & 8)) in V_AddPlayerBlend()
171 cnt= MIN(CPlayer->hazardcount/8, 64); in V_AddPlayerBlend()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dsb_bar.c104 static player_t *CPlayer; variable
862 if (CPlayer->powers[pw_speed]) in DrawAnimatedIcons()
926 if (CPlayer->poisoncount) in SB_PaletteFlash()
1098 temp = CPlayer->mana[0]; in DrawMainBar()
1115 temp = CPlayer->mana[1]; in DrawMainBar()
1280 if (oldkeys != CPlayer->keys) in DrawKeyBar()
1293 oldkeys = CPlayer->keys; in DrawKeyBar()
1350 if (CPlayer->pieces == 7) in DrawWeaponPieces()
1356 if (CPlayer->pieces & WPIECE1) in DrawWeaponPieces()
1360 if (CPlayer->pieces & WPIECE2) in DrawWeaponPieces()
[all …]
/dports/games/uhexen/uhexen-0.601/src/
H A Dsb_bar.c127 static player_t *CPlayer; variable
904 if(CPlayer->poisoncount) in SB_PaletteFlash()
1075 temp = CPlayer->mana[0]; in DrawMainBar()
1092 temp = CPlayer->mana[1]; in DrawMainBar()
1173 +CPlayer->armorpoints[ARMOR_ARMOR]+CPlayer->armorpoints[ARMOR_SHIELD] in DrawMainBar()
1174 +CPlayer->armorpoints[ARMOR_HELMET]+CPlayer->armorpoints[ARMOR_AMULET]; in DrawMainBar()
1249 if(CPlayer->keys&(1<<i)) in DrawKeyBar()
1256 oldkeys = CPlayer->keys; in DrawKeyBar()
1260 +CPlayer->armorpoints[ARMOR_ARMOR]+CPlayer->armorpoints[ARMOR_SHIELD] in DrawKeyBar()
1261 +CPlayer->armorpoints[ARMOR_HELMET]+CPlayer->armorpoints[ARMOR_AMULET]; in DrawKeyBar()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Dsb_bar.c104 static player_t *CPlayer; variable
862 if (CPlayer->powers[pw_speed]) in DrawAnimatedIcons()
926 if (CPlayer->poisoncount) in SB_PaletteFlash()
1098 temp = CPlayer->mana[0]; in DrawMainBar()
1115 temp = CPlayer->mana[1]; in DrawMainBar()
1272 if (oldkeys != CPlayer->keys) in DrawKeyBar()
1285 oldkeys = CPlayer->keys; in DrawKeyBar()
1342 if (CPlayer->pieces == 7) in DrawWeaponPieces()
1348 if (CPlayer->pieces & WPIECE1) in DrawWeaponPieces()
1352 if (CPlayer->pieces & WPIECE2) in DrawWeaponPieces()
[all …]
/dports/games/stratagus/stratagus-3.2.0/src/include/
H A Dplayer.h88 class CPlayer
105 return CPlayer::RevealedPlayers; in GetRevealedPlayers()
256 bool IsEnemy(const CPlayer &player) const;
258 bool IsAllied(const CPlayer &player) const;
273 bool IsTeamed(const CPlayer &player) const;
277 void SetDiplomacyAlliedWith(const CPlayer &player);
278 void SetDiplomacyEnemyWith(const CPlayer &player);
279 void SetDiplomacyCrazyWith(const CPlayer &player);
281 void ShareVisionWith(CPlayer &player);
283 void UnshareVisionWith(CPlayer &player);
[all …]
H A Dupgrade.h41 class CPlayer; variable
86 extern void UpgradeAcquire(CPlayer &player, const CUpgrade *upgrade);
88 extern void UpgradeLost(CPlayer &player, int id);
103 extern int UnitIdAllowed(const CPlayer &player, int id);
104 extern void AllowUpgradeId(CPlayer &player, int id, char af);
106 extern char UpgradeIdAllowed(const CPlayer &player, int id);
107 extern char UpgradeIdentAllowed(const CPlayer &player, const std::string &ident);
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/map/
H A Dmap_radar.cpp51 IsTileRadarVisible(const CPlayer &pradar, const CPlayer &punit, const CMapFieldPlayerInfo &mfp) in IsTileRadarVisible()
81 bool CUnit::IsVisibleOnRadar(const CPlayer &pradar) const in IsVisibleOnRadar()
111 void MapMarkTileRadar(const CPlayer &player, const unsigned int index, int z) in MapMarkTileRadar()
117 void MapMarkTileRadar(const CPlayer &player, int x, int y, int z) in MapMarkTileRadar()
131 void MapUnmarkTileRadar(const CPlayer &player, const unsigned int index, int z) in MapUnmarkTileRadar()
143 void MapUnmarkTileRadar(const CPlayer &player, int x, int y, int z) in MapUnmarkTileRadar()
170 void MapMarkTileRadarJammer(const CPlayer &player, int x, int y, int z) in MapMarkTileRadarJammer()
198 void MapUnmarkTileRadarJammer(const CPlayer &player, int x, int y, int z) in MapUnmarkTileRadarJammer()
204 void MapMarkTileOwnership(const CPlayer &player, const unsigned int index, int z) in MapMarkTileOwnership()
208 void MapMarkTileOwnership(const CPlayer &player, int x, int y, int z) in MapMarkTileOwnership()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/adplug/adplug/
H A Dplayer.cpp28 const unsigned short CPlayer::note_table[12] =
31 const unsigned char CPlayer::op_table[9] =
34 CPlayer::CPlayer(Copl *newopl) in CPlayer() function in CPlayer
39 CPlayer::~CPlayer() in ~CPlayer()
43 unsigned long CPlayer::songlength(int subsong) in songlength()
63 void CPlayer::seek(unsigned long ms) in seek()
/dports/audio/libadplug/adplug-adplug-2.3.3/src/
H A Dplayer.cpp28 const unsigned short CPlayer::note_table[12] =
31 const unsigned char CPlayer::op_table[9] =
34 CPlayer::CPlayer(Copl *newopl) in CPlayer() function in CPlayer
39 CPlayer::~CPlayer() in ~CPlayer()
43 unsigned long CPlayer::songlength(int subsong) in songlength()
63 void CPlayer::seek(unsigned long ms) in seek()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/sound/adplug/
H A Dadplug_player.cpp31 const unsigned short CPlayer::note_table[12] =
34 const unsigned char CPlayer::op_table[9] =
37 CPlayer::CPlayer(Copl *newopl) in CPlayer() function in Ultima::Nuvie::CPlayer
41 CPlayer::~CPlayer() { in ~CPlayer()
44 unsigned long CPlayer::songlength(int subsong) { in songlength()
63 void CPlayer::seek(unsigned long ms) { in seek()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Dsb_bar.c82 static player_t *CPlayer; variable
554 CPlayer = &players[consoleplayer]; in SB_Drawer()
605 if (CPlayer->powers[pw_flight]) in SB_Drawer()
650 if (CPlayer->powers[pw_weaponlevel2] && !CPlayer->chickenTics) in SB_Drawer()
691 if (CPlayer->damagecount) in SB_PaletteFlash()
700 else if (CPlayer->bonuscount) in SB_PaletteFlash()
842 if (CPlayer->keys[key_green]) in DrawMainBar()
846 if (CPlayer->keys[key_blue]) in DrawMainBar()
854 temp = CPlayer->ammo[wpnlev1info[CPlayer->readyweapon].ammo]; in DrawMainBar()
858 if (temp && CPlayer->readyweapon > 0 && CPlayer->readyweapon < 7) in DrawMainBar()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/g_shared/
H A Dshared_hud.cpp285 int health = CPlayer->health; in DrawHealth()
548 AWeapon *wi=CPlayer->ReadyWeapon; in DrawAmmo()
687 if (CPlayer->ReadyWeapon) in DrawOneWeapon()
689 if (weapon==CPlayer->ReadyWeapon || weapon==CPlayer->ReadyWeapon->SisterWeapon) trans=0xd999; in DrawOneWeapon()
830 x=CPlayer->mo->X(); in DrawCoordinates()
832 z=CPlayer->mo->Z(); in DrawCoordinates()
1014 player_t * CPlayer = StatusBar->CPlayer; in DrawHUD() local
1054 DrawFrags(CPlayer, 5, hudheight-70); in DrawHUD()
1060 i=DrawAmmo(CPlayer, hudwidth-5, i); in DrawHUD()
1063 if (CPlayer->camera && CPlayer->camera->player) in DrawHUD()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/g_strife/
H A Dstrife_sbar.cpp215 if (CPlayer != NULL) in NewGame()
217 AttachToPlayer (CPlayer); in NewGame()
401 if (CPlayer->cheats & CF_GODMODE) in DrawMainBar()
407 HealthBar.SetVial (CPlayer->health); in DrawMainBar()
448 CPlayer->inventorytics = 0; in DrawMainBar()
452 if (item == CPlayer->mo->InvSel) in DrawMainBar()
518 if (CPlayer->inventorytics == 0) in DrawFullScreenStuff()
520 if (CPlayer->mo->InvSel != 0) in DrawFullScreenStuff()
545 if (CPlayer->mo->InvFirst != NULL) in DrawFullScreenStuff()
549 if (item == CPlayer->mo->InvSel) in DrawFullScreenStuff()
[all …]
/dports/games/spring/spring_98.0/rts/Game/Players/
H A DPlayer.cpp27 CR_BIND_DERIVED(CPlayer, PlayerBase, )
28 CR_REG_METADATA(CPlayer, (
42 CPlayer::CPlayer() in CPlayer() function in CPlayer
53 void CPlayer::SetControlledTeams() in SetControlledTeams()
81 void CPlayer::UpdateControlledTeams() in UpdateControlledTeams()
92 void CPlayer::StartSpectating() in StartSpectating()
117 void CPlayer::JoinTeam(int newTeam) in JoinTeam()
140 void CPlayer::GameFrame(int frameNum) in GameFrame()
151 void CPlayer::StartControllingUnit() in StartControllingUnit()
209 void CPlayer::StopControllingUnit() in StopControllingUnit()
[all …]
H A DPlayer.h14 class CPlayer; variable
21 class CPlayer : public PlayerBase
24 CR_DECLARE(CPlayer)
33 CPlayer();
34 virtual ~CPlayer(){} in ~CPlayer()
47 CPlayer& operator=(const PlayerBase& base) { PlayerBase::operator=(base); return *this; }
/dports/games/heretic/glheretic-1.2/
H A Dsb_bar.c83 static player_t *CPlayer; variable
927 if(CPlayer->powers[pw_flight]) in SB_Drawer()
972 if(CPlayer->powers[pw_weaponlevel2] && !CPlayer->chickenTics) in SB_Drawer()
1004 if(CPlayer->damagecount) in SB_PaletteFlash()
1013 else if(CPlayer->bonuscount) in SB_PaletteFlash()
1140 temp += CPlayer->frags[i]; in DrawMainBar()
1183 if(CPlayer->keys[key_blue]) in DrawMainBar()
1192 temp = CPlayer->ammo[wpnlev1info[CPlayer->readyweapon].ammo]; in DrawMainBar()
1196 if(temp && CPlayer->readyweapon > 0 && CPlayer->readyweapon < 7) in DrawMainBar()
1264 if(CPlayer->mo->health > 0) in DrawFullScreenStuff()
[all …]
/dports/games/stratagus/stratagus-3.2.0/src/map/
H A Dmap_radar.cpp50 IsTileRadarVisible(const CPlayer &pradar, const CPlayer &punit, const CMapFieldPlayerInfo &mfp) in IsTileRadarVisible()
86 bool CUnit::IsVisibleOnRadar(const CPlayer &pradar) const in IsVisibleOnRadar()
115 void MapMarkTileRadar(const CPlayer &player, const unsigned int index) in MapMarkTileRadar()
121 void MapMarkTileRadar(const CPlayer &player, int x, int y) in MapMarkTileRadar()
135 void MapUnmarkTileRadar(const CPlayer &player, const unsigned int index) in MapUnmarkTileRadar()
144 void MapUnmarkTileRadar(const CPlayer &player, int x, int y) in MapUnmarkTileRadar()
158 void MapMarkTileRadarJammer(const CPlayer &player, const unsigned int index) in MapMarkTileRadarJammer()
164 void MapMarkTileRadarJammer(const CPlayer &player, int x, int y) in MapMarkTileRadarJammer()
177 void MapUnmarkTileRadarJammer(const CPlayer &player, const unsigned int index) in MapUnmarkTileRadarJammer()
186 void MapUnmarkTileRadarJammer(const CPlayer &player, int x, int y) in MapUnmarkTileRadarJammer()
H A Dmap_fog.cpp79 const CPlayer *player;
92 int MapFogFilterFlags(CPlayer &player, const unsigned int index, int mask) in MapFogFilterFlags()
101 int MapFogFilterFlags(CPlayer &player, const Vec2i &pos, int mask) in MapFogFilterFlags()
113 _TileSeen(const CPlayer &p , int c) : player(&p), cloak(c) in _TileSeen()
167 const CPlayer *player;
204 void MapMarkTileSight(const CPlayer &player, const unsigned int index) in MapMarkTileSight()
223 void MapMarkTileSight(const CPlayer &player, const Vec2i &pos) in MapMarkTileSight()
235 void MapUnmarkTileSight(const CPlayer &player, const unsigned int index) in MapUnmarkTileSight()
260 void MapUnmarkTileSight(const CPlayer &player, const Vec2i &pos) in MapUnmarkTileSight()
283 void MapMarkTileDetectCloak(const CPlayer &player, const Vec2i &pos) in MapMarkTileDetectCloak()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Dsb_bar.c90 static player_t *CPlayer; variable
585 CPlayer = &players[consoleplayer]; in SB_Drawer()
636 if (CPlayer->powers[pw_flight]) in SB_Drawer()
681 if (CPlayer->powers[pw_weaponlevel2] && !CPlayer->chickenTics) in SB_Drawer()
722 if (CPlayer->damagecount) in SB_PaletteFlash()
731 else if (CPlayer->bonuscount) in SB_PaletteFlash()
873 if (CPlayer->keys[key_green]) in DrawMainBar()
877 if (CPlayer->keys[key_blue]) in DrawMainBar()
885 temp = CPlayer->ammo[wpnlev1info[CPlayer->readyweapon].ammo]; in DrawMainBar()
889 if (temp && CPlayer->readyweapon > 0 && CPlayer->readyweapon < 7) in DrawMainBar()
[all …]
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/upgrade/
H A Dupgrade.h39 class CPlayer; variable
73 extern void UpgradeAcquire(CPlayer &player, const CUpgrade *upgrade);
76 extern void UpgradeLost(CPlayer &player, int id);
97 extern int UnitIdAllowed(const CPlayer &player, int id);
99 extern void AllowUnitId(CPlayer &player, int id, int units);
101 extern void AllowUpgradeId(CPlayer &player, int id, char af);
103 extern char UpgradeIdAllowed(const CPlayer &player, int id);
104 extern char UpgradeIdentAllowed(const CPlayer &player, const std::string &ident);
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/
H A Dai.h39 class CPlayer; variable
56 extern void AiEachCycle(CPlayer &player); /// Called each game cycle
57 extern void AiEachSecond(CPlayer &player); /// Called each second
59 extern void AiEachHalfMinute(CPlayer &player); /// Called each half minute
60 extern void AiEachMinute(CPlayer &player); /// Called each minute
64 extern void AiInit(CPlayer &player); /// Init AI for this player
88 extern void AiNeedMoreSupply(const CPlayer &player);
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/Client/
H A DPlayer.cpp79 CPlayer::CPlayer() in CPlayer() function in CPlayer
106 void CPlayer::SetHWND( HWND _hWnd ) in SetHWND()
119 bool CPlayer::AddDisplay( uint32 screen ) in AddDisplay()
317 bool CPlayer::Startup() in Startup()
419 void CPlayer::Start() in Start()
457 void CPlayer::Stop() in Stop()
484 bool CPlayer::Shutdown( void ) in Shutdown()
533 CPlayer::~CPlayer() in ~CPlayer()
539 bool CPlayer::BeginFrameUpdate() in BeginFrameUpdate()
563 bool CPlayer::EndFrameUpdate() in EndFrameUpdate()
[all …]
/dports/games/spring/spring_98.0/rts/Game/GUI/
H A DPlayerRoster.cpp145 static inline int CompareBasics(const CPlayer* aP, const CPlayer* bP) in CompareBasics()
172 const CPlayer* aP = playerHandler->Player(aID); in CompareAllies()
173 const CPlayer* bP = playerHandler->Player(bID); in CompareAllies()
225 const CPlayer* aP = playerHandler->Player(aID); in CompareTeamIDs()
226 const CPlayer* bP = playerHandler->Player(bID); in CompareTeamIDs()
251 const CPlayer* aP = playerHandler->Player(aID); in ComparePlayerNames()
252 const CPlayer* bP = playerHandler->Player(bID); in ComparePlayerNames()
272 const CPlayer* aP = playerHandler->Player(aID); in ComparePlayerCPUs()
273 const CPlayer* bP = playerHandler->Player(bID); in ComparePlayerCPUs()
294 const CPlayer* aP = playerHandler->Player(aID); in ComparePlayerPings()
[all …]
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/unit/
H A Dunit.h59 class CPlayer; variable
153 void AssignToPlayer(CPlayer &player);
259 bool IsVisible(const CPlayer &player) const;
261 inline bool IsInvisibile(const CPlayer &player) const in IsInvisibile()
336 bool IsVisibleOnRadar(const CPlayer &pradar) const;
341 bool IsEnemy(const CPlayer &player) const;
343 bool IsAllied(const CPlayer &player) const;
345 bool IsSharedVision(const CPlayer &player) const;
347 bool IsBothSharedVision(const CPlayer &player) const;
349 bool IsTeamed(const CPlayer &player) const;
[all …]

12345678910>>...16