Finish removing all Quakespasm inconsistencies in QC

This commit is contained in:
Tyler Young 2023-01-24 16:41:25 -05:00
parent 6f85e5c6f1
commit 1afc19e785
3 changed files with 14 additions and 33 deletions

View file

@ -417,11 +417,7 @@ void() PU_MaxAmmo =
// MAX AMMO! text // MAX AMMO! text
#ifdef PC #ifdef PC
ScrollText("MAX AMMO!", tempe); ScrollText("MAX AMMO!", tempe);
#endif #else
#ifdef HANDHELD
nzp_maxammo();
#endif
#ifdef QUAKESPASM
nzp_maxammo(); nzp_maxammo();
#endif #endif
tempe = find(tempe, classname, "player"); tempe = find(tempe, classname, "player");

View file

@ -158,43 +158,28 @@ void() W_FireRay =
// Prepare trail effects. // Prepare trail effects.
if (IsPapWeapon(porter.weapon)) { if (IsPapWeapon(porter.weapon)) {
#ifdef HANDHELD
porter.effects = EF_RAYRED;
#endif // HANDHELD
#ifdef QUAKESPASM
porter.effects = EF_RED;
#endif // QUAKESPASM
#ifdef PC #ifdef PC
Light_Custom(porter, false, 75, 2, 0.25, 0.25); Light_Custom(porter, false, 75, 2, 0.25, 0.25);
#else
porter.effects = EF_RAYRED;
#endif // PC #endif // PC
} else { } else {
#ifdef HANDHELD
porter.effects = EF_RAYGREEN;
#endif // HANDHELD
#ifdef QUAKESPASM
porter.effects = EF_GREEN;
#endif // QUAKESPASM
#ifdef PC #ifdef PC
Light_Custom(porter, false, 75, 0.25, 2, 0.25); Light_Custom(porter, false, 75, 0.25, 2, 0.25);
#endif // PC #else
porter.effects = EF_RAYGREEN;
#endif // PC
} }
// final setup! // final setup!

View file

@ -68,15 +68,15 @@ void() W_AimIn =
self.weapon == W_HEADCRACKER || self.weapon == W_PENETRATOR) { self.weapon == W_HEADCRACKER || self.weapon == W_PENETRATOR) {
SetUpdate(self, UT_ZOOM2, 0, 0, 0); SetUpdate(self, UT_ZOOM2, 0, 0, 0);
#ifdef QUAKESPASM //#ifdef QUAKESPASM
self.zoom = 1; //self.zoom = 1;
#else //#else
self.zoom = 2; self.zoom = 2;
#endif // QUAKESPASM //#endif // QUAKESPASM
self.scopetime = time + 0.3; self.scopetime = time + 0.3;
} else { } else {