Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2015, 2:55:51 PM (9 years ago)
Author:
rgraczyk
Message:

Various changes, see comments in cpp file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.h

    r10315 r10448  
    5151        Vector3 v2;
    5252
     53        /** The parameters are additionally stored as a set of 6 numerical values **/
     54        float a, b, c, d, e, f;
     55
    5356        /** Time span of the event */
    5457        float duration;
     
    7275            // LUA interface
    7376            // tolua_begin
    74             void eventScheduler(std::string instruction,
    75               float x1, float y1, float z1,
    76               float x2, float y2, float z2,
    77               float duration, float executionTime);
     77            void eventScheduler(std::string instruction = "",
     78              float x1 = 0, float y1 = 0, float z1 = 0,
     79              float x2 = 0, float y2 = 0, float z2 = 0,
     80              float duration = 0, float executionTime = 0);
    7881
    7982            static ScriptController* getScriptController();
     
    119122            Vector3 startpos;
    120123
     124            /* Time of the previously scheduled event */
     125            float prevEventTime;
     126
     127            /* Hack: Gain access to delta t */
     128            float deltat;
     129
    121130            /* - Position to look at during that transition */
    122131            //Vector3 lookAtPosition;
Note: See TracChangeset for help on using the changeset viewer.