Ignore:
Timestamp:
06/20/20 01:09:57 (4 years ago)
Author:
Maciej Komosinski
Message:

Added new receptors (Gp:"gyroscope" on a Part, Tp:Touch-proximity and Tc:Touch-contact) and improved existing ones (T, G)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/neuroimpl.h

    r932 r952  
    8888
    8989        static NeuroImpl *getImpl(Neuro* n) { return (NeuroImpl*)n->userdata[mytags_id]; }
     90        static void getLiveNeuroObject(Neuro *n, ExtValue *ret);
    9091};
    9192
     
    271272        Creature* getCreature();
    272273
     274        virtual Pt3D getRelativePosition() { return Pt3D_0; }
     275        virtual Orient getRelativeOrientation() { return Orient_1; }
     276       
    273277#define STATRICKCLASS NeuroImpl
    274278        PARAMGETDEF(count) { arg1->setInt(getInputCount()); }
     
    300304        PARAMGETDEF(position_y);
    301305        PARAMGETDEF(position_z);
     306        PARAMGETDEF(relative_pos);
     307        PARAMGETDEF(relative_orient);
    302308        PARAMGETDEF(fields);
    303309        PARAMGETDEF(neurodef);
Note: See TracChangeset for help on using the changeset viewer.