void FlxReplay_obj::load(::String FileContents){ HX_STACK_FRAME("flixel.system.replay.FlxReplay","load",0x9870e395,"flixel.system.replay.FlxReplay.load","flixel/system/replay/FlxReplay.hx",96,0xb378fa20) HX_STACK_THIS(this) HX_STACK_ARG(FileContents,"FileContents") HXLINE( 97) this->init(); HXLINE( 99) HX_VARI( ::Array< ::String >,lines) = FileContents.split(HX_("\n",0a,00,00,00)); HXLINE( 101) ::String _hx_tmp = lines->__get((int)0); HXDLIN( 101) this->seed = ::Std_obj::parseInt(_hx_tmp); HXLINE( 103) HX_VAR( ::String,line); HXLINE( 104) HX_VARI( Int,i) = (int)1; HXLINE( 105) HX_VARI( Int,l) = lines->length; HXLINE( 106) while((i < l)){ HXLINE( 108) Int _hx_tmp1 = i++; HXDLIN( 108) line = lines->__get(_hx_tmp1); HXLINE( 109) Bool _hx_tmp2 = (line.length > (int)3); HXDLIN( 109) if (_hx_tmp2) { HXLINE( 111) Int _hx_tmp3 = this->frameCount++; HXDLIN( 111) ::flixel::_hx_system::replay::FrameRecord _hx_tmp4 = ::flixel::_hx_system::replay::FrameRecord_obj::__new()->load(line); HXDLIN( 111) this->_frames[_hx_tmp3] = _hx_tmp4; HXLINE( 112) Bool _hx_tmp5 = (this->frameCount >= this->_capacity); HXDLIN( 112) if (_hx_tmp5) { HXLINE( 114) hx::MultEq(this->_capacity,(int)2); HXLINE( 115) ::flixel::util::FlxArrayUtil_obj::setLength_flixel_system_replay_FrameRecord(this->_frames,this->_capacity); } } } HXLINE( 120) this->rewind(); }
void FlxTimerManager_obj::update(Float elapsed){ HX_STACK_FRAME("flixel.util.FlxTimerManager","update",0xf26da137,"flixel.util.FlxTimerManager.update","flixel/util/FlxTimer.hx",235,0x0a681e11) HX_STACK_THIS(this) HX_STACK_ARG(elapsed,"elapsed") HXLINE( 235) HX_VARI( Int,_g) = (int)0; HXDLIN( 235) HX_VARI( ::Array< ::Dynamic>,_g1) = this->_timers; HXDLIN( 235) while((_g < _g1->length)){ HXLINE( 235) HX_VARI( ::flixel::util::FlxTimer,timer) = _g1->__get(_g).StaticCast< ::flixel::util::FlxTimer >(); HXDLIN( 235) ++_g; HXLINE( 237) Bool _hx_tmp; HXDLIN( 237) Bool _hx_tmp1; HXDLIN( 237) if (timer->active) { HXLINE( 237) _hx_tmp1 = !(timer->finished); } else { HXLINE( 237) _hx_tmp1 = false; } HXDLIN( 237) if (_hx_tmp1) { HXLINE( 237) _hx_tmp = (timer->time >= (int)0); } else { HXLINE( 237) _hx_tmp = false; } HXDLIN( 237) if (_hx_tmp) { HXLINE( 239) timer->update(elapsed); } } }
Int Output_obj::writeBytes( ::haxe::io::Bytes s,Int pos,Int len){ HX_STACK_FRAME("haxe.io.Output","writeBytes",0xa988c1f9,"haxe.io.Output.writeBytes","C:\\HaxeToolkit\\haxe\\std/haxe/io/Output.hx",57,0x05ec9a64) HX_STACK_THIS(this) HX_STACK_ARG(s,"s") HX_STACK_ARG(pos,"pos") HX_STACK_ARG(len,"len") HXLINE( 59) Bool _hx_tmp; HXDLIN( 59) Bool _hx_tmp1; HXDLIN( 59) if ((pos >= (int)0)) { HXLINE( 59) _hx_tmp1 = (len < (int)0); } else { HXLINE( 59) _hx_tmp1 = true; } HXDLIN( 59) if (!(_hx_tmp1)) { HXLINE( 59) _hx_tmp = ((pos + len) > s->length); } else { HXLINE( 59) _hx_tmp = true; } HXDLIN( 59) if (_hx_tmp) { HXLINE( 60) HX_STACK_DO_THROW(::haxe::io::Error_obj::OutsideBounds_dyn()); } HXLINE( 62) HX_VARI( ::Array< unsigned char >,b) = s->b; HXLINE( 63) HX_VARI( Int,k) = len; HXLINE( 64) while((k > (int)0)){ HXLINE( 70) Int _hx_tmp2 = b->__get(pos); HXDLIN( 70) this->writeByte(_hx_tmp2); HXLINE( 76) ++pos; HXLINE( 77) --k; } HXLINE( 79) return len; }
void FlxTimerManager_obj::remove( ::flixel::util::FlxTimer Timer){ HX_STACK_FRAME("flixel.util.FlxTimerManager","remove",0x6ff0b772,"flixel.util.FlxTimerManager.remove","flixel/util/FlxTimer.hx",266,0x0a681e11) HX_STACK_THIS(this) HX_STACK_ARG(Timer,"Timer") HXLINE( 266) HX_VARI( ::Array< ::Dynamic>,array) = this->_timers; HXDLIN( 266) HX_VARI( Int,index) = array->indexOf(Timer,null()); HXDLIN( 266) if ((index != (int)-1)) { HXLINE( 266) ::flixel::util::FlxTimer _hx_tmp = array->__get((array->length - (int)1)).StaticCast< ::flixel::util::FlxTimer >(); HXDLIN( 266) array[index] = _hx_tmp; HXDLIN( 266) array->pop().StaticCast< ::flixel::util::FlxTimer >(); } }
void Output_obj::write( ::haxe::io::Bytes s){ HX_STACK_FRAME("haxe.io.Output","write",0x6f1d1512,"haxe.io.Output.write","C:\\HaxeToolkit\\haxe\\std/haxe/io/Output.hx",106,0x05ec9a64) HX_STACK_THIS(this) HX_STACK_ARG(s,"s") HXLINE( 107) HX_VARI( Int,l) = s->length; HXLINE( 108) HX_VARI( Int,p) = (int)0; HXLINE( 109) while((l > (int)0)){ HXLINE( 110) HX_VARI( Int,k) = this->writeBytes(s,p,l); HXLINE( 111) if ((k == (int)0)) { HXLINE( 111) HX_STACK_DO_THROW(::haxe::io::Error_obj::Blocked_dyn()); } HXLINE( 112) hx::AddEq(p,k); HXLINE( 113) hx::SubEq(l,k); } }
Int Int32_Impl__obj::postIncrement(Int this1){ HX_STACK_FRAME("haxe._Int32.Int32_Impl_","postIncrement",0x744c8818,"haxe._Int32.Int32_Impl_.postIncrement","/usr/lib/haxe/std/haxe/Int32.hx",34,0xece267d8) HX_STACK_ARG(this1,"this1") HXLINE( 35) HX_VARI( Int,ret) = this1++; HXLINE( 36) this1 = this1; HXLINE( 37) return ret; }
::String Bytes_obj::getString(Int pos,Int len){ HX_STACK_FRAME("haxe.io.Bytes","getString",0xa16beae4,"haxe.io.Bytes.getString","C:\\HaxeToolkit\\haxe\\std/haxe/io/Bytes.hx",360,0x20b05d0c) HX_STACK_THIS(this) HX_STACK_ARG(pos,"pos") HX_STACK_ARG(len,"len") HXLINE( 362) Bool _hx_tmp; HXDLIN( 362) Bool _hx_tmp1; HXDLIN( 362) if ((pos >= (int)0)) { HXLINE( 362) _hx_tmp1 = (len < (int)0); } else { HXLINE( 362) _hx_tmp1 = true; } HXDLIN( 362) if (!(_hx_tmp1)) { HXLINE( 362) _hx_tmp = ((pos + len) > this->length); } else { HXLINE( 362) _hx_tmp = true; } HXDLIN( 362) if (_hx_tmp) { HXLINE( 362) HX_STACK_DO_THROW(::haxe::io::Error_obj::OutsideBounds_dyn()); } HXLINE( 372) HX_VARI( ::String,result) = HX_("",00,00,00,00); HXLINE( 373) ::__hxcpp_string_of_bytes(this->b,result,pos,len); HXLINE( 374) return result; }
Int Int32_Impl__obj::preDecrement(Int this1){ HX_STACK_FRAME("haxe._Int32.Int32_Impl_","preDecrement",0x3a0b2727,"haxe._Int32.Int32_Impl_.preDecrement","/usr/lib/haxe/std/haxe/Int32.hx",41,0xece267d8) HX_STACK_ARG(this1,"this1") HXLINE( 41) HX_VARI( Int,x) = --this1; HXDLIN( 41) this1 = x; HXDLIN( 41) return x; }
Int Int32_Impl__obj::postDecrement(Int this1){ HX_STACK_FRAME("haxe._Int32.Int32_Impl_","postDecrement",0x52cf77fc,"haxe._Int32.Int32_Impl_.postDecrement","/usr/lib/haxe/std/haxe/Int32.hx",43,0xece267d8) HX_STACK_ARG(this1,"this1") HXLINE( 44) HX_VARI( Int,ret) = this1--; HXLINE( 45) this1 = this1; HXLINE( 46) return ret; }
void FlxSystemButton_obj::onMouseOut( ::Dynamic _){ HX_STACK_FRAME("flixel.system.ui.FlxSystemButton","onMouseOut",0x67e0ddf0,"flixel.system.ui.FlxSystemButton.onMouseOut","flixel/system/ui/FlxSystemButton.hx",120,0x167fa379) HX_STACK_THIS(this) HX_STACK_ARG(_,"_") HXLINE( 120) HX_VARI( ::flixel::_hx_system::ui::FlxSystemButton,_g) = hx::ObjectPtr<OBJ_>(this); HXDLIN( 120) Float _hx_tmp = _g->get_alpha(); HXDLIN( 120) _g->set_alpha((_hx_tmp + ((Float)0.2))); }
::flixel::tile::FlxTileblock FlxTileblock_obj::loadTiles( ::Dynamic TileGraphic,hx::Null< Int > __o_TileWidth,hx::Null< Int > __o_TileHeight,hx::Null< Int > __o_Empties){ Int TileWidth = __o_TileWidth.Default(0); Int TileHeight = __o_TileHeight.Default(0); Int Empties = __o_Empties.Default(0); HX_STACK_FRAME("flixel.tile.FlxTileblock","loadTiles",0x7f9232ac,"flixel.tile.FlxTileblock.loadTiles","flixel/tile/FlxTileblock.hx",133,0xecdf1de3) HX_STACK_THIS(this) HX_STACK_ARG(TileGraphic,"TileGraphic") HX_STACK_ARG(TileWidth,"TileWidth") HX_STACK_ARG(TileHeight,"TileHeight") HX_STACK_ARG(Empties,"Empties") HXLINE( 134) Bool _hx_tmp = hx::IsNull( TileGraphic ); HXDLIN( 134) if (_hx_tmp) { HXLINE( 136) return hx::ObjectPtr<OBJ_>(this); } HXLINE( 139) HX_VARI( ::flixel::graphics::FlxGraphic,graph) = ::flixel::FlxG_obj::bitmap->add(TileGraphic,null(),null()); HXLINE( 140) Bool _hx_tmp1 = hx::IsNull( graph ); HXDLIN( 140) if (_hx_tmp1) { HXLINE( 142) return hx::ObjectPtr<OBJ_>(this); } HXLINE( 145) Bool _hx_tmp2 = (TileWidth == (int)0); HXDLIN( 145) if (_hx_tmp2) { HXLINE( 147) TileWidth = graph->height; HXLINE( 148) Bool _hx_tmp3 = (TileWidth > graph->width); HXDLIN( 148) if (_hx_tmp3) { HXLINE( 148) TileWidth = graph->width; } else { HXLINE( 148) TileWidth = TileWidth; } } HXLINE( 151) Bool _hx_tmp4 = (TileHeight == (int)0); HXDLIN( 151) if (_hx_tmp4) { HXLINE( 153) TileHeight = TileWidth; HXLINE( 154) Bool _hx_tmp5 = (TileHeight > graph->height); HXDLIN( 154) if (_hx_tmp5) { HXLINE( 154) TileHeight = graph->height; } else { HXLINE( 154) TileHeight = TileHeight; } } HXLINE( 157) HX_VARI( ::flixel::math::FlxPoint,point) = ::flixel::math::FlxPoint_obj::_pool->get()->set(TileWidth,TileHeight); HXDLIN( 157) point->_inPool = false; HXDLIN( 157) HX_VARI( ::flixel::graphics::frames::FlxTileFrames,tileFrames) = ::flixel::graphics::frames::FlxTileFrames_obj::fromGraphic(graph,point,null(),null()); HXLINE( 158) return this->loadFrames(tileFrames,Empties); }
Float Floats_obj::ceilTo(Float f,Int decimals){ HX_STACK_FRAME("thx.Floats","ceilTo",0x619f5a8d,"thx.Floats.ceilTo","thx/Floats.hx",30,0xbd451f1c) HX_STACK_ARG(f,"f") HX_STACK_ARG(decimals,"decimals") HXLINE( 31) HX_VARI( Float,p) = ::Math_obj::pow((int)10,decimals); HXLINE( 32) Float _hx_tmp = ::Math_obj::fceil((f * p)); HXDLIN( 32) return ((Float)_hx_tmp / (Float)p); }
Float FlxPrerotatedAnimation_obj::set_angle(Float Value){ HX_STACK_FRAME("flixel.animation.FlxPrerotatedAnimation","set_angle",0x23607fd0,"flixel.animation.FlxPrerotatedAnimation.set_angle","flixel/animation/FlxPrerotatedAnimation.hx",25,0x4a5f70b4) HX_STACK_THIS(this) HX_STACK_ARG(Value,"Value") HXLINE( 26) HX_VARI( Int,oldIndex) = this->curIndex; HXLINE( 27) HX_VARI( Int,angleHelper) = ::Math_obj::floor(hx::Mod(Value,(int)360)); HXLINE( 29) while((angleHelper < (int)0)){ HXLINE( 31) hx::AddEq(angleHelper,(int)360); } HXLINE( 34) Float _hx_tmp = (((Float)angleHelper / (Float)this->baked) + ((Float)0.5)); HXDLIN( 34) HX_VARI( Int,newIndex) = ::Math_obj::floor(_hx_tmp); HXLINE( 35) Int _hx_tmp1 = hx::Mod(newIndex,this->rotations); HXDLIN( 35) newIndex = ::Std_obj::_hx_int(_hx_tmp1); HXLINE( 36) if ((oldIndex != newIndex)) { HXLINE( 38) this->set_curIndex(newIndex); } HXLINE( 41) return (this->angle = Value); }
::haxe::ds::_HashMap::HashMapData HashSet_Impl__obj::create( ::Dynamic arr){ HX_STACK_FRAME("thx._HashSet.HashSet_Impl_","create",0xc3348a05,"thx._HashSet.HashSet_Impl_.create","thx/HashSet.hx",24,0x440165d5) HX_STACK_ARG(arr,"arr") HXLINE( 26) HX_VARI( ::haxe::ds::_HashMap::HashMapData,hashSet) = ::haxe::ds::_HashMap::HashMapData_obj::__new(); HXLINE( 27) if (hx::IsNotNull( arr )) { HXLINE( 28) ::thx::_HashSet::HashSet_Impl__obj::pushMany(hashSet,arr); } HXLINE( 29) return hashSet; }
void TestBitMatrix_obj::testNew(){ HX_STACK_FRAME("thx.TestBitMatrix","testNew",0x9fffc572,"thx.TestBitMatrix.testNew","thx/TestBitMatrix.hx",8,0x8eac4d4d) HX_STACK_THIS(this) HXLINE( 9) HX_VARI( ::Array< ::Dynamic>,bits) = ::thx::_BitMatrix::BitMatrix_Impl__obj::_new(null(),null()); HXLINE( 10) ::utest::Assert_obj::same((int)0,::thx::_BitMatrix::BitMatrix_Impl__obj::get_bitSetCount(bits),null(),null(),null(),hx::SourceInfo(HX_("TestBitMatrix.hx",22,f4,25,72),10,HX_("thx.TestBitMatrix",b2,02,80,8c),HX_("testNew",2e,3f,c2,bd))); HXLINE( 11) ::utest::Assert_obj::same((int)0,::thx::_BitMatrix::BitMatrix_Impl__obj::get_length(bits),null(),null(),null(),hx::SourceInfo(HX_("TestBitMatrix.hx",22,f4,25,72),11,HX_("thx.TestBitMatrix",b2,02,80,8c),HX_("testNew",2e,3f,c2,bd))); HXLINE( 13) bits = ::thx::_BitMatrix::BitMatrix_Impl__obj::_new((int)5,(int)10); HXLINE( 14) ::utest::Assert_obj::same((int)5,::thx::_BitMatrix::BitMatrix_Impl__obj::get_bitSetCount(bits),null(),null(),null(),hx::SourceInfo(HX_("TestBitMatrix.hx",22,f4,25,72),14,HX_("thx.TestBitMatrix",b2,02,80,8c),HX_("testNew",2e,3f,c2,bd))); HXLINE( 15) ::utest::Assert_obj::same((int)10,::thx::_BitMatrix::BitMatrix_Impl__obj::get_length(bits),null(),null(),null(),hx::SourceInfo(HX_("TestBitMatrix.hx",22,f4,25,72),15,HX_("thx.TestBitMatrix",b2,02,80,8c),HX_("testNew",2e,3f,c2,bd))); }
void TestIterators_obj::testEquals(){ HX_STACK_FRAME("thx.TestIterators","testEquals",0xbb05f5f6,"thx.TestIterators.testEquals","thx/TestIterators.hx",14,0x153921d6) HX_STACK_THIS(this) HXLINE( 15) HX_VARI( ::Array< Int >,a) = ::Array_obj< Int >::__new(3)->init(0,(int)1)->init(1,(int)2)->init(2,(int)3); HXDLIN( 15) HX_VARI( ::Array< Int >,b) = ::Array_obj< Int >::__new(2)->init(0,(int)1)->init(1,(int)2); HXDLIN( 15) HX_VARI( ::Array< Int >,c) = ::Array_obj< Int >::__new(3)->init(0,(int)1)->init(1,(int)2)->init(2,(int)4); HXLINE( 19) ::Dynamic _hx_tmp = a->iterator(); HXDLIN( 19) ::Dynamic _hx_tmp1 = a->iterator(); HXDLIN( 19) Bool _hx_tmp2 = ::thx::Iterators_obj::equals(_hx_tmp,_hx_tmp1,null()); HXDLIN( 19) ::utest::Assert_obj::isTrue(_hx_tmp2,null(),hx::SourceInfo(HX_("TestIterators.hx",ab,c8,b2,f8),19,HX_("thx.TestIterators",89,ee,b4,21),HX_("testEquals",31,34,e7,d8))); HXLINE( 20) ::Dynamic _hx_tmp3 = a->iterator(); HXDLIN( 20) ::Dynamic _hx_tmp4 = b->iterator(); HXDLIN( 20) Bool _hx_tmp5 = ::thx::Iterators_obj::equals(_hx_tmp3,_hx_tmp4,null()); HXDLIN( 20) ::utest::Assert_obj::isFalse(_hx_tmp5,null(),hx::SourceInfo(HX_("TestIterators.hx",ab,c8,b2,f8),20,HX_("thx.TestIterators",89,ee,b4,21),HX_("testEquals",31,34,e7,d8))); HXLINE( 21) ::Dynamic _hx_tmp6 = a->iterator(); HXDLIN( 21) ::Dynamic _hx_tmp7 = c->iterator(); HXDLIN( 21) Bool _hx_tmp8 = ::thx::Iterators_obj::equals(_hx_tmp6,_hx_tmp7,null()); HXDLIN( 21) ::utest::Assert_obj::isFalse(_hx_tmp8,null(),hx::SourceInfo(HX_("TestIterators.hx",ab,c8,b2,f8),21,HX_("thx.TestIterators",89,ee,b4,21),HX_("testEquals",31,34,e7,d8))); }
Int FlxKeyboard_obj::resolveKeyCode( ::openfl::_legacy::events::KeyboardEvent e){ HX_STACK_FRAME("flixel.input.keyboard.FlxKeyboard","resolveKeyCode",0x581c5a06,"flixel.input.keyboard.FlxKeyboard.resolveKeyCode","flixel/input/keyboard/FlxKeyboard.hx",119,0x41882875) HX_STACK_THIS(this) HX_STACK_ARG(e,"e") HXLINE( 123) ::String key = ((e->charCode + HX_("_",5f,00,00,00)) + e->keyCode); HXDLIN( 123) HX_VARI( ::Dynamic,code) = this->_nativeCorrection->get(key); HXLINE( 124) Bool _hx_tmp = hx::IsNull( code ); HXDLIN( 124) if (_hx_tmp) { HXLINE( 124) return e->keyCode; } else {
void __ASSET__flixel_sounds_flixel_ogg_obj::__construct( ::openfl::_legacy::net::URLRequest stream, ::openfl::media::SoundLoaderContext context, ::Dynamic __o_forcePlayAsMusic){ ::Dynamic forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); HX_STACK_FRAME("__ASSET__flixel_sounds_flixel_ogg","new",0xa56e6f66,"__ASSET__flixel_sounds_flixel_ogg.new","openfl/_legacy/Assets.hx",2283,0x9276b055) HX_STACK_THIS(this) HX_STACK_ARG(stream,"stream") HX_STACK_ARG(context,"context") HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic") HXLINE(2285) super::__construct(null(),null(),null()); HXLINE(2287) ::haxe::io::Bytes _hx_tmp = ::haxe::Resource_obj::getBytes(::__ASSET__flixel_sounds_flixel_ogg_obj::resourceName); HXDLIN(2287) HX_VARI( ::openfl::_legacy::utils::ByteArray,byteArray) = ::openfl::_legacy::utils::ByteArray_obj::fromBytes(_hx_tmp); HXLINE(2288) this->loadCompressedDataFromByteArray(byteArray,byteArray->length,forcePlayAsMusic); }
void RectangleTexture_obj::uploadFromBitmapData( ::openfl::_legacy::display::BitmapData bitmapData,hx::Null< Int > __o_miplevel){ Int miplevel = __o_miplevel.Default(0); HX_STACK_FRAME("openfl.display3D.textures.RectangleTexture","uploadFromBitmapData",0x711b2e49,"openfl.display3D.textures.RectangleTexture.uploadFromBitmapData","openfl/display3D/textures/RectangleTexture.hx",47,0x83565556) HX_STACK_THIS(this) HX_STACK_ARG(bitmapData,"bitmapData") HX_STACK_ARG(miplevel,"miplevel") HXLINE( 52) Int _hx_tmp = bitmapData->get_width(); HXDLIN( 52) Int _hx_tmp1 = bitmapData->get_height(); HXDLIN( 52) Bool _hx_tmp2 = bitmapData->get_transparent(); HXDLIN( 52) HX_VARI( ::openfl::_legacy::display::BitmapData,rgbaData) = ::openfl::_legacy::display::BitmapData_obj::__new(_hx_tmp,_hx_tmp1,_hx_tmp2,null(),null()); HXDLIN( 52) HX_VARI( ::openfl::_legacy::geom::Rectangle,rect) = bitmapData->get_rect(); HXDLIN( 52) HX_VARI( ::openfl::_legacy::geom::Point,point) = ::openfl::_legacy::geom::Point_obj::__new((int)0,(int)0); HXDLIN( 52) rgbaData->copyChannel(bitmapData,rect,point,(int)2,(int)1); HXDLIN( 52) rgbaData->copyChannel(bitmapData,rect,point,(int)4,(int)2); HXDLIN( 52) rgbaData->copyChannel(bitmapData,rect,point,(int)8,(int)4); HXDLIN( 52) rgbaData->copyChannel(bitmapData,rect,point,(int)1,(int)8); HXDLIN( 52) HX_VARI( ::openfl::_legacy::utils::ByteArray,p) = rgbaData->getPixels(rect); HXLINE( 57) this->width = bitmapData->get_width(); HXLINE( 58) this->height = bitmapData->get_height(); HXLINE( 60) this->uploadFromByteArray(p,(int)0); }
Bool EReg_obj::match(::String s){ HX_STACK_FRAME("EReg","match",0x18fda1a6,"EReg.match","/usr/lib/haxe/std/cpp/_std/EReg.hx",38,0x16cad931) HX_STACK_THIS(this) HX_STACK_ARG(s,"s") HXLINE( 39) HX_VARI( Bool,p) = _hx_regexp_match(this->r,s,(int)0,s.length); HXLINE( 40) if (p) { HXLINE( 41) this->last = s; } else { HXLINE( 43) this->last = null(); } HXLINE( 44) return p; }
void EReg_obj::__construct(::String r,::String opt){ HX_STACK_FRAME("EReg","new",0x8b859e81,"EReg.new","/usr/lib/haxe/std/cpp/_std/EReg.hx",30,0x16cad931) HX_STACK_THIS(this) HX_STACK_ARG(r,"r") HX_STACK_ARG(opt,"opt") HXLINE( 31) HX_VARI( ::Array< ::String >,a) = opt.split(HX_("g",67,00,00,00)); HXLINE( 32) this->global = (a->length > (int)1); HXLINE( 33) Bool _hx_tmp = this->global; HXDLIN( 33) if (_hx_tmp) { HXLINE( 34) opt = a->join(HX_("",00,00,00,00)); } HXLINE( 35) this->r = _hx_regexp_new_options(r,opt); }
void __ASSET__flixel_images_ui_button_png_obj::__construct(Int width,Int height, ::Dynamic __o_transparent, ::Dynamic __o_fillRGBA){ ::Dynamic transparent = __o_transparent.Default(true); ::Dynamic fillRGBA = __o_fillRGBA.Default(-1); HX_STACK_FRAME("__ASSET__flixel_images_ui_button_png","new",0xffee3785,"__ASSET__flixel_images_ui_button_png.new","openfl/_legacy/Assets.hx",2010,0x9276b055) HX_STACK_THIS(this) HX_STACK_ARG(width,"width") HX_STACK_ARG(height,"height") HX_STACK_ARG(transparent,"transparent") HX_STACK_ARG(fillRGBA,"fillRGBA") HXLINE(2076) super::__construct(width,height,transparent,fillRGBA,null()); HXLINE(2078) ::haxe::io::Bytes _hx_tmp = ::haxe::Resource_obj::getBytes(::__ASSET__flixel_images_ui_button_png_obj::resourceName); HXDLIN(2078) HX_VARI( ::openfl::_legacy::utils::ByteArray,byteArray) = ::openfl::_legacy::utils::ByteArray_obj::fromBytes(_hx_tmp); HXLINE(2079) this->_hx___handle = ::openfl::_legacy::display::BitmapData_obj::lime_bitmap_data_from_bytes(byteArray,null()); }
void GraphicPause_obj::__construct(Int width,Int height, ::Dynamic __o_transparent, ::Dynamic __o_fillRGBA){ ::Dynamic transparent = __o_transparent.Default(true); ::Dynamic fillRGBA = __o_fillRGBA.Default(-1); HX_STACK_FRAME("flixel.system.debug._VCR.GraphicPause","new",0x93ef75a0,"flixel.system.debug._VCR.GraphicPause.new","openfl/_legacy/Assets.hx",2010,0x9276b055) HX_STACK_THIS(this) HX_STACK_ARG(width,"width") HX_STACK_ARG(height,"height") HX_STACK_ARG(transparent,"transparent") HX_STACK_ARG(fillRGBA,"fillRGBA") HXLINE(2076) super::__construct(width,height,transparent,fillRGBA,null()); HXLINE(2078) ::haxe::io::Bytes _hx_tmp = ::haxe::Resource_obj::getBytes(::flixel::_hx_system::debug::_VCR::GraphicPause_obj::resourceName); HXDLIN(2078) HX_VARI( ::openfl::_legacy::utils::ByteArray,byteArray) = ::openfl::_legacy::utils::ByteArray_obj::fromBytes(_hx_tmp); HXLINE(2079) this->_hx___handle = ::openfl::_legacy::display::BitmapData_obj::lime_bitmap_data_from_bytes(byteArray,null()); }
void RatioScaleMode_obj::updateGameSize(Int Width,Int Height){ HX_STACK_FRAME("flixel.system.scaleModes.RatioScaleMode","updateGameSize",0xacc31ced,"flixel.system.scaleModes.RatioScaleMode.updateGameSize","flixel/system/scaleModes/RatioScaleMode.hx",20,0x35e4ce80) HX_STACK_THIS(this) HX_STACK_ARG(Width,"Width") HX_STACK_ARG(Height,"Height") HXLINE( 21) HX_VARI( Float,ratio) = ((Float)::flixel::FlxG_obj::width / (Float)::flixel::FlxG_obj::height); HXLINE( 24) HX_VARI( Bool,scaleY) = (((Float)Width / (Float)Height) < ratio); HXLINE( 25) if (this->fillScreen) { HXLINE( 27) scaleY = !(scaleY); } HXLINE( 30) if (scaleY) { HXLINE( 32) this->gameSize->set_x(Width); HXLINE( 33) Float _hx_tmp = ((Float)this->gameSize->x / (Float)ratio); HXDLIN( 33) Int _hx_tmp1 = ::Math_obj::floor(_hx_tmp); HXDLIN( 33) this->gameSize->set_y(_hx_tmp1); } else { HXLINE( 37) this->gameSize->set_y(Height); HXLINE( 38) Float _hx_tmp2 = (this->gameSize->y * ratio); HXDLIN( 38) Int _hx_tmp3 = ::Math_obj::floor(_hx_tmp2); HXDLIN( 38) this->gameSize->set_x(_hx_tmp3); } }
Int FlxSort_obj::byValues(Int Order,Float Value1,Float Value2){ HX_STACK_FRAME("flixel.util.FlxSort","byValues",0xe62fb2d1,"flixel.util.FlxSort.byValues","flixel/util/FlxSort.hx",25,0x198bbf28) HX_STACK_ARG(Order,"Order") HX_STACK_ARG(Value1,"Value1") HX_STACK_ARG(Value2,"Value2") HXLINE( 26) HX_VARI( Int,result) = (int)0; HXLINE( 28) if ((Value1 < Value2)) { HXLINE( 30) result = Order; } else { HXLINE( 32) if ((Value1 > Value2)) { HXLINE( 34) result = -(Order); } } HXLINE( 37) return result; }
Float Floats_obj::angleDifference(Float a,Float b, ::Dynamic __o_turn){ ::Dynamic turn = __o_turn.Default(((Float)360.0)); HX_STACK_FRAME("thx.Floats","angleDifference",0x9806e563,"thx.Floats.angleDifference","thx/Floats.hx",18,0xbd451f1c) HX_STACK_ARG(a,"a") HX_STACK_ARG(b,"b") HX_STACK_ARG(turn,"turn") HXLINE( 19) HX_VARI( Float,r) = hx::Mod((b - a),turn); HXLINE( 20) Bool _hx_tmp = (r < (int)0); HXDLIN( 20) if (_hx_tmp) { HXLINE( 21) hx::AddEq(r,turn); } HXLINE( 22) Bool _hx_tmp1 = (r > ((Float)turn / (Float)(int)2)); HXDLIN( 22) if (_hx_tmp1) { HXLINE( 23) hx::SubEq(r,turn); } HXLINE( 24) return r; }
void FlxPool_flixel_util_LabelValuePair_obj::put( ::flixel::util::LabelValuePair obj){ HX_STACK_FRAME("flixel.util.FlxPool_flixel_util_LabelValuePair","put",0x9e8d6fbd,"flixel.util.FlxPool_flixel_util_LabelValuePair.put","flixel/util/FlxPool.hx",42,0xdd4de86a) HX_STACK_THIS(this) HX_STACK_ARG(obj,"obj") HXLINE( 42) Bool _hx_tmp = hx::IsNotNull( obj ); HXDLIN( 42) if (_hx_tmp) { HXLINE( 44) HX_VARI( Int,i) = this->_pool->indexOf(obj,null()); HXLINE( 46) Bool _hx_tmp1; HXDLIN( 46) if ((i != (int)-1)) { HXLINE( 46) _hx_tmp1 = (i >= this->_count); } else { HXLINE( 46) _hx_tmp1 = true; } HXDLIN( 46) if (_hx_tmp1) { HXLINE( 48) obj->destroy(); HXLINE( 49) this->_pool[this->_count++] = obj; } } }
void BaseScaleMode_obj::updateOffsetX() { HX_STACK_FRAME("flixel.system.scaleModes.BaseScaleMode","updateOffsetX",0xcbc7256f,"flixel.system.scaleModes.BaseScaleMode.updateOffsetX","flixel/system/scaleModes/BaseScaleMode.hx",57,0x5a3188fe) HX_STACK_THIS(this) HXLINE( 57) HX_VARI( ::hx::EnumBase,_g) = this->horizontalAlign; HXDLIN( 57) Float _hx_tmp; HXDLIN( 57) Int _hx_tmp1 = ( ( ::hx::EnumBase)(_g) )->_hx_getIndex(); HXDLIN( 57) switch((int)(_hx_tmp1)) { case (int)0: { HXLINE( 57) _hx_tmp = (int)0; } break; case (int)1: { HXLINE( 62) Float _hx_tmp2 = ((this->deviceSize->x - this->gameSize->x) * ((Float)0.5)); HXLINE( 57) _hx_tmp = ::Math_obj::ceil(_hx_tmp2); } break; case (int)2: { HXLINE( 57) _hx_tmp = (this->deviceSize->x - this->gameSize->x); } break; } HXDLIN( 57) this->offset->set_x(_hx_tmp); }
void BaseScaleMode_obj::updateOffsetY() { HX_STACK_FRAME("flixel.system.scaleModes.BaseScaleMode","updateOffsetY",0xcbc72570,"flixel.system.scaleModes.BaseScaleMode.updateOffsetY","flixel/system/scaleModes/BaseScaleMode.hx",70,0x5a3188fe) HX_STACK_THIS(this) HXLINE( 70) HX_VARI( ::hx::EnumBase,_g) = this->verticalAlign; HXDLIN( 70) Float _hx_tmp; HXDLIN( 70) Int _hx_tmp1 = ( ( ::hx::EnumBase)(_g) )->_hx_getIndex(); HXDLIN( 70) switch((int)(_hx_tmp1)) { case (int)0: { HXLINE( 70) _hx_tmp = (int)0; } break; case (int)1: { HXLINE( 75) Float _hx_tmp2 = ((this->deviceSize->y - this->gameSize->y) * ((Float)0.5)); HXLINE( 70) _hx_tmp = ::Math_obj::ceil(_hx_tmp2); } break; case (int)2: { HXLINE( 70) _hx_tmp = (this->deviceSize->y - this->gameSize->y); } break; } HXDLIN( 70) this->offset->set_y(_hx_tmp); }
Bool TS5_obj::main(){ HX_STACK_FRAME("test.TS5","main",0xae7a756d,"test.TS5.main","test/TS5.hx",11,0x15509a05) HXLINE( 12) HX_VARI( ::nanotest::NanoTestRunner,runner) = ::nanotest::NanoTestRunner_obj::__new(null()); HXLINE( 25) runner->add( ::test::TestConverters_obj::__new()); HXLINE( 37) return runner->run(); }