/dports/games/csmash/csmash-0.6.6/ |
H A D | MultiPlayerSelect.cpp | 126 if ( (m_rotate)/(360/PLAYERS) != nextRotate/(360/PLAYERS) ) { in Move() 127 m_rotate = (nextRotate+360/PLAYERS/2)/(360/PLAYERS)*(360/PLAYERS); in Move() 147 if ( (m_opponentRotate)/(360/PLAYERS) != nextRotate/(360/PLAYERS) ) { in Move() 148 m_opponentRotate = (nextRotate+360/PLAYERS/2)/(360/PLAYERS)*(360/PLAYERS); in Move() 161 return (360+(GetOpponentRotate()%360))/(360/PLAYERS); in GetOpponentNum() 163 return (GetOpponentRotate()%360)/(360/PLAYERS); in GetOpponentNum() 214 m_lastOpponentRotate = rotate%(360/PLAYERS); in ReadPT() 217 m_lastOpponentRotate -= (360/PLAYERS); in ReadPT() 220 m_lastOpponentRotate += (360/PLAYERS); in ReadPT()
|
H A D | PlayerSelect.cpp | 81 m_rotate = (m_thePlayer->GetPlayerType()-1)*(360/PLAYERS); in Move() 146 if ( m_rotate/(360/PLAYERS) != nextRotate/(360/PLAYERS) ) { in Move() 147 m_rotate = (nextRotate+360/PLAYERS/2)/(360/PLAYERS)*(360/PLAYERS); in Move() 169 return (360+(GetRotate()%360))/(360/PLAYERS); in GetPlayerNum() 171 return (GetRotate()%360)/(360/PLAYERS); in GetPlayerNum() 176 return (GetPlayerNum()+wins+1)%PLAYERS; in GetOpponentNum()
|
H A D | PlayerSelectView2D.cpp | 45 for ( int i = 0 ; i < PLAYERS ; i++ ) { in Init() 62 player = (360+(m_playerSelect->GetRotate()%360))/(360/PLAYERS); in Redraw() 64 player = (m_playerSelect->GetRotate()%360)/(360/PLAYERS); in Redraw() 67 for ( i = 0 ; i < PLAYERS ; i++ ) { in Redraw() 86 for ( i = 0 ; i < PLAYERS ; i++ ) { in Redraw() 102 m_playerBMP[(player+wins+1)%PLAYERS]->w/2 + 200; in Redraw() 104 m_playerBMP[(player+wins+1)%PLAYERS]->h/2 - 50; in Redraw() 105 rect.w = m_playerBMP[(player+wins+1)%PLAYERS]->w; in Redraw() 106 rect.h = m_playerBMP[(player+wins+1)%PLAYERS]->h; in Redraw() 108 SDL_BlitSurface(m_playerBMP[(player+wins+1)%PLAYERS], NULL, in Redraw()
|
H A D | PracticeSelect.cpp | 136 if ( (*rotate)/(360/PLAYERS) != nextRotate/(360/PLAYERS) ) { in Move() 137 *rotate = (nextRotate+360/PLAYERS/2)/(360/PLAYERS)*(360/PLAYERS); in Move() 158 return (360+(GetOpponentRotate()%360))/(360/PLAYERS); in GetOpponentNum() 160 return (GetOpponentRotate()%360)/(360/PLAYERS); in GetOpponentNum()
|
H A D | PlayerSelectView.cpp | 54 glGenTextures( PLAYERS+2, m_textures ); in Init() 56 for ( i = 0 ; i < PLAYERS ; i++ ){ in Init() 90 player = (360+(m_playerSelect->GetRotate()%360))/(360/PLAYERS); in Redraw() 92 player = (m_playerSelect->GetRotate()%360)/(360/PLAYERS); in Redraw() 124 glBindTexture(GL_TEXTURE_2D, m_textures[(player+wins+1)%PLAYERS] ); in Redraw() 136 (m_playerSelect->GetRotate()%360)%(360/PLAYERS) == 0 ) in Redraw() 139 for ( i = 0 ; i < PLAYERS ; i++ ){ in Redraw() 141 glRotatef( m_playerSelect->GetRotate()-i*360.0F/PLAYERS, 0.0F, 0.0F, 1.0F ); in Redraw()
|
H A D | PracticeSelectView.cpp | 66 (m_playerSelect->GetRotate()%360)%(360/PLAYERS) == 0 ) in Redraw() 69 for ( i = 0 ; i < PLAYERS ; i++ ){ in Redraw() 72 glRotatef( m_playerSelect->GetRotate()-i*360.0F/PLAYERS, in Redraw() 116 if ( theRC->gmode != GMODE_SIMPLE || (rotate%360)%(360/PLAYERS) == 0 ) in Redraw() 119 for ( i = 0 ; i < PLAYERS ; i++ ){ in Redraw() 122 glRotatef( rotate-i*360.0F/PLAYERS, 0.0F, 0.0F, 1.0F ); in Redraw()
|
H A D | PlayerSelectView2D.h | 37 SDL_Surface *m_playerBMP[PLAYERS];
|
H A D | PlayerSelectView.h | 38 GLuint m_textures[PLAYERS+1];
|
/dports/games/libtmcg/libTMCG-1.3.18/tests/ |
H A D | t-poker-cutnchoose.cc | 42 #define PLAYERS 9 macro 46 int pipefd[PLAYERS][PLAYERS][2]; 47 pid_t pid[PLAYERS]; 63 ipipestream *P_in[PLAYERS]; in start_instance() 64 opipestream *P_out[PLAYERS]; in start_instance() 65 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 88 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 93 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 315 for (size_t i = 0; i < PLAYERS; i++) in main() 325 for (size_t i = 0; i < PLAYERS; i++) in main() [all …]
|
H A D | t-poker-aiou.cc | 44 #define PLAYERS 9 macro 48 int pipefd[PLAYERS][PLAYERS][2], broadcast_pipefd[PLAYERS][PLAYERS][2]; 49 pid_t pid[PLAYERS]; 65 ipipestream *P_in[PLAYERS]; in start_instance() 66 opipestream *P_out[PLAYERS]; in start_instance() 69 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 96 size_t T_RBC = (PLAYERS - 1) / 3; in start_instance() 121 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 126 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 148 size_t T_EDCF = PLAYERS - 1; in start_instance() [all …]
|
H A D | t-poker-rot-noninteractive.cc | 42 #define PLAYERS 9 macro 46 int pipefd[PLAYERS][PLAYERS][2]; 47 pid_t pid[PLAYERS]; 63 ipipestream *P_in[PLAYERS]; in start_instance() 64 opipestream *P_out[PLAYERS]; in start_instance() 65 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 88 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 93 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 363 for (size_t i = 0; i < PLAYERS; i++) in main() 373 for (size_t i = 0; i < PLAYERS; i++) in main() [all …]
|
H A D | t-poker-rot.cc | 42 #define PLAYERS 9 macro 46 int pipefd[PLAYERS][PLAYERS][2]; 47 pid_t pid[PLAYERS]; 63 ipipestream *P_in[PLAYERS]; in start_instance() 64 opipestream *P_out[PLAYERS]; in start_instance() 65 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 88 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 93 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 360 for (size_t i = 0; i < PLAYERS; i++) in main() 370 for (size_t i = 0; i < PLAYERS; i++) in main() [all …]
|
H A D | t-poker-noninteractive.cc | 42 #define PLAYERS 9 macro 46 int pipefd[PLAYERS][PLAYERS][2]; 47 pid_t pid[PLAYERS]; 63 ipipestream *P_in[PLAYERS]; in start_instance() 64 opipestream *P_out[PLAYERS]; in start_instance() 65 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 88 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 93 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 374 for (size_t i = 0; i < PLAYERS; i++) in main() 384 for (size_t i = 0; i < PLAYERS; i++) in main() [all …]
|
H A D | t-poker.cc | 43 #define PLAYERS 9 macro 47 int pipefd[PLAYERS][PLAYERS][2]; 48 pid_t pid[PLAYERS]; 64 ipipestream *P_in[PLAYERS]; in start_instance() 65 opipestream *P_out[PLAYERS]; in start_instance() 66 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 89 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 94 for (size_t i = 0; i < PLAYERS; i++) in start_instance() 374 for (size_t i = 0; i < PLAYERS; i++) in main() 384 for (size_t i = 0; i < PLAYERS; i++) in main() [all …]
|
/dports/games/tuxmath/tuxmath_w_fonts-2.0.3/src/ |
H A D | multiplayer.c | 73 int activeplayers = params[PLAYERS]; in mp_run_multiplayer() 105 currentplayer %= params[PLAYERS]; in mp_run_multiplayer() 128 for (currentplayer = 0; currentplayer < params[PLAYERS]; ++currentplayer) in mp_run_multiplayer() 139 for (i = 0; i < params[PLAYERS]; ++i) in mp_run_multiplayer() 143 for (j = 0; j < params[PLAYERS]; ++j) in mp_run_multiplayer() 158 showWinners(winners, params[PLAYERS]); in mp_run_multiplayer() 169 if (playernum < 0 || playernum > params[PLAYERS]) in mp_set_player_score() 180 if (playernum < 0 || playernum > params[PLAYERS]) in mp_get_player_score() 190 if (playernum < 0 || playernum > params[PLAYERS]) in mp_get_player_name() 268 int nplayers = params[PLAYERS]; in initMP() [all …]
|
H A D | multiplayer.h | 41 PLAYERS, enumerator
|
/dports/www/py-weboob/weboob-2.0/weboob/tools/application/ |
H A D | media_player.py | 34 PLAYERS = ( variable 48 ', '.join(player[0] for player in PLAYERS)) 54 player_name, ', '.join(player[0] for player in PLAYERS))) 70 for player_name in [player[0] for player in PLAYERS]: 82 player_names = [player[0] for player in PLAYERS] 121 for (binary, stdin_args) in PLAYERS: 171 for (binary, stdin_args) in PLAYERS:
|
/dports/net-p2p/eiskaltdcpp-cli/eiskaltdcpp-2.2.10/data/examples/ |
H A D | mpris_now_playing.en_US.sh | 28 PLAYERS="amarok audacious qmmp mpd xmms2 dragon vlc songbird clementine exaile" 37 for P in ${PLAYERS}; do
|
/dports/net-p2p/eiskaltdcpp-daemon/eiskaltdcpp-2.2.10/data/examples/ |
H A D | mpris_now_playing.en_US.sh | 28 PLAYERS="amarok audacious qmmp mpd xmms2 dragon vlc songbird clementine exaile" 37 for P in ${PLAYERS}; do
|
/dports/net-p2p/eiskaltdcpp-lib/eiskaltdcpp-2.2.10/data/examples/ |
H A D | mpris_now_playing.en_US.sh | 28 PLAYERS="amarok audacious qmmp mpd xmms2 dragon vlc songbird clementine exaile" 37 for P in ${PLAYERS}; do
|
/dports/net-p2p/eiskaltdcpp-gtk/eiskaltdcpp-2.2.10/data/examples/ |
H A D | mpris_now_playing.en_US.sh | 28 PLAYERS="amarok audacious qmmp mpd xmms2 dragon vlc songbird clementine exaile" 37 for P in ${PLAYERS}; do
|
/dports/net-p2p/eiskaltdcpp-data/eiskaltdcpp-2.2.10/data/examples/ |
H A D | mpris_now_playing.en_US.sh | 28 PLAYERS="amarok audacious qmmp mpd xmms2 dragon vlc songbird clementine exaile" 37 for P in ${PLAYERS}; do
|
/dports/games/frozen-bubble/frozen-bubble-d6a0291/bin/ |
H A D | frozen-bubble | 505 @p or @p = @PLAYERS; 521 @p or @p = @PLAYERS; 529 my (undef, @p) = @PLAYERS; 539 my @p = grep { /rp/ } @PLAYERS; 544 my @p = grep { /rp/ } @PLAYERS; 548 sub is_1p_game() { @PLAYERS == 1 } 1986 @{$falling_bubble{$PLAYERS[0]}} = @{$exploding_bubble{$PLAYERS[0]}} = (); 2587 my $xpos = @PLAYERS <= 3 ? 352 : @PLAYERS == 4 ? 348 : 322; 3049 @PLAYERS = ('p1'); 5186 @PLAYERS = reverse ssort { $pdata{$_}{score} } @PLAYERS; [all …]
|
/dports/games/gltron/gltron-0.70/src/audio/ |
H A D | sound_glue.cpp | 18 static Sound::Source3D *players[PLAYERS]; 69 for(int i = 0; i < PLAYERS; i++) { in Audio_Idle() 247 for(int i = 0; i < PLAYERS; i++) { in Audio_LoadPlayers()
|
/dports/games/openra/OpenRA-release-20200503/mods/common/chrome/ |
H A D | lobby-servers.yaml | 17 Label@PLAYERS: 108 LabelWithTooltip@PLAYERS:
|