Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2007, 5:10:52 PM (17 years ago)
Author:
nicolasc
Message:

xfer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/weapons/weapon_slot.cc

    r10672 r10676  
    1212### File Specific
    1313   main-programmer: Patrick Boenzli
    14 
     14   co-programmer: Nicolas Schlumberger
    1515*/
    1616
     
    3030{
    3131  this->registerObject(this, WeaponSlot::_objectList);
     32
     33  for (int i = 0; i < WM_MAX_CONFIGS; i++)
     34    this->configs[i] = NULL;
    3235}
    3336
     
    5861  .describe("sets the weapon slot");
    5962
    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");
    6268
    63   LoadParam(root, "nextWeapon", this, WeaponSlot, setNextWeapon)
    64   .describe("creates and set next weapon");
     69  LoadParam(root, "addWeapon", this, WeaponSlot, addWeapon)
     70  .describe("create a new Weapon, and add it to config");
    6571}
    6672
Note: See TracChangeset for help on using the changeset viewer.