~ubuntu-branches/ubuntu/jaunty/openarena/jaunty

« back to all changes in this revision

Viewing changes to code/game/g_team.h

  • Committer: Bazaar Package Importer
  • Author(s): Bruno "Fuddl" Kleinert, Bruno "Fuddl" Kleinert
  • Date: 2008-04-24 14:33:54 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080424143354-0cuxsalv98ajw2js
Tags: 0.7.6-1
[ Bruno "Fuddl" Kleinert ]
* New upstream release
* Freshen 10_fix_build_and_binary_on_alpha.dpatch to apply to latest
  upstream sources
* Remove 10-fix_menudef.h_includes.dpatch which pulled in a missing header
  file. The header is now included in the upstream tarball.
* Remove debian/watch, because upstream places its new releases too often to
  different download locations
* Updated debian/copyright to reflect the download location
* Expand copyright years in debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
#endif
55
55
 
 
56
#ifdef MISSIONPACK
 
57
 
 
58
//For Double Domination:
 
59
#define DD_POINT_DEFENCE_BONUS                  10      //Score for fragging someone while either you or target are near a Domination Point
 
60
#define DD_POINT_DEFENCE_CLOSE_BONUS            25      //Score for fragging someone while either you or target are near a Domination Point and have almost scored
 
61
//Following is added togehter:
 
62
#define DD_POINT_CAPTURE                        5       //Score for taking a point
 
63
#define DD_POINT_CAPTURE_BREAK                  10      //If the enemy was dominating
 
64
#define DD_POINT_CAPTURE_CLOSE                  15      //Extra score if the enemy was about to score
 
65
#define DD_AT_POINT_AT_CAPTURE                  30      //You was close to a point as capture succeded. 
 
66
 
 
67
#else
 
68
 
 
69
//For Double Domination:
 
70
#define DD_POINT_DEFENCE_BONUS                  1       //Score for fragging someone while either you or target are near a Domination Point
 
71
#define DD_POINT_DEFENCE_CLOSE_BONUS            2       //Score for fragging someone while either you or target are near a Domination Point and have almost scored
 
72
//Following is added togehter:
 
73
#define DD_POINT_CAPTURE                        1       //Score for taking a point
 
74
#define DD_POINT_CAPTURE_BREAK                  1       //If the enemy was dominating
 
75
#define DD_POINT_CAPTURE_CLOSE                  1       //Extra score if the enemy was about to score
 
76
#define DD_AT_POINT_AT_CAPTURE                  1       //You was close to a point as capture succeded. 
 
77
 
 
78
#endif
 
79
 
 
80
#define DD_CLOSE                                3       //How many seconds to score is close            
 
81
 
56
82
#define CTF_TARGET_PROTECT_RADIUS                       1000    // the radius around an object being defended where a target will be worth extra frags
57
83
#define CTF_ATTACKER_PROTECT_RADIUS                     1000    // the radius around an object being defended where an attacker will get extra frags when making kills
58
84
 
80
106
void Team_ReturnFlag(int team);
81
107
void Team_FreeEntity(gentity_t *ent);
82
108
gentity_t *SelectCTFSpawnPoint ( team_t team, int teamstate, vec3_t origin, vec3_t angles );
 
109
//For Double_D
 
110
gentity_t *SelectDoubleDominationSpawnPoint ( vec3_t origin, vec3_t angles );
 
111
//For Standard D
 
112
void Team_Dom_SpawnPoints( void );
83
113
gentity_t *Team_GetLocation(gentity_t *ent);
84
114
qboolean Team_GetLocationMsg(gentity_t *ent, char *loc, int loclen);
85
115
void TeamplayInfoMessage( gentity_t *ent );
86
116
void CheckTeamStatus(void);
87
117
 
88
118
int Pickup_Team( gentity_t *ent, gentity_t *other );
 
119
 
 
120
//Double Domination:
 
121
int Team_SpawnDoubleDominationPoints ( void );
 
122
int Team_RemoveDoubleDominationPoints ( void );
 
123
void Team_DD_bonusAtPoints(int team);
 
124
 
 
125
//Added to make gcc happy (and because I use it in main)
 
126
void Team_ForceGesture(int team);