|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "pp.qh"Go to the source code of this file.
Functions | |
| entity | pp_find_piece (entity minig, string tile) |
| void | pp_move (entity minigame, entity player, string pos) |
| void | pp_next_match (entity minigame, entity player) |
| int | pp_server_event (entity minigame, string event,...) |
| void | pp_setup_pieces (entity minigame) |
| bool | pp_valid_move (entity minigame, string pos) |
| bool | pp_valid_tile (string tile) |
| bool | pp_winning_piece (entity piece) |
| REGISTER_MINIGAME (pp, _("Push-Pull")) | |
Variables | |
| int | cnt |
| entity | pp_curr_piece |
| const int | PP_LET_CNT = 7 |
| int | pp_nexteam |
| const int | PP_NUM_CNT = 7 |
| const int | PP_SPECTATOR_TEAM = 255 |
| int | pp_team1_score |
| int | pp_team2_score |
| const int | PP_TILE_SIZE = 7 |
| const int | PP_TURN_DRAW = 0x0400 |
| const int | PP_TURN_NEXT = 0x0800 |
| const int | PP_TURN_PLACE = 0x0100 |
| const int | PP_TURN_TEAM = 0x000f |
| const int | PP_TURN_TEAM1 = 0x0001 |
| const int | PP_TURN_TEAM2 = 0x0002 |
| const int | PP_TURN_TYPE = 0x0f00 |
| const int | PP_TURN_WIN = 0x0200 |
Definition at line 31 of file pp.qc.
References entity(), findentity(), NULL, and owner.
Referenced by pp_move(), pp_valid_move(), and pp_winning_piece().
Definition at line 98 of file pp.qc.
References entity(), MINIG_SF_ALL, MINIG_SF_UPDATE, minigame_next_team(), minigame_server_sendflags(), msle_spawn(), pp_find_piece(), PP_TURN_DRAW, PP_TURN_PLACE, PP_TURN_TEAM, PP_TURN_WIN, pp_valid_move(), pp_winning_piece(), strfree, and strzone().
Referenced by pp_server_event().
Definition at line 172 of file pp.qc.
References entity(), findentity(), MINIG_SF_UPDATE, minigame_server_sendflags(), NULL, owner, pp_setup_pieces(), PP_TURN_DRAW, PP_TURN_NEXT, PP_TURN_PLACE, and PP_TURN_WIN.
Referenced by pp_server_event().
Definition at line 202 of file pp.qc.
References argv(), entity(), findentity(), int, MINIG_SF_UPDATE, minigame_count_players(), minigame_next_team(), MSG_ENTITY, NULL, owner, pp_move(), pp_next_match(), pp_setup_pieces(), PP_SPECTATOR_TEAM, PP_TURN_PLACE, PP_TURN_TEAM1, strfree, string_null, and WriteByte().
Definition at line 149 of file pp.qc.
References entity(), MINIG_SF_ALL, MINIG_SF_UPDATE, minigame_server_sendflags(), minigame_tile_buildname(), msle_spawn(), NULL, PP_LET_CNT, PP_NUM_CNT, and strzone().
Referenced by pp_next_match(), and pp_server_event().
Definition at line 70 of file pp.qc.
References entity(), minigame_tile_buildname(), minigame_tile_letter(), minigame_tile_number(), number, pp_find_piece(), pp_valid_tile(), and team.
Referenced by pp_move().
Definition at line 41 of file pp.qc.
References minigame_tile_letter(), minigame_tile_number(), number, PP_LET_CNT, and PP_NUM_CNT.
Referenced by pp_valid_move(), and pp_winning_piece().
Definition at line 51 of file pp.qc.
References entity(), minigame_tile_buildname(), minigame_tile_letter(), minigame_tile_number(), number, pp_find_piece(), pp_valid_tile(), and team.
Referenced by pp_move().
| REGISTER_MINIGAME | ( | pp | , |
| _("Push-Pull") | ) |
| const int PP_LET_CNT = 7 |
Definition at line 16 of file pp.qc.
Referenced by pp_setup_pieces(), and pp_valid_tile().
| const int PP_NUM_CNT = 7 |
Definition at line 17 of file pp.qc.
Referenced by pp_setup_pieces(), and pp_valid_tile().
| const int PP_SPECTATOR_TEAM = 255 |
Definition at line 14 of file pp.qc.
Referenced by pp_server_event().
| const int PP_TURN_DRAW = 0x0400 |
Definition at line 6 of file pp.qc.
Referenced by pp_move(), and pp_next_match().
| const int PP_TURN_NEXT = 0x0800 |
Definition at line 7 of file pp.qc.
Referenced by pp_next_match().
| const int PP_TURN_PLACE = 0x0100 |
Definition at line 4 of file pp.qc.
Referenced by pp_move(), pp_next_match(), and pp_server_event().
| const int PP_TURN_TEAM1 = 0x0001 |
Definition at line 10 of file pp.qc.
Referenced by pp_server_event().
| const int PP_TURN_WIN = 0x0200 |
Definition at line 5 of file pp.qc.
Referenced by pp_move(), and pp_next_match().