Changeset 2083 for code/branches/pickups/src/orxonox
- Timestamp:
- Nov 1, 2008, 2:38:21 PM (16 years ago)
- Location:
- code/branches/pickups/src/orxonox/objects/pickup
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups/src/orxonox/objects/pickup/ShipEquipment.h
r2000 r2083 11 11 12 12 13 namespace sorxonox{13 namespace orxonox{ 14 14 15 15 class _OrxonoxExport ShipEquipment{ … … 21 21 private: 22 22 std::multimap<std::string, Item*> Equipment; 23 }; 24 } 23 25 24 26 -
code/branches/pickups/src/orxonox/objects/pickup/ShipEquipmentClasses.h
r2055 r2083 15 15 EQClasses["jacke"] = 0; 16 16 Item* item = itemMap_["jacke"]; 17 17 18 18 if (itemMap_["jacke"]) 19 19 if (itemMap_.find("jacke") != itemMap_.end()) */ 20 namespace sorxonox{21 20 namespace orxonox{ 21 22 22 class _OrxonoxExport ShipEquipment{ 23 23 public: … … 30 30 multimap<std::string, ShipItem*> Usable; 31 31 multimap<std::string, ShipItem*> Trunk; 32 32 }; 33 33 34 34 -
code/branches/pickups/src/orxonox/objects/pickup/ShipItem.cc
r2055 r2083 1 1 #include "Shipitem.h" 2 2 3 namespace orxonox 4 { 5 itemtype ShipItem::CheckType() 6 { 7 return this.type; 8 } 3 9 4 itemtype CheckType(){ 5 return This.type}; 6 7 subItemTypePermanent CheckSubType(){ 8 return This.subtype_permanent}; 9 10 subItemTypePermanent CheckSubType() 11 { 12 return this.subtype_permanent; 13 } 14 } -
code/branches/pickups/src/orxonox/objects/pickup/ShipItem.h
r2055 r2083 9 9 10 10 namespace orxonox{ 11 Class _OrxonoxExport ShipItem{11 class _OrxonoxExport ShipItem{ 12 12 13 13 enum itemType{ //Diffrent Types of Items … … 30 30 /* Useables are Items the Player can choose when to activate and then show an instant action/effect 31 31 * or for a certain duration */ 32 Class _OrxonoxExport Useable : public ShipItem{32 class _OrxonoxExport Useable : public ShipItem{ 33 33 34 34 … … 51 51 /* Permanents are Items, that effect the Player or his Ship from the instance he picks them up 52 52 until he drops them again */ 53 Class _OrxonoxExport Permanent : public ShipItem{53 class _OrxonoxExport Permanent : public ShipItem{ 54 54 55 55 enum subItemTypePermanent{ //Diffrent Types of Items of the Type Permanent … … 67 67 68 68 // Powerups effect the Player right after he picks them up for a certain Duration /or permanently. 69 Class _OrxonoxExport Powerups : public ShipItem{69 class _OrxonoxExport Powerups : public ShipItem{ 70 70 71 71 enum subItem TypePowerups{ //Diffrent Types of Items of the Type Powerups -
code/branches/pickups/src/orxonox/objects/pickup/Usable.h
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/code/branches/ceguilua/src/orxonox/objects/pickup/Usable 1802-1808 /code/branches/core3/src/orxonox/objects/pickup/Usable 1572-1739 /code/branches/gcc43/src/orxonox/objects/pickup/Usable 1580 /code/branches/gui/src/orxonox/objects/pickup/Usable 1635-1723 /code/branches/input/src/orxonox/objects/pickup/Usable 1629-1636
r2082 r2083 3 3 namespace orxonox{ 4 4 class _OrxonoxExport Usable: public ShipItem{ 5 5 6 6 public: 7 7 subtypeusable CheckSubType(); 8 8 private: 9 9 subtypeusable subtype; 10 11 } 10 11 }; 12 } -
Property
svn:mergeinfo
set to
(toggle deleted branches)
Note: See TracChangeset
for help on using the changeset viewer.