Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <linecollide.h>
Public Types | |
enum | collidables { UNIT, BEAM, BALL, BOLT, PROJECTILE } |
Public Member Functions | |
LineCollide () | |
LineCollide (void *objec, collidables typ, const QVector &st, const QVector &en) | |
LineCollide (const LineCollide &l) | |
LineCollide & | operator= (const LineCollide &l) |
Public Attributes | |
OBJECT | object |
The object that this LineCollide approximates. More... | |
QVector | Mini |
The minimum x,y,z that this object has. More... | |
QVector | Maxi |
The maximum x,y,z that this object has. More... | |
void * | lastchecked |
collidables | type |
Which type of unit it is. Used for subsequently calling object's Accurate collide func. More... | |
bool | hhuge |
If this object was saved as a huge object (hhuge for dos oddities) More... | |
Definition at line 15 of file linecollide.h.
|
inline |
Definition at line 47 of file linecollide.h.
|
inline |
Definition at line 57 of file linecollide.h.
|
inline |
|
inline |
bool LineCollide::hhuge |
If this object was saved as a huge object (hhuge for dos oddities)
Definition at line 45 of file linecollide.h.
Referenced by Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Get(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Get(), operator=(), Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Put(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Put(), Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Remove(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Remove(), and Beam::UpdatePhysics().
void* LineCollide::lastchecked |
The last item that checked this for collisions to prevent duplicate selection
Definition at line 39 of file linecollide.h.
Referenced by operator=().
QVector LineCollide::Maxi |
The maximum x,y,z that this object has.
Definition at line 34 of file linecollide.h.
Referenced by Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Get(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Get(), lcwithin(), operator=(), Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Put(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Put(), Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Remove(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Remove(), gfx_light::RemoveFromTable(), TableLocationChanged(), and Beam::UpdatePhysics().
QVector LineCollide::Mini |
The minimum x,y,z that this object has.
Definition at line 32 of file linecollide.h.
Referenced by Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Get(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Get(), lcwithin(), operator=(), Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Put(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Put(), Hashtable3d< T, COLLIDETABLESIZE, COLLIDETABLEACCURACY, HUGEOBJECT >::Remove(), UnitHash3d< char[coltablesize], char[coltableacc], char[tablehuge] >::Remove(), gfx_light::RemoveFromTable(), TableLocationChanged(), and Beam::UpdatePhysics().
OBJECT LineCollide::object |
The object that this LineCollide approximates.
Definition at line 30 of file linecollide.h.
Referenced by AddCollideQueue(), gfx_light::CalculateBounds(), EradicateCollideTable(), getIndex(), LineCollideStar::GetIndex(), Beam::Init(), KillCollideTable(), LineCollide(), LineCollideStar::operator<(), operator=(), LineCollideStar::operator==(), and Beam::UpdatePhysics().
collidables LineCollide::type |
Which type of unit it is. Used for subsequently calling object's Accurate collide func.
Definition at line 42 of file linecollide.h.
Referenced by AddCollideQueue(), EradicateCollideTable(), Beam::Init(), KillCollideTable(), and operator=().