Xonotic
pong.qc File Reference
#include "pong.qh"
+ Include dependency graph for pong.qc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 REGISTER_MINIGAME (pong, _("Pong"))
 

Variables

entity pong_ai_paddle
 
const int PONG_KEY_BOTH = 0x03
 
const int PONG_KEY_DECREASE = 0x02
 
const int PONG_KEY_INCREASE = 0x01
 
int pong_keys
 
float pong_length
 
const int PONG_MAX_PLAYERS = 4
 
entity pong_paddles [PONG_MAX_PLAYERS]
 
int pong_score
 
const int PONG_SF_BALLTEAM = MINIG_SF_CUSTOM
 
const int PONG_SF_PLAYERSCORE = MINIG_SF_CUSTOM
 
const int PONG_SPECTATOR_TEAM = 255
 
const int PONG_STATUS_PLAY = 0x0020
 
const int PONG_STATUS_WAIT = 0x0010
 

Function Documentation

◆ REGISTER_MINIGAME()

REGISTER_MINIGAME ( pong  ,
_("Pong")   
)

Variable Documentation

◆ pong_ai_paddle

entity pong_ai_paddle

Definition at line 26 of file pong.qc.

◆ PONG_KEY_BOTH

const int PONG_KEY_BOTH = 0x03

Definition at line 17 of file pong.qc.

◆ PONG_KEY_DECREASE

const int PONG_KEY_DECREASE = 0x02

Definition at line 16 of file pong.qc.

◆ PONG_KEY_INCREASE

const int PONG_KEY_INCREASE = 0x01

Definition at line 15 of file pong.qc.

◆ pong_keys

int pong_keys

Definition at line 23 of file pong.qc.

◆ pong_length

float pong_length

Definition at line 25 of file pong.qc.

◆ PONG_MAX_PLAYERS

const int PONG_MAX_PLAYERS = 4

Definition at line 20 of file pong.qc.

◆ pong_paddles

entity pong_paddles[PONG_MAX_PLAYERS]

Definition at line 24 of file pong.qc.

◆ pong_score

int pong_score

Definition at line 22 of file pong.qc.

◆ PONG_SF_BALLTEAM

const int PONG_SF_BALLTEAM = MINIG_SF_CUSTOM

Definition at line 12 of file pong.qc.

◆ PONG_SF_PLAYERSCORE

const int PONG_SF_PLAYERSCORE = MINIG_SF_CUSTOM

Definition at line 10 of file pong.qc.

◆ PONG_SPECTATOR_TEAM

const int PONG_SPECTATOR_TEAM = 255

Definition at line 21 of file pong.qc.

◆ PONG_STATUS_PLAY

const int PONG_STATUS_PLAY = 0x0020

Definition at line 6 of file pong.qc.

◆ PONG_STATUS_WAIT

const int PONG_STATUS_WAIT = 0x0010

Definition at line 5 of file pong.qc.