Changeset 69 for cpp/gdk/neuroimpl.cpp
- Timestamp:
- 02/03/11 03:09:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/neuroimpl.cpp
r68 r69 5 5 #include "neuroimpl.h" 6 6 #include "neurofactory.h" 7 #ifdef NOCREATUREOBJECT 8 #include "neuroclsobject.h" 9 #else 7 #ifndef GDK_WITHOUT_FRAMS 10 8 #include "creature.h" 11 9 #include "creatmechobj.h" … … 446 444 Creature* NeuroImpl::getCreature() 447 445 { 448 #ifndef NOCREATUREOBJECT446 #ifndef GDK_WITHOUT_FRAMS 449 447 CreatMechObject *cmo=(CreatMechObject *)neuro->owner->userdata[CreatMechObject::modeltags_id]; 450 448 return cmo->creature; … … 456 454 void NeuroImpl::get_creature(ExtValue *ret) 457 455 { 458 #ifndef NOCREATUREOBJECT456 #ifndef GDK_WITHOUT_FRAMS 459 457 ret->setObject(ExtObject(&creature_param,getCreature())); 460 458 #endif … … 463 461 void NeuroImpl::get_part(ExtValue *ret) 464 462 { 465 #ifndef NOCREATUREOBJECT463 #ifndef GDK_WITHOUT_FRAMS 466 464 Part *pa; 467 465 if (pa=neuro->getPart()) … … 474 472 void NeuroImpl::get_joint(ExtValue *ret) 475 473 { 476 #ifndef NOCREATUREOBJECT474 #ifndef GDK_WITHOUT_FRAMS 477 475 Joint *jo; 478 476 if (jo=neuro->getJoint()) … … 485 483 bool NeuroImpl::getPosition(Pt3D &pos) 486 484 { 487 #ifndef NOCREATUREOBJECT485 #ifndef GDK_WITHOUT_FRAMS 488 486 Part *pa; Joint *jo; 489 487 if (pa=neuro->getPart()) … … 531 529 void NeuroImpl::get_classObject(ExtValue *ret) 532 530 { 531 #ifndef GDK_WITHOUT_FRAMS 533 532 NeuroClassExt::makeStaticObject(ret,neuroclass); 533 #endif 534 534 } 535 535
Note: See TracChangeset
for help on using the changeset viewer.