Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 2, 2010, 5:35:14 PM (15 years ago)
Author:
dafrick
Message:

Lua bugs fixed.
Renamed name and description in PickupRepresentation to pickupName and pickupDescription to avoid problems.
More work on PickupInventory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup4/src/modules/pickup/PickupRepresentation.cc

    r6632 r6675  
    8686        this->name_ = "Pickup";
    8787        this->spawnerTemplate_ = "";
    88         this->inventoryRepresentation_ = "";
     88        this->inventoryRepresentation_ = "Default";
    8989        this->pickup_ = NULL;
    9090    }
     
    9898        SUPER(PickupRepresentation, XMLPort, xmlelement, mode);
    9999       
    100         XMLPortParam(PickupRepresentation, "name", setName, getName, xmlelement, mode);
    101         XMLPortParam(PickupRepresentation, "description", setDescription, getDescription, xmlelement, mode);
     100        XMLPortParam(PickupRepresentation, "pickupName", setPickupName, getPickupName, xmlelement, mode);
     101        XMLPortParam(PickupRepresentation, "pickupDescription", setPickupDescription, getPickupDescription, xmlelement, mode);
    102102        XMLPortParam(PickupRepresentation, "spawnerTemplate", setSpawnerTemplate, getSpawnerTemplate, xmlelement, mode);
    103103        XMLPortParam(PickupRepresentation, "inventoryRepresentation", setInventoryRepresentation, getInventoryRepresentation, xmlelement, mode);
Note: See TracChangeset for help on using the changeset viewer.