Changeset 10676 in orxonox.OLD for branches/vs-enhencements/src/world_entities/weapons/weapon_slot.cc
- Timestamp:
- Jun 7, 2007, 5:10:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/weapons/weapon_slot.cc
r10672 r10676 12 12 ### File Specific 13 13 main-programmer: Patrick Boenzli 14 14 co-programmer: Nicolas Schlumberger 15 15 */ 16 16 … … 30 30 { 31 31 this->registerObject(this, WeaponSlot::_objectList); 32 33 for (int i = 0; i < WM_MAX_CONFIGS; i++) 34 this->configs[i] = NULL; 32 35 } 33 36 … … 58 61 .describe("sets the weapon slot"); 59 62 60 LoadParam(root, "currentWeapon", this, WeaponSlot, setCurrentWeapon) 61 .describe("creates and set next weapon"); 63 // LoadParam(root, "currentWeapon", this, WeaponSlot, setCurrentWeapon) 64 // .describe("creates and set next weapon"); 65 // 66 // LoadParam(root, "nextWeapon", this, WeaponSlot, setNextWeapon) 67 // .describe("creates and set next weapon"); 62 68 63 LoadParam(root, " nextWeapon", this, WeaponSlot, setNextWeapon)64 .describe("create s and set next weapon");69 LoadParam(root, "addWeapon", this, WeaponSlot, addWeapon) 70 .describe("create a new Weapon, and add it to config"); 65 71 } 66 72
Note: See TracChangeset
for help on using the changeset viewer.