- Timestamp:
- May 29, 2011, 4:02:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/modules/objects/SpaceBoundaries.h
r8645 r8660 100 100 101 101 private: 102 struct billboardAdministration{ bool usedYet; Billboard* billy; };102 struct BillboardAdministration{ bool usedYet; Billboard* billy; }; 103 103 104 104 // Variabeln:: 105 105 std::list<WeakPtr<Pawn> > pawnsIn_; //!< List of the pawns that this instance of SpaceBoundaries has to handle. 106 106 107 std::vector< billboardAdministration> billboards_;107 std::vector<BillboardAdministration> billboards_; 108 108 109 109 int reaction_; //!< Values: 0, 1, 2. … … 122 122 float computeDistance(WorldEntity *item); //!< Compute distance to center point. 123 123 void displayWarning(const std::string warnText); //!< TODO: Implement. 124 void displayBoundaries(Pawn *item );124 void displayBoundaries(Pawn *item, float alpha); 125 125 void conditionalBounceBack(Pawn *item, float currentDistance, float dt); 126 126 void bounceBack(Pawn *item, Vector3 *normal, Vector3 *velocity); … … 129 129 void checkWhoIsIn(); //!< Update the list 'pawnsIn_'. 130 130 131 void positionBillboard(const Vector3 position); //!< Display a Billboard at the position 'position'.131 void positionBillboard(const Vector3& position, float alpha); //!< Display a Billboard at the position 'position'. 132 132 void setBillboardOptions(Billboard *billy); 133 133 void removeAllBillboards(); //!< Hide all elements of '*billboard_' and set their attribute 'usedYet' to 0.
Note: See TracChangeset
for help on using the changeset viewer.