~ubuntu-branches/ubuntu/trusty/oolite/trusty-proposed

« back to all changes in this revision

Viewing changes to src/Core/Scripting/OOJSFrameCallbacks.m

  • Committer: Package Import Robot
  • Author(s): Nicolas Boulenguez
  • Date: 2012-05-29 21:16:33 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20120529211633-tmz532ixd3388qv2
Tags: 1.76.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
}
130
130
 
131
131
 
132
 
void OOJSFrameCallbacksInvoke(OOTimeDelta delta)
 
132
void OOJSFrameCallbacksInvoke(OOTimeDelta inDeltaT)
133
133
{
134
134
        NSCAssert1(!sRunning, @"%s cannot be called while frame callbacks are running.", __PRETTY_FUNCTION__);
135
135
        
136
136
        if (sCount != 0)
137
137
        {
 
138
                const OOTimeDelta delta = inDeltaT * [UNIVERSE timeAccelerationFactor];
138
139
                JSContext                       *context = OOJSAcquireContext();
139
140
                jsval                           deltaVal, result;
140
141
                OOUInteger                      i;