Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaxse2017 authored May 7, 2018
1 parent a87ab15 commit 0e5d9ba
Show file tree
Hide file tree
Showing 20 changed files with 112 additions and 54 deletions.
7 changes: 4 additions & 3 deletions actions.pqc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.string oldweaponmodel;
//comperr .string oldweaponmodel;

void() TeamFortress_NightVision =
{
Expand Down Expand Up @@ -557,7 +557,8 @@ void () Prox =
{
if ((_l_11464.owner == self))
{
local float proxyDistance = vlen(_l_11464.origin - self.origin);
local float proxyDistance; //comperr
proxyDistance = vlen(_l_11464.origin - self.origin);
if (proxyDistance < 40)
{
dremove(_l_11464);
Expand Down Expand Up @@ -1053,4 +1054,4 @@ void () TeamFortress_Timeleft =
_l_11549 = timelimit - pointer_timeleft.no_grenades_1;
sprint_duration (self, _l_11549);
sprint (self, 2, "\n");
};
};
2 changes: 1 addition & 1 deletion boss.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ void() lightning_use =
dprint("missing lightning targets\n");
return;
}
if (le1.state != TF_FLARE_LIT && le1.state != TF_FLARE_OFF || (le2.state != TF_FLARE_LIT && le2.state != TF_FLARE_OFF) || le1.state != le2.state)
if ( (le1.state != TF_FLARE_LIT && le1.state != TF_FLARE_OFF) || (le2.state != TF_FLARE_LIT && le2.state != TF_FLARE_OFF) || le1.state != le2.state)
{
return;
}
Expand Down
6 changes: 3 additions & 3 deletions clan.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void () DumpClanScores =
players4 = substring(players4, 0, 4); //let's just make sure it's at most 4 characters
}

bprint2 (2, players1, space1, players2, space2, players3, space3, players4);
//comperr bprint2 (2, players1, space1, players2, space2, players3, space3, players4);

