vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LineCollide Struct Reference

#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)
 
LineCollideoperator= (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...
 

Detailed Description

Definition at line 15 of file linecollide.h.

Member Enumeration Documentation

Enumerator
UNIT 
BEAM 
BALL 
BOLT 
PROJECTILE 

Definition at line 27 of file linecollide.h.

Constructor & Destructor Documentation

LineCollide::LineCollide ( )
inline

Definition at line 47 of file linecollide.h.

LineCollide::LineCollide ( void *  objec,
collidables  typ,
const QVector &  st,
const QVector &  en 
)
inline

Definition at line 57 of file linecollide.h.

LineCollide::LineCollide ( const LineCollide l)
inline

Definition at line 67 of file linecollide.h.

Member Function Documentation

LineCollide& LineCollide::operator= ( const LineCollide l)
inline

Definition at line 77 of file linecollide.h.

Member Data Documentation

bool LineCollide::hhuge

If this object was saved as a huge object (hhuge for dos oddities)

Definition at line 45 of file linecollide.h.

void* LineCollide::lastchecked

The last item that checked this for collisions to prevent duplicate selection

Definition at line 39 of file linecollide.h.

QVector LineCollide::Maxi

The maximum x,y,z that this object has.

Definition at line 34 of file linecollide.h.

QVector LineCollide::Mini

The minimum x,y,z that this object has.

Definition at line 32 of file linecollide.h.

OBJECT LineCollide::object

The object that this LineCollide approximates.

Definition at line 30 of file linecollide.h.

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.


The documentation for this struct was generated from the following file: