Changeset 5652 in orxonox.OLD for trunk/src/world_entities/weapons/crosshair.cc
- Timestamp:
- Nov 20, 2005, 6:32:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/crosshair.cc
r5398 r5652 84 84 static_cast<EventListener*>(this)->loadParams(root); 85 85 86 LoadParam <Crosshair>(root, "texture", this, &Crosshair::setTexture)86 LoadParamNEW(root, "texture", this, Crosshair, setTexture) 87 87 .describe("the texture-file to load onto the Crosshair"); 88 88 89 LoadParam <Crosshair>(root, "size", this, &Crosshair::setSize)89 LoadParamNEW(root, "size", this, Crosshair, setSize) 90 90 .describe("the size of the Crosshair in Pixels"); 91 91 92 LoadParam <Crosshair>(root, "rotation-speed", this, &Crosshair::setRotationSpeed)92 LoadParamNEW(root, "rotation-speed", this, Crosshair, setRotationSpeed) 93 93 .describe("the Speed with which the Crosshair should rotate"); 94 94 }
Note: See TracChangeset
for help on using the changeset viewer.