Home
last modified time | relevance | path

Searched refs:VECTORCH (Results 1 – 25 of 124) sorted by relevance

12345

/dports/games/avp/avp-20170505/src/avp/
H A Dparticle.h96 VECTORCH Position;
98 VECTORCH Velocity;
99 VECTORCH Offset;
145 VECTORCH Vertex[2];
146 VECTORCH Perp[2];
153 VECTORCH SourcePosition;
154 VECTORCH TargetPosition;
188 extern void MakeImpactSparks(VECTORCH *incidentPtr, VECTORCH *normalPtr, VECTORCH *positionPtr);
203 void DrawFrisbeePlasmaBolt(VECTORCH *positionPtr,VECTORCH *directionPtr);
204 void DrawPredatorPlasmaBolt(VECTORCH *positionPtr,VECTORCH *directionPtr);
[all …]
H A Ddecal.h27 VECTORCH Vertices[4];
28 VECTORCH Direction[4];
29 VECTORCH Centre;
41 VECTORCH Vertices[4];
51 VECTORCH Vertices[4];
52 VECTORCH Centre;
84 VECTORCH Position[3];
85 VECTORCH Normal[3];
86 VECTORCH LightSource;
96 extern void MakeDecal(enum DECAL_ID decalID, VECTORCH *normalPtr, VECTORCH *positionPtr, int module…
[all …]
H A Dbh_ais.h36 VECTORCH avoidanceDirection;
38 VECTORCH incidentPoint;
40 VECTORCH aggregateNormal;
49 VECTORCH baseVector;
50 VECTORCH basePoint;
51 VECTORCH currentVector;
53 VECTORCH bestVector;
65 VECTORCH avoidanceDirn;
66 VECTORCH lastTarget;
67 VECTORCH lastVelocity;
[all …]
H A Dweapons.h43 extern void HandleEffectsOfExplosion(STRATEGYBLOCK *objectToIgnorePtr, VECTORCH *centrePtr, int max…
60 extern void MakeMatrixFromDirection(VECTORCH *directionPtr, MATRIXCH *matrixPtr);
78 void HandleWeaponImpact(VECTORCH *positionPtr, STRATEGYBLOCK *sbPtr, enum AMMO_ID AmmoID, VECTORCH
79 void HandleSpearImpact(VECTORCH *positionPtr, STRATEGYBLOCK *sbPtr, enum AMMO_ID AmmoID, VECTORCH *…
81 extern void FindEndOfShape(VECTORCH* endPositionPtr, int shapeIndex);
84 extern void CauseDamageToObject(STRATEGYBLOCK *sbPtr, DAMAGE_PROFILE *damage, int multiple,VECTORCH
85 …OFILE *damage, int multiple, SECTION_DATA *this_section_data, VECTORCH *incoming, VECTORCH *positi…
87 extern void GetDirectionOfAttack(STRATEGYBLOCK *sbPtr,VECTORCH *WorldVector,VECTORCH *Output);
98 void CreateSpearPossiblyWithFragment(DISPLAYBLOCK *dispPtr, VECTORCH *spearPositionPtr, VECTORCH *s…
103 VECTORCH Position;
H A Dlos.h2 extern int CameraCanSeeThisPosition_WithIgnore(DISPLAYBLOCK *ignoredObjectPtr,VECTORCH *positionPtr…
6 …rVectorIntersectionWith3dObject(DISPLAYBLOCK *objectPtr, VECTORCH *viewVectorAlphaPtr, VECTORCH *v…
9 extern int IsThisObjectVisibleFromThisPosition(DISPLAYBLOCK *objectPtr,VECTORCH *positionPtr,int ma…
17 …ition_WithIgnore(DISPLAYBLOCK *objectPtr,DISPLAYBLOCK *ignoredObjectPtr,VECTORCH *positionPtr,int …
19 void FindPolygonInLineOfSight(VECTORCH *viewpointDirectionPtr, VECTORCH *viewpointPositionPtr, int …
20 void FindPolygonInLineOfSight_TwoIgnores(VECTORCH *viewpointDirectionPtr, VECTORCH *viewpointPositi…
23 extern VECTORCH LOS_Point; /* point in world space which player has hit */
26 extern VECTORCH LOS_ObjectNormal; /* normal of the object's face which was hit */
H A Dlos.c35 extern VECTORCH MorphedPts[];
36 extern VECTORCH *ShapePointsPtr;
71 VECTORCH n1Ptr = *(VECTORCH*)(ShapeNormalsPtr + PolyheaderPtr->PolyNormalIndex);\
72 VECTORCH n2Ptr = *(VECTORCH*)(Shape2NormalsPtr + PolyheaderPtr->PolyNormalIndex);\
87 VECTORCH *pointPtr[3];\
116 extern VECTORCH GunMuzzleDirectionInVS;
118 extern VECTORCH GunMuzzleDirectionInWS;
130 static VECTORCH *ViewpointPositionPtr;
432 VECTORCH position; in CheckForRayIntersectionWithObject()
522 VECTORCH polyNormal; in CheckForRayIntersectionWithObject()
[all …]
H A Dbh_weap.h22 extern void FireFlameThrower(VECTORCH *position,VECTORCH *base_offset,MATRIXCH *orientmat, int play…
23 extern void FireNetGhostFlameThrower(VECTORCH *positionPtr, MATRIXCH *orientMatPtr);
26 void FirePredPistolFlechettes(VECTORCH *base_position,VECTORCH *base_offset,MATRIXCH *orientmat,int…
118 VECTORCH Position;
143 STRATEGYBLOCK* CreateGrenadeKernel(AVP_BEHAVIOUR_TYPE behaviourID, VECTORCH *position, MATRIXCH *or…
156 VECTORCH ObWorld;
164 VECTORCH ObWorld;
175 VECTORCH ObWorld;
176 VECTORCH Target;
184 VECTORCH ObWorld;
[all …]
H A Ddynblock.h33 VECTORCH Position;
34 VECTORCH PrevPosition;
38 VECTORCH LinVelocity;
41 VECTORCH LinImpulse;
52 VECTORCH GravityDirection;
90 VECTORCH Displacement;
91 VECTORCH ObjectVertices[8]; /* vertices of the cuboid which describes the object */
122 VECTORCH ObstacleNormal;
123 VECTORCH ObstaclePoint;
H A Dtrack.h31 VECTORCH pivot_start; //pivot start pos in world space
32 VECTORCH pivot_travel;
34 VECTORCH object_offset; //from pivot
51 VECTORCH pivot_0;
52 VECTORCH pivot_1;
53 VECTORCH pivot_2;
54 VECTORCH pivot_3;
103 void Start_Track_Sound(TRACK_SOUND* ts,VECTORCH * location);
105 void Update_Track_Sound(TRACK_SOUND* ts,VECTORCH * location);
H A Dbh_queen.h72 VECTORCH fixed_foot_oldpos;
76 VECTORCH TargetPos;
97 VECTORCH LastVelocity;
107 VECTORCH TargetDirection; //targets direction relative to queen
108 VECTORCH VectToTarget;
115 VECTORCH ClimbStartPosition; //used when climing out of the airlock
120 VECTORCH upper_airlockdoor_start;
122 VECTORCH lower_airlockdoor_start;
135 …, DAMAGE_PROFILE *damage, int multiple,SECTION_DATA *Section, VECTORCH *incoming, VECTORCH *point);
H A Dbh_waypt.h23 VECTORCH centre; /* in MODULE space! */
24 VECTORCH max_extents;
25 VECTORCH min_extents;
60 VECTORCH current_target_point;
65 …(WAYPOINT_HEADER *waypoints, struct strategyblock *sbPtr, VECTORCH *velocityDirection, VECTORCH *t…
68 extern WAYPOINT_VOLUME *GetPositionValidity(struct module *conmod, VECTORCH *position, VECTORCH *su…
H A Ddynamics.h18 VECTORCH PolyPoint[4];
19 VECTORCH PolyNormal;
55 extern int ParticleDynamics(PARTICLE *particlePtr, VECTORCH *obstacleNormalPtr, int *moduleIndexPtr…
56 void AddEffectsOfForceGenerators(VECTORCH *positionPtr, VECTORCH *impulsePtr, int mass);
H A Dbh_ais.c208 VECTORCH velDirn; in NPC_IsObstructed()
469 VECTORCH targetPos; in ProjectNPCShot()
536 VECTORCH shotVector; in CastLOSProjectile()
601 VECTORCH shotVector; in VerifyHitShot()
1124 static int VectorIntersects2dZVector(VECTORCH *vecStart,VECTORCH *vecEnd, int zExtent);
1135 VECTORCH myPolyMidPoint;
1534 VECTORCH curvedPath; in NPCFindCurveToEdgePoint()
1574 static int VectorIntersects2dZVector(VECTORCH *vecStart,VECTORCH *vecEnd, int zExtent) in VectorIntersects2dZVector()
3045 VECTORCH side; in IsMyPolyRidiculous()
3998 VECTORCH alpha,beta,tvec; in SimpleEdgeDetectionTest()
[all …]
H A Dhmodel.h109 extern void GetKeyFrameOffset(KEYFRAME_DATA* frame,VECTORCH* output_vector);
110 extern void SetKeyFrameOffset(KEYFRAME_DATA* frame,VECTORCH* input_vector);
150 VECTORCH gore_spray_direction;
206 VECTORCH Offset;
207 VECTORCH World_Offset;
208 VECTORCH Last_World_Offset;
209 VECTORCH View_Offset;
242 VECTORCH stored_offset;
243 VECTORCH target_offset;
244 VECTORCH delta_offset;
[all …]
H A Dbh_deathvol.h17 VECTORCH volume_min;
18 VECTORCH volume_max;
27 VECTORCH volume_min;
28 VECTORCH volume_max;
H A Dbh_binsw.h98 VECTORCH trigger_volume_min;//for switches that can be set off by walking
99 VECTORCH trigger_volume_max;//into a given area
115 VECTORCH position;
133 VECTORCH trigger_volume_min;//for switches that can be set off by walking
134 VECTORCH trigger_volume_max;//into a given area
H A Dtargeting.c62 extern VECTORCH GunMuzzleDirectionInVS;
230 VECTORCH offset[3] = in CalculatePlayersTarget()
242 VECTORCH position = offset[i]; in CalculatePlayersTarget()
275 BOOL CalculateFiringSolution(VECTORCH* firing_pos,VECTORCH* target_pos,VECTORCH* target_vel,int pro… in CalculateFiringSolution()
278 VECTORCH rotated_vel; in CalculateFiringSolution()
279 VECTORCH rotated_solution; in CalculateFiringSolution()
303 VECTORCH row1,row2; in CalculateFiringSolution()
398 VECTORCH targetView; in SmartTarget()
434 VECTORCH zero={0,0,0}; in SmartTarget()
435 VECTORCH solution; in SmartTarget()
[all …]
/dports/games/avp/avp-20170505/src/include/
H A Dprototyp.h42 } VECTORCH; typedef
81 VECTORCH v0;
82 VECTORCH v1;
2097 int _DotProduct(VECTORCH *v1, VECTORCH *v2);
2109 void GetNormalVector(VECTORCH *v1, VECTORCH *v2, VECTORCH *v3);
2164 void CopyVector(VECTORCH *v1, VECTORCH *v2);
2171 void MakeVector(VECTORCH *v1, VECTORCH *v2, VECTORCH *v3);
2172 void AddVector(VECTORCH *v1, VECTORCH *v2);
2173 void SubVector(VECTORCH *v1, VECTORCH *v2);
2190 void MakeVectorLocal(VECTORCH *v1, VECTORCH *v2, VECTORCH *v3, MATRIXCH *m);
[all …]
H A Dmodule.h96 VECTORCH vmod_dir;
124 VECTORCH vp0;
125 VECTORCH vp1;
126 VECTORCH vp2;
127 VECTORCH vp3;
154 VECTORCH MapWorld;
171 VECTORCH MapOrigin; /* Origin of Rotation */
181 VECTORCH MapMOffset; /* Offset from mother */
222 VECTORCH m_world; /* World location */
318 VECTORCH m_world; /* World location */
[all …]
/dports/games/avp/avp-20170505/src/win95/
H A Dplat_shp.c40 extern VECTORCH MorphedPts[];
43 VECTORCH *ShapePointsPtr;
57 VECTORCH *shape1PointsPtr; in SetupPolygonAccess()
58 VECTORCH *shape2PointsPtr; in SetupPolygonAccess()
93 VECTORCH *morphedPointsPtr = (VECTORCH *) MorphedPts; in SetupPolygonAccess()
175 VECTORCH n1Ptr = *(VECTORCH*)(ShapeNormalsPtr + PolyheaderPtr->PolyNormalIndex); in GetPolygonNormal()
176 VECTORCH n2Ptr = *(VECTORCH*)(Shape2NormalsPtr + PolyheaderPtr->PolyNormalIndex); in GetPolygonNormal()
191 VECTORCH *pointPtr[3]; in GetPolygonNormal()
253 static VECTORCH patPointData;
313 VECTORCH newNormal; in ReplaceVertexInPolygon()
[all …]
H A Dplspecfn.c33 extern VECTORCH RotatedPts[];
40 extern VECTORCH MorphedPts[];
127 VECTORCH *rotptsptr; in ShapePointsInstr()
167 VECTORCH *morphptsptr; in ShapePointsInstr()
523 void MakeNormal(VECTORCH *v1, VECTORCH *v2, VECTORCH *v3, VECTORCH *v4) in MakeNormal()
598 void Normalise(VECTORCH *nvector) in Normalise()
675 int Magnitude(VECTORCH *v) in Magnitude()
869 void RotVect(VECTORCH *v, MATRIXCH *m) in RotVect()
903 int _Dot(VECTORCH *vptr1, VECTORCH *vptr2) in _Dot()
926 void MakeV(VECTORCH *v1, VECTORCH *v2, VECTORCH *v3) in MakeV()
[all …]
/dports/games/avp/avp-20170505/src/avp/win95/
H A Dpldghost.h63 VECTORCH velocity;
73 extern void UpdateGhost(STRATEGYBLOCK *sbPtr,VECTORCH *position,EULER *orientation,int sequence, in…
82 extern STRATEGYBLOCK *CreateNetGhost(int playerId, int objectId, VECTORCH *position, EULER* orienta…
85 …ATEGYBLOCK *sbPtr, DAMAGE_PROFILE *damage, int multiple, SECTION_DATA *section,VECTORCH* incoming);
102 …erMarineDeathSequence(STRATEGYBLOCK* sbPtr,DAMAGE_PROFILE* damage,int multiple,VECTORCH* incoming);
103 …yerAlienDeathSequence(STRATEGYBLOCK* sbPtr,DAMAGE_PROFILE* damage,int multiple,VECTORCH* incoming);
104 …PredatorDeathSequence(STRATEGYBLOCK* sbPtr,DAMAGE_PROFILE* damage,int multiple,VECTORCH* incoming);
106 extern void UpdateAlienAIGhost(STRATEGYBLOCK *sbPtr,VECTORCH *position,EULER *orientation,int seque…
111 extern void PlayOtherSound(enum soundindex SoundIndex, VECTORCH *position, int explosion);
H A Dpldnet.h180 VECTORCH lastKnownPosition;
771 VECTORCH Position;
772 VECTORCH Direction;
782 VECTORCH Position;
789 VECTORCH Position;
798 VECTORCH Position;
799 VECTORCH FromPosition;
934 VECTORCH location;
1009 VECTORCH location;
1045 extern void AddNetMsg_LocalRicochet(AVP_BEHAVIOUR_TYPE behaviourType, VECTORCH *position, VECTORCH
[all …]
/dports/games/avp/avp-20170505/src/
H A Dmaths.c83 int _DotProduct(VECTORCH *vptr1, VECTORCH *vptr2) in _DotProduct()
119 int VectorDistance(VECTORCH *v1, VECTORCH *v2) in VectorDistance()
178 void GetNormalVector(VECTORCH *v1, VECTORCH *v2, VECTORCH *v3) in GetNormalVector()
592 void CopyVector(VECTORCH *v1, VECTORCH *v2) in CopyVector()
681 void MakeVector(VECTORCH *v1, VECTORCH *v2, VECTORCH *v3) in MakeVector()
700 void AddVector(VECTORCH *v1, VECTORCH *v2) in AddVector()
719 void SubVector(VECTORCH *v1, VECTORCH *v2) in SubVector()
1366 VECTORCH *x = (VECTORCH *) &m->mat11; in MNormalise()
1367 VECTORCH *y = (VECTORCH *) &m->mat21; in MNormalise()
1368 VECTORCH *z = (VECTORCH *) &m->mat31; in MNormalise()
[all …]
H A Dsphere.h15 extern VECTORCH SphereVertex[];
16 extern VECTORCH SphereRotatedVertex[];
17 extern VECTORCH SphereAtmosRotatedVertex[];
25 VECTORCH Position[SPHERE_VERTICES];
26 VECTORCH Velocity[SPHERE_VERTICES];

12345