Rename a bunch of old names.
This commit is contained in:
parent
8503cad633
commit
fd90be879c
85 changed files with 87 additions and 87 deletions
|
@ -23,8 +23,8 @@
|
||||||
#include "fade.h"
|
#include "fade.h"
|
||||||
#include "cmd.h"
|
#include "cmd.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "NSView.h"
|
#include "View.h"
|
||||||
#include "NSRadar.h"
|
#include "Radar.h"
|
||||||
#include "crosshair.h"
|
#include "crosshair.h"
|
||||||
#include "hud.h"
|
#include "hud.h"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#includelist
|
#includelist
|
||||||
NSInteractiveSurface.qc
|
InteractiveSurface.qc
|
||||||
NSView.qc
|
View.qc
|
||||||
NSRadar.qc
|
Radar.qc
|
||||||
hud.qc
|
hud.qc
|
||||||
fog.qc
|
fog.qc
|
||||||
font.qc
|
font.qc
|
||||||
|
@ -15,7 +15,7 @@ text.qc
|
||||||
predict.qc
|
predict.qc
|
||||||
entities.qc
|
entities.qc
|
||||||
modelevent.qc
|
modelevent.qc
|
||||||
view.qc
|
viewmodel.qc
|
||||||
damage.qc
|
damage.qc
|
||||||
chat.qc
|
chat.qc
|
||||||
textmenu.qc
|
textmenu.qc
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
#include "api_func.h"
|
#include "api_func.h"
|
||||||
#include "../shared/api.h"
|
#include "../shared/api.h"
|
||||||
#include "../shared/entityDef.h"
|
#include "../shared/entityDef.h"
|
||||||
#include "NSOutput.h"
|
#include "Output.h"
|
||||||
#include "NSGameRules.h"
|
#include "GameRules.h"
|
||||||
#include "skill.h"
|
#include "skill.h"
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
#include "../nav/defs.h"
|
#include "../nav/defs.h"
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
#include "mapcycle.h"
|
#include "mapcycle.h"
|
||||||
#include "maptweaks.h"
|
#include "maptweaks.h"
|
||||||
#include "scripts.h"
|
#include "scripts.h"
|
||||||
#include "ai_schedule.h"
|
#include "Schedule.h"
|
||||||
|
|
||||||
/* helper macros */
|
/* helper macros */
|
||||||
#define EVALUATE_FIELD(fieldname, changedflag) {\
|
#define EVALUATE_FIELD(fieldname, changedflag) {\
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#includelist
|
#includelist
|
||||||
NSOutput.qc
|
Output.qc
|
||||||
plugins.qc
|
plugins.qc
|
||||||
logging.qc
|
logging.qc
|
||||||
skill.qc
|
skill.qc
|
||||||
spawn.qc
|
spawn.qc
|
||||||
NSGameRules.qc
|
GameRules.qc
|
||||||
vote.qc
|
vote.qc
|
||||||
lament.qc
|
lament.qc
|
||||||
mapcycle.qc
|
mapcycle.qc
|
||||||
|
@ -13,7 +13,7 @@ scripts.qc
|
||||||
cmd_cl.qc
|
cmd_cl.qc
|
||||||
cmd_sv.qc
|
cmd_sv.qc
|
||||||
entry.qc
|
entry.qc
|
||||||
ai_schedule.qc
|
Schedule.qc
|
||||||
../nav/includes.src
|
../nav/includes.src
|
||||||
api.qc
|
api.qc
|
||||||
#endlist
|
#endlist
|
||||||
|
|
|
@ -565,19 +565,22 @@ ncMonster::AlertNoise(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
StartSoundDef(m_sndSight, CHAN_VOICE, true);
|
MessageSchedule("AlertSound");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
ncMonster::IsFriend(int al)
|
ncMonster::IsFriend(int al)
|
||||||
{
|
{
|
||||||
/* neutrals are always friendly */
|
/* neutrals are always friendly */
|
||||||
if (m_iAlliance == MAL_NEUTRAL)
|
if (m_iAlliance == MAL_NEUTRAL) {
|
||||||
return (true);
|
return (true);
|
||||||
if (m_iAlliance == MAL_ROGUE)
|
}
|
||||||
|
|
||||||
|
if (m_iAlliance == MAL_ROGUE) {
|
||||||
return (false);
|
return (false);
|
||||||
else if (al == m_iAlliance)
|
} else if (al == m_iAlliance) {
|
||||||
return (true);
|
return (true);
|
||||||
|
}
|
||||||
|
|
||||||
return (false);
|
return (false);
|
||||||
}
|
}
|
||||||
|
@ -2806,7 +2809,7 @@ ncMonster_AlertEnemyAlliance(vector pos, float radius, int alliance)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
if (autocvar_ai_debugAlerts)
|
if (autocvar_ai_debugAlerts)
|
||||||
NSLog("AI alert from %v with radius %f and alliance %i", pos, radius, alliance);
|
NSLog("AI alert from %v with radius %f and alliance %i", pos, radius, alliance);
|
||||||
|
|
||||||
|
@ -2849,9 +2852,6 @@ ncMonster_AlertEnemyAlliance(vector pos, float radius, int alliance)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* we've heard a noise. investigate the location */
|
/* we've heard a noise. investigate the location */
|
||||||
f.RouteClear();
|
|
||||||
f.RouteToPosition(pos);
|
|
||||||
f.m_flSequenceSpeed = f.GetWalkSpeed();
|
|
||||||
f.AlertNoise();
|
f.AlertNoise();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
|
@ -91,47 +91,47 @@ string __fullspawndata;
|
||||||
#include "../gs-entbase/server/defs.h"
|
#include "../gs-entbase/server/defs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "NSDecal.h"
|
#include "Decal.h"
|
||||||
|
|
||||||
#include "../botlib/botinfo.h"
|
#include "../botlib/botinfo.h"
|
||||||
#include "sentences.h"
|
#include "sentences.h"
|
||||||
|
|
||||||
#include "NSIO.h"
|
#include "IO.h"
|
||||||
#include "NSDict.h"
|
#include "Dict.h"
|
||||||
#include "NSTrigger.h"
|
#include "Trigger.h"
|
||||||
#include "NSEntity.h"
|
#include "Entity.h"
|
||||||
#include "NSTimer.h"
|
#include "Timer.h"
|
||||||
#include "NSRenderableEntity.h"
|
#include "RenderableEntity.h"
|
||||||
#include "NSSurfacePropEntity.h"
|
#include "SurfacePropEntity.h"
|
||||||
#include "NSRagdoll.h"
|
#include "Ragdoll.h"
|
||||||
#include "NSMoverEntity.h"
|
#include "Mover.h"
|
||||||
#include "NSPhysicsConstraint.h"
|
#include "PhysicsConstraint.h"
|
||||||
#include "NSPhysicsEntity.h"
|
#include "PhysicsEntity.h"
|
||||||
#include "NSBrushTrigger.h"
|
#include "BrushTrigger.h"
|
||||||
#include "NSPointTrigger.h"
|
#include "PointTrigger.h"
|
||||||
#include "NSItem.h"
|
#include "Item.h"
|
||||||
#include "NSWeapon.h"
|
#include "Weapon.h"
|
||||||
#include "NSNavAI.h"
|
#include "Actor.h"
|
||||||
#include "NSMonster.h"
|
#include "Monster.h"
|
||||||
#include "NSSquadMonster.h"
|
#include "SquadMonster.h"
|
||||||
#include "NSTalkMonster.h"
|
#include "TalkMonster.h"
|
||||||
#include "NSSpawnPoint.h"
|
#include "SpawnPoint.h"
|
||||||
#include "NSSoundScape.h"
|
#include "SoundScape.h"
|
||||||
#include "NSAttack.h"
|
#include "Attack.h"
|
||||||
#include "NSProjectile.h"
|
#include "Projectile.h"
|
||||||
#include "NSSpraylogo.h"
|
#include "Spraylogo.h"
|
||||||
#include "NSPortal.h"
|
#include "Portal.h"
|
||||||
#include "NSSound.h"
|
#include "Sound.h"
|
||||||
#include "NSDebris.h"
|
#include "Debris.h"
|
||||||
|
|
||||||
#include "../xr/defs.h"
|
#include "../xr/defs.h"
|
||||||
#include "../botlib/NSBot.h"
|
#include "../botlib/Bot.h"
|
||||||
#include "NSClient.h"
|
#include "Client.h"
|
||||||
#include "NSClientSpectator.h"
|
#include "Spectator.h"
|
||||||
#include "pmove.h"
|
#include "pmove.h"
|
||||||
#include "NSClientPlayer.h"
|
#include "Player.h"
|
||||||
|
|
||||||
#include "NSVehicle.h"
|
#include "Vehicle.h"
|
||||||
|
|
||||||
#include "materials.h"
|
#include "materials.h"
|
||||||
#include "damage.h"
|
#include "damage.h"
|
||||||
|
|
|
@ -1,47 +1,47 @@
|
||||||
#includelist
|
#includelist
|
||||||
NSIO.qc
|
IO.qc
|
||||||
NSDict.qc
|
Dict.qc
|
||||||
NSTrigger.qc
|
Trigger.qc
|
||||||
NSEntity.qc
|
Entity.qc
|
||||||
NSTimer.qc
|
Timer.qc
|
||||||
NSDecal.qc
|
Decal.qc
|
||||||
NSRenderableEntity.qc
|
RenderableEntity.qc
|
||||||
NSSurfacePropEntity.qc
|
SurfacePropEntity.qc
|
||||||
NSMoverEntity.qc
|
Mover.qc
|
||||||
NSPhysicsConstraint.qc
|
PhysicsConstraint.qc
|
||||||
NSPhysicsEntity.qc
|
PhysicsEntity.qc
|
||||||
NSBrushTrigger.qc
|
BrushTrigger.qc
|
||||||
NSPointTrigger.qc
|
PointTrigger.qc
|
||||||
pmove.qc
|
pmove.qc
|
||||||
NSVehicle.qc
|
Vehicle.qc
|
||||||
NSAttack.qc
|
Attack.qc
|
||||||
NSNavAI.qc
|
Actor.qc
|
||||||
NSMonster.qc
|
Monster.qc
|
||||||
NSSquadMonster.qc
|
SquadMonster.qc
|
||||||
NSTalkMonster.qc
|
TalkMonster.qc
|
||||||
NSProjectile.qc
|
Projectile.qc
|
||||||
NSSpawnPoint.qc
|
SpawnPoint.qc
|
||||||
NSSoundScape.qc
|
SoundScape.qc
|
||||||
NSItem.qc
|
Item.qc
|
||||||
NSWeapon.qc
|
Weapon.qc
|
||||||
NSPortal.qc
|
Portal.qc
|
||||||
NSDebris.qc
|
Debris.qc
|
||||||
NSSound.qc
|
Sound.qc
|
||||||
NSClient.qc
|
Client.qc
|
||||||
NSClientSpectator.qc
|
Spectator.qc
|
||||||
pmove_custom.qc
|
pmove_custom.qc
|
||||||
cloader.qc
|
cloader.qc
|
||||||
sound.qc
|
sound.qc
|
||||||
NSRagdoll.qc
|
Ragdoll.qc
|
||||||
NSClientPlayer.qc
|
Player.qc
|
||||||
player_pmove.qc
|
player_pmove.qc
|
||||||
propdata.qc
|
propdata.qc
|
||||||
surfaceproperties.qc
|
surfaceproperties.qc
|
||||||
decalgroups.qc
|
decalgroups.qc
|
||||||
materials.qc
|
materials.qc
|
||||||
sentences.qc
|
sentences.qc
|
||||||
NSCharger.qc
|
Charger.qc
|
||||||
NSSpraylogo.qc
|
Spraylogo.qc
|
||||||
util.qc
|
util.qc
|
||||||
motd.qc
|
motd.qc
|
||||||
bodyque.qc
|
bodyque.qc
|
||||||
|
@ -50,5 +50,5 @@ ammo.qc
|
||||||
activities.qc
|
activities.qc
|
||||||
api.qc
|
api.qc
|
||||||
../xr/include.src
|
../xr/include.src
|
||||||
../botlib/NSBot.qc
|
../botlib/Bot.qc
|
||||||
#endlist
|
#endlist
|
||||||
|
|
Loading…
Reference in a new issue