Changeset 5654 in orxonox.OLD for trunk/src/util/track
- Timestamp:
- Nov 20, 2005, 9:12:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/track/track_manager.cc
r5644 r5654 398 398 double x, y, z, d; 399 399 400 LOAD_PARAM_START_CYCLE(root, element) 401 402 LoadParam<TrackManager>(element, "WorkOn", this, &TrackManager::workOnS, true) 400 LOAD_PARAM_START_CYCLE(root, element); 401 { 402 403 LoadParam_CYCLE(element, "WorkOn", this, TrackManager, workOnS) 403 404 .describe("Selects a TrackElement (by name) to work on"); 404 405 405 LoadParam<TrackManager>(element, "Point", this, &TrackManager::addPoint, true)406 LoadParam_CYCLE(element, "Point", this, TrackManager, addPoint) 406 407 .describe("Adds a new Point to the currently selected TrackElement"); 407 408 408 LoadParam<TrackManager>(element, "Duration", this, &TrackManager::setDuration, true)409 LoadParam_CYCLE(element, "Duration", this, TrackManager, setDuration) 409 410 .describe("Sets the Duration of the currently selected TrackElement"); 410 411 411 LoadParam<TrackManager>(element, "HotPoint", this, &TrackManager::addHotPoint, true)412 LoadParam_CYCLE(element, "HotPoint", this, TrackManager, addHotPoint) 412 413 .describe("Sets a new Point that acts as a hot point. meaning, the curve will flow through this Point"); 413 414 414 LoadParam<TrackManager>(element, "SavePoint", this, &TrackManager::setSavePointS, true)415 LoadParam_CYCLE(element, "SavePoint", this, TrackManager, setSavePointS) 415 416 .describe("Sets the current selected Point to a Savepoint, meaning that the curve will be ended and a new one starts, and that one starts again from this point on"); 416 417 417 LoadParam<TrackManager>(element, "Fork", this, &TrackManager::forkS, true)418 LoadParam_CYCLE(element, "Fork", this, TrackManager, forkS) 418 419 .describe("Forks the Path into multiple forked Path names seperated by ','"); 419 420 420 LoadParam<TrackManager>(element, "Join", this, &TrackManager::joinS, true)421 LoadParam_CYCLE(element, "Join", this, TrackManager, joinS) 421 422 .describe("Joins multiple joining Path names seperated by ','"); 422 423 423 424 /* 424 425 426 427 425 if( !strcmp( element->Value(), "Fork")) 426 { 427 container = element->FirstChild(); 428 if( container->ToText()) 428 429 { 429 430 assert( container->Value() != NULL); … … 445 446 } 446 447 */ 447 LOAD_PARAM_END_CYCLE(element); 448 } 449 LOAD_PARAM_END_CYCLE(element); 448 450 } 449 451
Note: See TracChangeset
for help on using the changeset viewer.