/* //Print the number of FRAGS per team, assuming 9999 max frags
bprint (2, "\nFrags: ");
Expand Down Expand Up @@ -322,7 +322,7 @@ void () DumpClanScores =
t4score = substring(t4score, 0, 4); //let's just make sure it's at most 4 characters
}

bprint2 (2, t1score, space1, t2score, space2, t3score, space3, t4score);
//comperr bprint2 (2, t1score, space1, t2score, space2, t3score, space3, t4score);
//End print Team Scores


Expand Down Expand Up @@ -383,4 +383,4 @@ void () DumpClanScores =
stuffcmd (te, "screenshot\n");
te = find (te, classname, "player");
}
};
};
10 changes: 5 additions & 5 deletions client.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ void () SetUpPrematch;

// 11.11.04 stuff
void (entity _p_11534) TeamFortress_PrintPMTimeLeft;
float footsteps;
float old_gl;
float exec_class;
float coloredlights;
//comperr float footsteps;
//comperr float old_gl;
//comperr float exec_class;
//comperr float coloredlights;
float sr_gren1;
float sr_gren2;
float sr_airmirv;
//comperr float sr_airmirv;
void () DumpClanScores;

// pablo. class restrictions.
Expand Down
3 changes: 2 additions & 1 deletion defs.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ void (vector ang) makevectors = #1;
void (entity e, vector o) setorigin = #2;
void (entity e, string m) setmodel = #3;
void (entity e, vector min, vector max) setsize = #4;
void () break = #6;
//comperr void () break = #6;
float () random = #7;
void (entity e, float chan, string samp, float vol, float atten) sound = #8;
vector (vector v) normalize = #9;
Expand Down Expand Up @@ -513,6 +513,7 @@ void () Cam;
void () DetpackDisarm;
float drop1;
float drop2;
float drop3;

void (entity _p_1912) camera_die;
void () camera_expire;
Expand Down
Binary file added fteqcc.exe
Binary file not shown.
Binary file added fteqccgui.exe
Binary file not shown.
Binary file modified gmqcc
Binary file not shown.
15 changes: 14 additions & 1 deletion items.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,11 @@ void() item_megahealth_rot =
void() armor_touch =
{
local float type;
type = 0; //comperr
local float value;
local float bit;
value = 0; //comperr
bit = 0; //comperr
local float rnum;
local string s;
local entity oldself;
Expand Down Expand Up @@ -548,6 +551,7 @@ void() weapon_touch =
local float hadammo;
local float best;
local float new;
new = 0;
local float old;
local entity stemp;
local float leave;
Expand Down Expand Up @@ -800,54 +804,63 @@ void(entity pl, float typ) PrintGrenadeType =
if (typ == TF_FLARE_OFF)
{
st = "Normal";
sprint(pl, 2, st);
}
else
{
if (typ == 2)
{
st = "Concussion";
sprint(pl, 2, st);
}
else
{
if (typ == 3)
{
st = "Nail";
sprint(pl, 2, st);
}
else
{
if (typ == 4)
{
st = "Mirv";
sprint(pl, 2, st);
}
else
{
if (typ == 5)
{
st = "Napalm";
sprint(pl, 2, st);
}
else
{
if (typ == 6)
{
st = "Flare";
sprint(pl, 2, st);
}
else
{
if (typ == 7)
{
st = "Gas";
sprint(pl, 2, st);
}
else
{
if (typ == 8)
{
st = "EMP";
sprint(pl, 2, st);
}
else
{
if (typ == 9)
{
st = "Flash";
sprint(pl, 2, st);
}
}
}
Expand All @@ -857,7 +870,7 @@ void(entity pl, float typ) PrintGrenadeType =
}
}
}
sprint(pl, 2, st);
//comperr sprint(pl, 2, st);
};

float() GetGrenadePossibility =
Expand Down
3 changes: 2 additions & 1 deletion menu.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,8 @@ void (float inp) Menu_EngineerFix_SentryGun_Input =
if ((inp == 4))
{
local entity isneardoor;
local float candismantle;
local float candismantle; //comperr
candismantle = 0;
isneardoor = findradius (self.origin, 200);
while (isneardoor)
{
Expand Down
2 changes: 1 addition & 1 deletion mturret.pqc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.float rotate_type;
//comperr .float rotate_type;

void() turret_ret2;
void() turret_active;
Expand Down
4 changes: 2 additions & 2 deletions player.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void() player_touch =
{
if (self.undercover_team != TF_FLARE_LIT || self.undercover_skin != TF_FLARE_LIT)
{
if (other.playerclass == 8 || other.playerclass == 1 && other.team_no != self.team_no)
if ( (other.playerclass == 8 || other.playerclass == 1) && other.team_no != self.team_no)
{
sprint(other, 2, "Wait a minute... he's a Spy!\n");
sprint(self, 2, "The enemy sees through your disguise!\n");
Expand All @@ -34,7 +34,7 @@ void() player_touch =
}
if (other.undercover_team != TF_FLARE_LIT || other.undercover_skin != TF_FLARE_LIT)
{
if (self.playerclass == 8 || self.playerclass == 1 && self.team_no != other.team_no)
if ( (self.playerclass == 8 || self.playerclass == 1) && self.team_no != other.team_no)
{
sound(other, 2, "speech/pekaboo.wav", 1, 1);
sprint(self, 2, "Wait a minute... he's a Spy!\n");
Expand Down
10 changes: 5 additions & 5 deletions prematch.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void () PrematchCountDown =
while (te)
{
//bprint (2, "MATCH BEGINS NOW\n");
CenterPrint2(te, st, "Attack!");
// CenterPrint2(te, st, "Attack!");
stuffcmd(te, "bf\n");
T_Damage (te, te, te, 500);
te.real_frags = 0;
Expand Down Expand Up @@ -184,22 +184,22 @@ void () PrematchCountDown =
//MTF players like the centerprint as well.
// Todo: why can't I get the countdown to be longer than 3 seconds?
if (self.health == 3) {
stcenterpring = "\n3...";
// stcenterpring = "\n3...";
bprint (self, "3 seconds.\n");
}
else if (self.health == 2) {
stcenterpring = "\n\n2...";
// stcenterpring = "\n\n2...";
bprint (self, "2 seconds.\n");
}
else if (self.health == 1) {
stcenterpring = "\n\n\n1...";
// stcenterpring = "\n\n\n1...";
bprint (self, "1 second.\n");
}

te = find(world, classname, "player");
while (te != world)
{
CenterPrint(te, stcenterpring);
// CenterPrint(te, stcenterpring);
stuffcmd(te, "bf\n");
te = find(te, classname, "player");
}
Expand Down
8 changes: 4 additions & 4 deletions qw.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ float (entity targ,entity inflictor) CanDamage;
.float no_grenades_2;
.string client;
.string clientv;
.float stats_on;
.float autoid;
.float autodiscard;
.float discard_max;
//comperr .float stats_on;
//comperr .float autoid;
//comperr .float autodiscard;
//comperr .float discard_max;
.float bugger;
.vector oldangle;
.vector cam_origin;
Expand Down
Binary file modified qwprogs.dat
Binary file not shown.
4 changes: 2 additions & 2 deletions rpg.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void() RemoveVote2 =
head = nextent(head);
}
return;
dremove (self);
//comperr dremove (self);
};

// PROZAC STUFF (Needs Often's Prozac Server.)
Expand Down Expand Up @@ -565,4 +565,4 @@ float (string arg1) ShowReadyPlayers =
}
return 0;
};
#endif
#endif
2 changes: 1 addition & 1 deletion spy.pqc
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ void() T_TranqDartTouch =
if (other.tfstate & 32768)
{
timer = find(world, classname, "timer");
while (timer.owner != other || timer.think != TranquiliserTimer && timer != world)
while ((timer.owner != other || timer.think != TranquiliserTimer) && timer != world)
{
timer = find(timer, classname, "timer");
}
Expand Down
Loading

0 comments on commit 0e5d9ba

Please sign in to comment.