Changeset 6496 for code/branches/pickup3/src
- Timestamp:
- Mar 8, 2010, 8:07:48 PM (15 years ago)
- Location:
- code/branches/pickup3/src/modules/pickup
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/DroppedPickup.h
r6475 r6496 49 49 Damian 'Mozork' Frick 50 50 */ 51 class _ OrxonoxExport DroppedPickup : public PickupSpawner51 class _PickupExport DroppedPickup : public PickupSpawner 52 52 { 53 53 public: -
code/branches/pickup3/src/modules/pickup/PickupPrereqs.h
r6475 r6496 44 44 45 45 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 46 # ifdef QUESTSYSTEM_SHARED_BUILD46 # ifdef PICKUP_SHARED_BUILD 47 47 # define _PickupExport __declspec(dllexport) 48 48 # else -
code/branches/pickup3/src/modules/pickup/PickupSpawner.h
r6475 r6496 54 54 Damian 'Mozork' Frick 55 55 */ 56 class _ OrxonoxExport PickupSpawner : public StaticEntity, public Tickable56 class _PickupExport PickupSpawner : public StaticEntity, public Tickable 57 57 { 58 58 public: -
code/branches/pickup3/src/modules/pickup/items/HealthPickup.cc
r6490 r6496 110 110 Method for creating a HealthPickup object through XML. 111 111 */ 112 void HealthPickup:: HealthPickup::XMLPort(Element& xmlelement, orxonox::XMLPort::Mode mode)112 void HealthPickup::XMLPort(Element& xmlelement, orxonox::XMLPort::Mode mode) 113 113 { 114 114 SUPER(HealthPickup, XMLPort, xmlelement, mode); -
code/branches/pickup3/src/modules/pickup/items/HealthPickup.h
r6477 r6496 55 55 @brief 56 56 A pickup that can do (dependent upon the parameters) lots of different things to the health of a Pawn. 57 There are 4 parameters that can be cho osen:57 There are 4 parameters that can be chosen: 58 58 1) The health. The amount of health that (in a way dependent on the other parameters) is transfered to the Pawn. 59 59 2) The activation type: It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the health is transfered, either immediately after being picked up or only after the player uses it. 60 60 3) The duration type: It can be chosen to be either 'once' or 'continuous'. For 'once' the specified health is transfered once to the Pawn, for 'continuous' the set health is transfered over a span of time at a rate defined by the health rate parameter. 61 4) The health type: The health type can be cho osen to be 'limited', 'temporary' or 'permanent'. 'limited' means that the health is increased only to the maximum health of the Pawn. 'temporary' means that the maximum health is temporarily elevated but will be set back as soon as the pickup is no longer in use. 'permanent' means that the maximum health of the Pawn is increased such that the health provided by the pickup will fit in and the maximum health stays that way.61 4) The health type: The health type can be chosen to be 'limited', 'temporary' or 'permanent'. 'limited' means that the health is increased only to the maximum health of the Pawn. 'temporary' means that the maximum health is temporarily elevated but will be set back as soon as the pickup is no longer in use. 'permanent' means that the maximum health of the Pawn is increased such that the health provided by the pickup will fit in and the maximum health stays that way. 62 62 @author 63 63 Damian 'Mozork' Frick
Note: See TracChangeset
for help on using the changeset viewer.