Changeset 288 for cpp/frams/neuro/neuroimpl.cpp
- Timestamp:
- 01/06/15 01:47:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/neuro/neuroimpl.cpp
r286 r288 7 7 #include <frams/util/rndutil.h> 8 8 #include <common/nonstd_math.h> 9 #ifndef GDK_WITHOUT_FRAMS9 #ifndef SDK_WITHOUT_FRAMS 10 10 #include <frams/simul/creature.h> 11 11 #include <frams/mech/creatmechobj.h> … … 463 463 Creature* NeuroImpl::getCreature() 464 464 { 465 #ifndef GDK_WITHOUT_FRAMS465 #ifndef SDK_WITHOUT_FRAMS 466 466 CreatMechObject *cmo=(CreatMechObject *)neuro->owner->userdata[CreatMechObject::modeltags_id]; 467 467 return cmo->creature; … … 473 473 void NeuroImpl::get_creature(ExtValue *ret) 474 474 { 475 #ifndef GDK_WITHOUT_FRAMS475 #ifndef SDK_WITHOUT_FRAMS 476 476 ret->setObject(ExtObject(&creature_param,getCreature())); 477 477 #endif … … 480 480 void NeuroImpl::get_part(ExtValue *ret) 481 481 { 482 #ifndef GDK_WITHOUT_FRAMS482 #ifndef SDK_WITHOUT_FRAMS 483 483 Part *pa; 484 484 if (pa=neuro->getPart()) … … 491 491 void NeuroImpl::get_joint(ExtValue *ret) 492 492 { 493 #ifndef GDK_WITHOUT_FRAMS493 #ifndef SDK_WITHOUT_FRAMS 494 494 Joint *jo; 495 495 if (jo=neuro->getJoint()) … … 502 502 bool NeuroImpl::getPosition(Pt3D &pos) 503 503 { 504 #ifndef GDK_WITHOUT_FRAMS504 #ifndef SDK_WITHOUT_FRAMS 505 505 Part *pa; Joint *jo; 506 506 if (pa=neuro->getPart()) … … 548 548 void NeuroImpl::get_classObject(ExtValue *ret) 549 549 { 550 #ifndef GDK_WITHOUT_FRAMS550 #ifndef SDK_WITHOUT_FRAMS 551 551 NeuroClassExt::makeStaticObject(ret,neuroclass); 552 552 #endif
Note: See TracChangeset
for help on using the changeset viewer.