void MenuState_obj::update(Float elapsed){ HX_STACK_FRAME("MenuState","update",0xf0719b25,"MenuState.update","MenuState.hx",19,0xdfbcb22c) HX_STACK_THIS(this) HX_STACK_ARG(elapsed,"elapsed") HXLINE( 19) this->super::update(elapsed); }
::box2D::common::math::B2Vec2 B2MouseJoint_obj::getAnchorA( ){ HX_STACK_PUSH("B2MouseJoint::getAnchorA","box2D/dynamics/joints/B2MouseJoint.hx",49); HX_STACK_THIS(this); HX_STACK_LINE(49) return this->m_target; }
::spinehx::Color SlotData_obj::getColor( ){ HX_STACK_PUSH("SlotData::getColor","spinehx/SlotData.hx",59); HX_STACK_THIS(this); HX_STACK_LINE(59) return this->color; }
Float B2MouseJoint_obj::getDampingRatio( ){ HX_STACK_PUSH("B2MouseJoint::getDampingRatio","box2D/dynamics/joints/B2MouseJoint.hx",108); HX_STACK_THIS(this); HX_STACK_LINE(108) return this->m_dampingRatio; }
Float B2MouseJoint_obj::getMaxForce( ){ HX_STACK_PUSH("B2MouseJoint::getMaxForce","box2D/dynamics/joints/B2MouseJoint.hx",84); HX_STACK_THIS(this); HX_STACK_LINE(84) return this->m_maxForce; }
::String Attachment_obj::toString( ){ HX_STACK_PUSH("Attachment::toString","spinehx/attachments/Attachment.hx",41); HX_STACK_THIS(this); HX_STACK_LINE(41) return this->name; }
Void B2MouseJoint_obj::solveVelocityConstraints( ::box2D::dynamics::B2TimeStep step){ { HX_STACK_PUSH("B2MouseJoint::solveVelocityConstraints","box2D/dynamics/joints/B2MouseJoint.hx",235); HX_STACK_THIS(this); HX_STACK_ARG(step,"step"); HX_STACK_LINE(236) ::box2D::dynamics::B2Body b = this->m_bodyB; HX_STACK_VAR(b,"b"); HX_STACK_LINE(238) ::box2D::common::math::B2Mat22 tMat; HX_STACK_VAR(tMat,"tMat"); HX_STACK_LINE(239) Float tX; HX_STACK_VAR(tX,"tX"); HX_STACK_LINE(240) Float tY; HX_STACK_VAR(tY,"tY"); HX_STACK_LINE(244) tMat = b->m_xf->R; HX_STACK_LINE(245) Float rX = (this->m_localAnchor->x - b->m_sweep->localCenter->x); HX_STACK_VAR(rX,"rX"); HX_STACK_LINE(246) Float rY = (this->m_localAnchor->y - b->m_sweep->localCenter->y); HX_STACK_VAR(rY,"rY"); HX_STACK_LINE(247) tX = ((tMat->col1->x * rX) + (tMat->col2->x * rY)); HX_STACK_LINE(248) rY = ((tMat->col1->y * rX) + (tMat->col2->y * rY)); HX_STACK_LINE(249) rX = tX; HX_STACK_LINE(253) Float CdotX = (b->m_linearVelocity->x + (-(b->m_angularVelocity) * rY)); HX_STACK_VAR(CdotX,"CdotX"); HX_STACK_LINE(254) Float CdotY = (b->m_linearVelocity->y + (b->m_angularVelocity * rX)); HX_STACK_VAR(CdotY,"CdotY"); HX_STACK_LINE(256) tMat = this->m_mass; HX_STACK_LINE(257) tX = ((CdotX + (this->m_beta * this->m_C->x)) + (this->m_gamma * this->m_impulse->x)); HX_STACK_LINE(258) tY = ((CdotY + (this->m_beta * this->m_C->y)) + (this->m_gamma * this->m_impulse->y)); HX_STACK_LINE(259) Float impulseX = -((((tMat->col1->x * tX) + (tMat->col2->x * tY)))); HX_STACK_VAR(impulseX,"impulseX"); HX_STACK_LINE(260) Float impulseY = -((((tMat->col1->y * tX) + (tMat->col2->y * tY)))); HX_STACK_VAR(impulseY,"impulseY"); HX_STACK_LINE(262) Float oldImpulseX = this->m_impulse->x; HX_STACK_VAR(oldImpulseX,"oldImpulseX"); HX_STACK_LINE(263) Float oldImpulseY = this->m_impulse->y; HX_STACK_VAR(oldImpulseY,"oldImpulseY"); HX_STACK_LINE(265) hx::AddEq(this->m_impulse->x,impulseX); HX_STACK_LINE(266) hx::AddEq(this->m_impulse->y,impulseY); HX_STACK_LINE(267) Float maxImpulse = (step->dt * this->m_maxForce); HX_STACK_VAR(maxImpulse,"maxImpulse"); HX_STACK_LINE(268) if (((this->m_impulse->lengthSquared() > (maxImpulse * maxImpulse)))){ HX_STACK_LINE(269) this->m_impulse->multiply((Float(maxImpulse) / Float(this->m_impulse->length()))); } HX_STACK_LINE(274) impulseX = (this->m_impulse->x - oldImpulseX); HX_STACK_LINE(275) impulseY = (this->m_impulse->y - oldImpulseY); HX_STACK_LINE(278) hx::AddEq(b->m_linearVelocity->x,(b->m_invMass * impulseX)); HX_STACK_LINE(279) hx::AddEq(b->m_linearVelocity->y,(b->m_invMass * impulseY)); HX_STACK_LINE(281) hx::AddEq(b->m_angularVelocity,(b->m_invI * (((rX * impulseY) - (rY * impulseX))))); } return null(); }
void FlxState_obj::closeSubState(){ HX_STACK_FRAME("flixel.FlxState","closeSubState",0x519577cc,"flixel.FlxState.closeSubState","flixel/FlxState.hx",80,0xdf96844c) HX_STACK_THIS(this) HXLINE( 80) this->_requestSubStateReset = true; }
void FlxKeyboard_obj::onKeyDown( ::openfl::_legacy::events::KeyboardEvent event){ HX_STACK_FRAME("flixel.input.keyboard.FlxKeyboard","onKeyDown",0xf4d786dc,"flixel.input.keyboard.FlxKeyboard.onKeyDown","flixel/input/keyboard/FlxKeyboard.hx",107,0x41882875) HX_STACK_THIS(this) HX_STACK_ARG(event,"event") HXLINE( 107) this->super::onKeyDown(event); }
::flixel::tile::FlxTileblock FlxTileblock_obj::loadFrames( ::flixel::graphics::frames::FlxTileFrames tileFrames,hx::Null< Int > __o_empties){ Int empties = __o_empties.Default(0); HX_STACK_FRAME("flixel.tile.FlxTileblock","loadFrames",0xaeb6fc9f,"flixel.tile.FlxTileblock.loadFrames","flixel/tile/FlxTileblock.hx",52,0xecdf1de3) HX_STACK_THIS(this) HX_STACK_ARG(tileFrames,"tileFrames") HX_STACK_ARG(empties,"empties") HXLINE( 53) Bool _hx_tmp = hx::IsNull( tileFrames ); HXDLIN( 53) if (_hx_tmp) { HXLINE( 55) return hx::ObjectPtr<OBJ_>(this); } HXLINE( 59) ::flixel::FlxSprite _hx_tmp1; HXDLIN( 59) Bool _hx_tmp2 = hx::IsNull( this->tileSprite ); HXDLIN( 59) if (_hx_tmp2) { HXLINE( 59) _hx_tmp1 = ::flixel::FlxSprite_obj::__new(null(),null(),null()); } else { HXLINE( 59) _hx_tmp1 = this->tileSprite; } HXDLIN( 59) this->tileSprite = _hx_tmp1; HXLINE( 60) this->tileSprite->set_frames(tileFrames); HXLINE( 61) Float _hx_tmp3 = this->tileSprite->get_width(); HXDLIN( 61) HX_VARI( Int,spriteWidth) = ::Std_obj::_hx_int(_hx_tmp3); HXLINE( 62) Float _hx_tmp4 = this->tileSprite->get_height(); HXDLIN( 62) HX_VARI( Int,spriteHeight) = ::Std_obj::_hx_int(_hx_tmp4); HXLINE( 63) HX_VARI( Int,total) = (this->tileSprite->numFrames + empties); HXLINE( 66) HX_VARI( Bool,regen) = false; HXLINE( 68) Float _hx_tmp5 = this->get_width(); HXDLIN( 68) Float _hx_tmp6 = this->tileSprite->get_width(); HXDLIN( 68) if ((hx::Mod(_hx_tmp5,_hx_tmp6) != (int)0)) { HXLINE( 70) Float _hx_tmp7 = this->get_width(); HXDLIN( 70) Int _hx_tmp8 = ::Std_obj::_hx_int((((Float)_hx_tmp7 / (Float)spriteWidth) + (int)1)); HXDLIN( 70) this->set_width((_hx_tmp8 * spriteWidth)); HXLINE( 71) regen = true; } HXLINE( 74) Float _hx_tmp9 = this->get_height(); HXDLIN( 74) Float _hx_tmp10 = this->tileSprite->get_height(); HXDLIN( 74) if ((hx::Mod(_hx_tmp9,_hx_tmp10) != (int)0)) { HXLINE( 76) Float _hx_tmp11 = this->get_height(); HXDLIN( 76) Int _hx_tmp12 = ::Std_obj::_hx_int((((Float)_hx_tmp11 / (Float)spriteHeight) + (int)1)); HXDLIN( 76) this->set_height((_hx_tmp12 * spriteHeight)); HXLINE( 77) regen = true; } HXLINE( 80) if (regen) { HXLINE( 82) Float _hx_tmp13 = this->get_width(); HXDLIN( 82) Int _hx_tmp14 = ::Std_obj::_hx_int(_hx_tmp13); HXDLIN( 82) Float _hx_tmp15 = this->get_height(); HXDLIN( 82) Int _hx_tmp16 = ::Std_obj::_hx_int(_hx_tmp15); HXDLIN( 82) this->makeGraphic(_hx_tmp14,_hx_tmp16,(int)0,true,null()); } else { HXLINE( 86) ::flixel::util::FlxSpriteUtil_obj::fill(hx::ObjectPtr<OBJ_>(this),(int)0); } HXLINE( 90) HX_VARI( Int,row) = (int)0; HXLINE( 91) HX_VAR( Int,column); HXLINE( 92) HX_VAR( Int,destinationX); HXLINE( 93) HX_VARI( Int,destinationY) = (int)0; HXLINE( 94) Float _hx_tmp17 = this->get_width(); HXDLIN( 94) HX_VARI( Int,widthInTiles) = ::Std_obj::_hx_int(((Float)_hx_tmp17 / (Float)spriteWidth)); HXLINE( 95) Float _hx_tmp18 = this->get_height(); HXDLIN( 95) HX_VARI( Int,heightInTiles) = ::Std_obj::_hx_int(((Float)_hx_tmp18 / (Float)spriteHeight)); HXLINE( 97) while((row < heightInTiles)){ HXLINE( 99) destinationX = (int)0; HXLINE( 100) column = (int)0; HXLINE( 102) while((column < widthInTiles)){ HXLINE( 104) Float _hx_tmp19 = ::flixel::FlxG_obj::random->_hx_float(null(),null(),null()); HXDLIN( 104) if (((_hx_tmp19 * total) > empties)) { HXLINE( 106) this->tileSprite->animation->randomFrame(); HXLINE( 107) this->tileSprite->drawFrame(null()); HXLINE( 108) this->stamp(this->tileSprite,destinationX,destinationY); } HXLINE( 111) hx::AddEq(destinationX,spriteWidth); HXLINE( 112) ++column; } HXLINE( 115) hx::AddEq(destinationY,spriteHeight); HXLINE( 116) ++row; } HXLINE( 119) this->dirty = true; HXLINE( 120) return hx::ObjectPtr<OBJ_>(this); }
void FlxTileblock_obj::destroy(){ HX_STACK_FRAME("flixel.tile.FlxTileblock","destroy",0x5d3d80e7,"flixel.tile.FlxTileblock.destroy","flixel/tile/FlxTileblock.hx",39,0xecdf1de3) HX_STACK_THIS(this) HXLINE( 40) this->tileSprite = ( ( ::flixel::FlxSprite)(::flixel::util::FlxDestroyUtil_obj::destroy(this->tileSprite)) ); HXLINE( 41) this->super::destroy(); }
void FlxTimerManager_obj::clear(){ HX_STACK_FRAME("flixel.util.FlxTimerManager","clear",0xccdb561f,"flixel.util.FlxTimerManager.clear","flixel/util/FlxTimer.hx",274,0x0a681e11) HX_STACK_THIS(this) HXLINE( 274) ::flixel::util::FlxArrayUtil_obj::clearArray(this->_timers,null()); }
void FlxTimerManager_obj::add( ::flixel::util::FlxTimer Timer){ HX_STACK_FRAME("flixel.util.FlxTimerManager","add",0x36752e33,"flixel.util.FlxTimerManager.add","flixel/util/FlxTimer.hx",253,0x0a681e11) HX_STACK_THIS(this) HX_STACK_ARG(Timer,"Timer") HXLINE( 253) this->_timers->push(Timer); }
void StringBuf_obj::__construct(){ HX_STACK_FRAME("StringBuf","new",0xaaa8f4b4,"StringBuf.new","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",30,0x629ed4da) HX_STACK_THIS(this) HXLINE( 30) this->b = ::Array_obj< ::String >::__new(); }
::String UncaughtErrorEvent_obj::toString( ) { HX_STACK_PUSH("UncaughtErrorEvent::toString","flash/events/UncaughtErrorEvent.hx",23); HX_STACK_THIS(this); HX_STACK_LINE(23) return ((((((HX_CSTRING("[UncaughtErrorEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING("]")); }
::native::geom::Rectangle Transform_obj::get_pixelBounds( ){ HX_STACK_PUSH("Transform::get_pixelBounds","native/geom/Transform.hx",40); HX_STACK_THIS(this); HX_STACK_LINE(40) return this->nmeObj->nmeGetPixelBounds(); }
::flash::events::Event UncaughtErrorEvent_obj::clone( ) { HX_STACK_PUSH("UncaughtErrorEvent::clone","flash/events/UncaughtErrorEvent.hx",16); HX_STACK_THIS(this); HX_STACK_LINE(16) return ::flash::events::UncaughtErrorEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->error); }
::native::geom::Matrix Transform_obj::get_matrix( ){ HX_STACK_PUSH("Transform::get_matrix","native/geom/Transform.hx",38); HX_STACK_THIS(this); HX_STACK_LINE(38) return this->nmeObj->nmeGetMatrix(); }
::String Attachment_obj::getName( ){ HX_STACK_PUSH("Attachment::getName","spinehx/attachments/Attachment.hx",37); HX_STACK_THIS(this); HX_STACK_LINE(37) return this->name; }
::native::geom::Matrix Transform_obj::get_concatenatedMatrix( ){ HX_STACK_PUSH("Transform::get_concatenatedMatrix","native/geom/Transform.hx",37); HX_STACK_THIS(this); HX_STACK_LINE(37) return this->nmeObj->nmeGetConcatenatedMatrix(); }
Void B2MouseJoint_obj::initVelocityConstraints( ::box2D::dynamics::B2TimeStep step){ { HX_STACK_PUSH("B2MouseJoint::initVelocityConstraints","box2D/dynamics/joints/B2MouseJoint.hx",162); HX_STACK_THIS(this); HX_STACK_ARG(step,"step"); HX_STACK_LINE(163) ::box2D::dynamics::B2Body b = this->m_bodyB; HX_STACK_VAR(b,"b"); HX_STACK_LINE(165) Float mass = b->getMass(); HX_STACK_VAR(mass,"mass"); HX_STACK_LINE(168) Float omega = ((2.0 * ::Math_obj::PI) * this->m_frequencyHz); HX_STACK_VAR(omega,"omega"); HX_STACK_LINE(171) Float d = (((2.0 * mass) * this->m_dampingRatio) * omega); HX_STACK_VAR(d,"d"); HX_STACK_LINE(174) Float k = ((mass * omega) * omega); HX_STACK_VAR(k,"k"); HX_STACK_LINE(180) this->m_gamma = (step->dt * ((d + (step->dt * k)))); HX_STACK_LINE(181) this->m_gamma = ( (((this->m_gamma != (int)0))) ? Float((Float((int)1) / Float(this->m_gamma))) : Float(0.0) ); HX_STACK_LINE(182) this->m_beta = ((step->dt * k) * this->m_gamma); HX_STACK_LINE(184) ::box2D::common::math::B2Mat22 tMat; HX_STACK_VAR(tMat,"tMat"); HX_STACK_LINE(188) tMat = b->m_xf->R; HX_STACK_LINE(189) Float rX = (this->m_localAnchor->x - b->m_sweep->localCenter->x); HX_STACK_VAR(rX,"rX"); HX_STACK_LINE(190) Float rY = (this->m_localAnchor->y - b->m_sweep->localCenter->y); HX_STACK_VAR(rY,"rY"); HX_STACK_LINE(191) Float tX = ((tMat->col1->x * rX) + (tMat->col2->x * rY)); HX_STACK_VAR(tX,"tX"); HX_STACK_LINE(192) rY = ((tMat->col1->y * rX) + (tMat->col2->y * rY)); HX_STACK_LINE(193) rX = tX; HX_STACK_LINE(198) Float invMass = b->m_invMass; HX_STACK_VAR(invMass,"invMass"); HX_STACK_LINE(199) Float invI = b->m_invI; HX_STACK_VAR(invI,"invI"); HX_STACK_LINE(202) this->K1->col1->x = invMass; HX_STACK_LINE(202) this->K1->col2->x = 0.0; HX_STACK_LINE(203) this->K1->col1->y = 0.0; HX_STACK_LINE(203) this->K1->col2->y = invMass; HX_STACK_LINE(206) this->K2->col1->x = ((invI * rY) * rY); HX_STACK_LINE(206) this->K2->col2->x = ((-(invI) * rX) * rY); HX_STACK_LINE(207) this->K2->col1->y = ((-(invI) * rX) * rY); HX_STACK_LINE(207) this->K2->col2->y = ((invI * rX) * rX); HX_STACK_LINE(210) this->K->setM(this->K1); HX_STACK_LINE(211) this->K->addM(this->K2); HX_STACK_LINE(212) hx::AddEq(this->K->col1->x,this->m_gamma); HX_STACK_LINE(213) hx::AddEq(this->K->col2->y,this->m_gamma); HX_STACK_LINE(216) this->K->getInverse(this->m_mass); HX_STACK_LINE(219) this->m_C->x = ((b->m_sweep->c->x + rX) - this->m_target->x); HX_STACK_LINE(220) this->m_C->y = ((b->m_sweep->c->y + rY) - this->m_target->y); HX_STACK_LINE(223) hx::MultEq(b->m_angularVelocity,0.98); HX_STACK_LINE(226) hx::MultEq(this->m_impulse->x,step->dtRatio); HX_STACK_LINE(227) hx::MultEq(this->m_impulse->y,step->dtRatio); HX_STACK_LINE(229) hx::AddEq(b->m_linearVelocity->x,(invMass * this->m_impulse->x)); HX_STACK_LINE(230) hx::AddEq(b->m_linearVelocity->y,(invMass * this->m_impulse->y)); HX_STACK_LINE(232) hx::AddEq(b->m_angularVelocity,(invI * (((rX * this->m_impulse->y) - (rY * this->m_impulse->x))))); } return null(); }
::native::geom::ColorTransform Transform_obj::get_concatenatedColorTransform( ){ HX_STACK_PUSH("Transform::get_concatenatedColorTransform","native/geom/Transform.hx",36); HX_STACK_THIS(this); HX_STACK_LINE(36) return this->nmeObj->nmeGetConcatenatedColorTransform(); }
Float B2MouseJoint_obj::getFrequency( ){ HX_STACK_PUSH("B2MouseJoint::getFrequency","box2D/dynamics/joints/B2MouseJoint.hx",96); HX_STACK_THIS(this); HX_STACK_LINE(96) return this->m_frequencyHz; }
::String ProgressEvent_obj::toString( ){ HX_STACK_PUSH("ProgressEvent::toString","neash/events/ProgressEvent.hx",29); HX_STACK_THIS(this); HX_STACK_LINE(29) return ((((((((((HX_CSTRING("[ProgressEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" bytesLoaded=")) + this->bytesLoaded) + HX_CSTRING(" bytesTotal=")) + this->bytesTotal) + HX_CSTRING("]")); }
::box2D::common::math::B2Vec2 B2MouseJoint_obj::getAnchorB( ){ HX_STACK_PUSH("B2MouseJoint::getAnchorB","box2D/dynamics/joints/B2MouseJoint.hx",53); HX_STACK_THIS(this); HX_STACK_LINE(53) return this->m_bodyB->getWorldPoint(this->m_localAnchor); }
::neash::events::Event ProgressEvent_obj::clone( ){ HX_STACK_PUSH("ProgressEvent::clone","neash/events/ProgressEvent.hx",23); HX_STACK_THIS(this); HX_STACK_LINE(23) return ::neash::events::ProgressEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->bytesLoaded,this->bytesTotal); }
::flash::display::Stage DocumentClass_obj::get_stage( ){ HX_STACK_PUSH("DocumentClass::get_stage","ApplicationMain.hx",147); HX_STACK_THIS(this); HX_STACK_LINE(147) return ::flash::Lib_obj::get_current()->get_stage(); }
int Input_obj::readByte( ){ HX_STACK_FRAME("haxe.io.Input","readByte",0x4de8a3c2,"haxe.io.Input.readByte","haxe/io/Input.hx",37,0xcd5a10f4) HX_STACK_THIS(this) HX_STACK_LINE(39) HX_STACK_DO_THROW(HX_CSTRING("Not implemented")); HX_STACK_LINE(40) return (int)0; } HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readByte,return ) Void Input_obj::close( ){ { HX_STACK_FRAME("haxe.io.Input","close",0xfc421af4,"haxe.io.Input.close","haxe/io/Input.hx",67,0xcd5a10f4) HX_STACK_THIS(this) } return null(); } HX_DEFINE_DYNAMIC_FUNC0(Input_obj,close,(void)) ::String Input_obj::readLine( ){ HX_STACK_FRAME("haxe.io.Input","readLine",0x54789cae,"haxe.io.Input.readLine","haxe/io/Input.hx",127,0xcd5a10f4) HX_STACK_THIS(this) HX_STACK_LINE(128) ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); HX_STACK_LINE(129) int last; HX_STACK_VAR(last,"last"); HX_STACK_LINE(130)
::spinehx::BoneData SlotData_obj::getBoneData( ){ HX_STACK_PUSH("SlotData::getBoneData","spinehx/SlotData.hx",55); HX_STACK_THIS(this); HX_STACK_LINE(55) return this->boneData; }
void MenuState_obj::create(){ HX_STACK_FRAME("MenuState","create",0xe57b7c18,"MenuState.create","MenuState.hx",14,0xdfbcb22c) HX_STACK_THIS(this) HXLINE( 14) this->super::create(); }