mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 07:11:36 +00:00
EnableBreath added for mappers (TA thing)
This commit is contained in:
parent
50eec79021
commit
dfa3a47fdd
3 changed files with 24 additions and 9 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.42 2002/01/30 07:37:25 niceass
|
||||
// EnableBreath added for mappers (TA thing)
|
||||
//
|
||||
// Revision 1.41 2002/01/24 14:20:53 jbravo
|
||||
// Adding func_explosive and a few new surfaceparms
|
||||
//
|
||||
|
@ -1425,16 +1428,16 @@ extern vmCvar_t cg_blueTeamName;
|
|||
extern vmCvar_t cg_currentSelectedPlayer;
|
||||
extern vmCvar_t cg_currentSelectedPlayerName;
|
||||
extern vmCvar_t cg_singlePlayer;
|
||||
extern vmCvar_t cg_enableDust;
|
||||
extern vmCvar_t cg_enableBreath;
|
||||
extern vmCvar_t cg_singlePlayerActive;
|
||||
extern vmCvar_t cg_recordSPDemo;
|
||||
extern vmCvar_t cg_recordSPDemoName;
|
||||
extern vmCvar_t cg_obeliskRespawnDelay;
|
||||
extern vmCvar_t cg_enableDust;
|
||||
#endif
|
||||
// NiceAss: No longer part of the MissionPack
|
||||
extern vmCvar_t cg_enableBreath;
|
||||
//Blaze: Cheat cvars
|
||||
extern cheat_cvar cheats[30];
|
||||
|
||||
// JBravo: To signal cgame that lca is in progress
|
||||
extern vmCvar_t RQ3_lca;
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.37 2002/01/30 07:37:25 niceass
|
||||
// EnableBreath added for mappers (TA thing)
|
||||
//
|
||||
// Revision 1.36 2002/01/24 14:20:53 jbravo
|
||||
// Adding func_explosive and a few new surfaceparms
|
||||
//
|
||||
|
@ -221,17 +224,18 @@ vmCvar_t cg_blueTeamName;
|
|||
vmCvar_t cg_currentSelectedPlayer;
|
||||
vmCvar_t cg_currentSelectedPlayerName;
|
||||
vmCvar_t cg_singlePlayer;
|
||||
vmCvar_t cg_enableDust;
|
||||
vmCvar_t cg_enableBreath;
|
||||
vmCvar_t cg_singlePlayerActive;
|
||||
vmCvar_t cg_recordSPDemo;
|
||||
vmCvar_t cg_recordSPDemoName;
|
||||
vmCvar_t cg_obeliskRespawnDelay;
|
||||
vmCvar_t cg_enableDust;
|
||||
#endif
|
||||
//Blaze: cheat struct
|
||||
cheat_cvar cheats[30];
|
||||
// JBravo: lca in progress cvar
|
||||
vmCvar_t RQ3_lca;
|
||||
// NiceAss: Taken out of the missionpack
|
||||
vmCvar_t cg_enableBreath;
|
||||
|
||||
typedef struct {
|
||||
vmCvar_t *vmCvar;
|
||||
|
@ -326,14 +330,16 @@ static cvarTable_t cvarTable[] = { // bk001129
|
|||
{ &cg_currentSelectedPlayer, "cg_currentSelectedPlayer", "0", CVAR_ARCHIVE},
|
||||
{ &cg_currentSelectedPlayerName, "cg_currentSelectedPlayerName", "", CVAR_ARCHIVE},
|
||||
{ &cg_singlePlayer, "ui_singlePlayerActive", "0", CVAR_USERINFO},
|
||||
{ &cg_enableDust, "g_enableDust", "0", CVAR_SERVERINFO},
|
||||
{ &cg_enableBreath, "g_enableBreath", "0", CVAR_SERVERINFO},
|
||||
{ &cg_singlePlayerActive, "ui_singlePlayerActive", "0", CVAR_USERINFO},
|
||||
{ &cg_recordSPDemo, "ui_recordSPDemo", "0", CVAR_ARCHIVE},
|
||||
{ &cg_recordSPDemoName, "ui_recordSPDemoName", "", CVAR_ARCHIVE},
|
||||
{ &cg_obeliskRespawnDelay, "g_obeliskRespawnDelay", "10", CVAR_SERVERINFO},
|
||||
{ &cg_hudFiles, "cg_hudFiles", "ui/hud.txt", CVAR_ARCHIVE},
|
||||
{ &cg_enableDust, "g_enableDust", "0", CVAR_SERVERINFO},
|
||||
#endif
|
||||
// NiceAss: Taken out of the missionpack
|
||||
{ &cg_enableBreath, "g_enableBreath", "0", CVAR_SERVERINFO},
|
||||
|
||||
{ &cg_cameraOrbit, "cg_cameraOrbit", "0", CVAR_CHEAT},
|
||||
{ &cg_cameraOrbitDelay, "cg_cameraOrbitDelay", "50", CVAR_ARCHIVE},
|
||||
{ &cg_timescaleFadeEnd, "cg_timescaleFadeEnd", "1", 0},
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.16 2002/01/30 07:37:25 niceass
|
||||
// EnableBreath added for mappers (TA thing)
|
||||
//
|
||||
// Revision 1.15 2002/01/14 01:19:23 niceass
|
||||
// No more default 800 gravity on items - NiceAss
|
||||
//
|
||||
|
@ -1726,10 +1729,11 @@ static void CG_HasteTrail( centity_t *cent ) {
|
|||
smoke->leType = LE_SCALE_FADE;
|
||||
}
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
|
||||
/*
|
||||
===============
|
||||
CG_BreathPuffs
|
||||
// NiceAss: Used now. No londer MISSIONPACK
|
||||
===============
|
||||
*/
|
||||
static void CG_BreathPuffs( centity_t *cent, refEntity_t *head) {
|
||||
|
@ -1763,6 +1767,7 @@ static void CG_BreathPuffs( centity_t *cent, refEntity_t *head) {
|
|||
ci->breathPuffTime = cg.time + 2000;
|
||||
}
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
/*
|
||||
===============
|
||||
CG_DustTrail
|
||||
|
@ -2790,8 +2795,9 @@ void CG_Player( centity_t *cent ) {
|
|||
|
||||
CG_AddRefEntityWithPowerups( &head, ¢->currentState, ci->team );
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
// NiceAss: Outside the MISSIONPACK
|
||||
CG_BreathPuffs(cent, &head);
|
||||
#ifdef MISSIONPACK
|
||||
|
||||
CG_DustTrail(cent);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue