text: #include <hxcpp.h>
  
  #ifndef INCLUDED_95f339a1d026d52c
  #define INCLUDED_95f339a1d026d52c
  #include "hxMath.h"
  #endif
  #ifndef INCLUDED_Std
  #include <Std.h>
  #endif
  #ifndef INCLUDED_flixel_FlxBasic
  #include <flixel/FlxBasic.h>
  #endif
  #ifndef INCLUDED_flixel_FlxCamera
  #include <flixel/FlxCamera.h>
  #endif
  #ifndef INCLUDED_flixel_FlxCameraFollowStyle
  #include <flixel/FlxCameraFollowStyle.h>
  #endif
  #ifndef INCLUDED_flixel_FlxG
  #include <flixel/FlxG.h>
  #endif
  #ifndef INCLUDED_flixel_FlxObject
  #include <flixel/FlxObject.h>
  #endif
  #ifndef INCLUDED_flixel_FlxSprite
  #include <flixel/FlxSprite.h>
  #endif
  #ifndef INCLUDED_flixel_graphics_FlxGraphic
  #include <flixel/graphics/FlxGraphic.h>
  #endif
  #ifndef INCLUDED_flixel_graphics_frames_FlxFrame
  #include <flixel/graphics/frames/FlxFrame.h>
  #endif
  #ifndef INCLUDED_flixel_graphics_tile_FlxDrawBaseItem
  #include <flixel/graphics/tile/FlxDrawBaseItem.h>
  #endif
  #ifndef INCLUDED_flixel_graphics_tile_FlxDrawItemType
  #include <flixel/graphics/tile/FlxDrawItemType.h>
  #endif
  #ifndef INCLUDED_flixel_graphics_tile_FlxDrawQuadsItem
  #include <flixel/graphics/tile/FlxDrawQuadsItem.h>
  #endif
  #ifndef INCLUDED_flixel_graphics_tile_FlxDrawTrianglesItem
  #include <flixel/graphics/tile/FlxDrawTrianglesItem.h>
  #endif
  #ifndef INCLUDED_flixel_graphics_tile_FlxGraphicsShader
  #include <flixel/graphics/tile/FlxGraphicsShader.h>
  #endif
  #ifndef INCLUDED_flixel_math_FlxMatrix
  #include <flixel/math/FlxMatrix.h>
  #endif
  #ifndef INCLUDED_flixel_math_FlxPoint
  #include <flixel/math/FlxPoint.h>
  #endif
  #ifndef INCLUDED_flixel_math_FlxRandom
  #include <flixel/math/FlxRandom.h>
  #endif
  #ifndef INCLUDED_flixel_math_FlxRect
  #include <flixel/math/FlxRect.h>
  #endif
  #ifndef INCLUDED_flixel_system_frontEnds_BitmapFrontEnd
  #include <flixel/system/frontEnds/BitmapFrontEnd.h>
  #endif
  #ifndef INCLUDED_flixel_system_frontEnds_CameraFrontEnd
  #include <flixel/system/frontEnds/CameraFrontEnd.h>
  #endif
  #ifndef INCLUDED_flixel_system_scaleModes_BaseScaleMode
  #include <flixel/system/scaleModes/BaseScaleMode.h>
  #endif
  #ifndef INCLUDED_flixel_util_FlxAxes
  #include <flixel/util/FlxAxes.h>
  #endif
  #ifndef INCLUDED_flixel_util_FlxColorTransformUtil
  #include <flixel/util/FlxColorTransformUtil.h>
  #endif
  #ifndef INCLUDED_flixel_util_FlxDestroyUtil
  #include <flixel/util/FlxDestroyUtil.h>
  #endif
  #ifndef INCLUDED_flixel_util_FlxPool_flixel_math_FlxPoint
  #include <flixel/util/FlxPool_flixel_math_FlxPoint.h>
  #endif
  #ifndef INCLUDED_flixel_util_FlxPool_flixel_math_FlxRect
  #include <flixel/util/FlxPool_flixel_math_FlxRect.h>
  #endif
  #ifndef INCLUDED_flixel_util_IFlxDestroyable
  #include <flixel/util/IFlxDestroyable.h>
  #endif
  #ifndef INCLUDED_flixel_util_IFlxPool
  #include <flixel/util/IFlxPool.h>
  #endif
  #ifndef INCLUDED_flixel_util_IFlxPooled
  #include <flixel/util/IFlxPooled.h>
  #endif
  #ifndef INCLUDED_flixel_util_IFlxSignal
  #include <flixel/util/IFlxSignal.h>
  #endif
  #ifndef INCLUDED_flixel_util__FlxSignal_FlxBaseSignal
  #include <flixel/util/_FlxSignal/FlxBaseSignal.h>
  #endif
  #ifndef INCLUDED_flixel_util__FlxSignal_FlxSignal1
  #include <flixel/util/_FlxSignal/FlxSignal1.h>
  #endif
  #ifndef INCLUDED_openfl__Vector_FloatVector
  #include <openfl/_Vector/FloatVector.h>
  #endif
  #ifndef INCLUDED_openfl__Vector_IVector
  #include <openfl/_Vector/IVector.h>
  #endif
  #ifndef INCLUDED_openfl__Vector_IntVector
  #include <openfl/_Vector/IntVector.h>
  #endif
  #ifndef INCLUDED_openfl_display_Bitmap
  #include <openfl/display/Bitmap.h>
  #endif
  #ifndef INCLUDED_openfl_display_BitmapData
  #include <openfl/display/BitmapData.h>
  #endif
  #ifndef INCLUDED_openfl_display_DisplayObject
  #include <openfl/display/DisplayObject.h>
  #endif
  #ifndef INCLUDED_openfl_display_DisplayObjectContainer
  #include <openfl/display/DisplayObjectContainer.h>
  #endif
  #ifndef INCLUDED_openfl_display_Graphics
  #include <openfl/display/Graphics.h>
  #endif
  #ifndef INCLUDED_openfl_display_GraphicsShader
  #include <openfl/display/GraphicsShader.h>
  #endif
  #ifndef INCLUDED_openfl_display_IBitmapDrawable
  #include <openfl/display/IBitmapDrawable.h>
  #endif
  #ifndef INCLUDED_openfl_display_InteractiveObject
  #include <openfl/display/InteractiveObject.h>
  #endif
  #ifndef INCLUDED_openfl_display_Shader
  #include <openfl/display/Shader.h>
  #endif
  #ifndef INCLUDED_openfl_display_Sprite
  #include <openfl/display/Sprite.h>
  #endif
  #ifndef INCLUDED_openfl_events_EventDispatcher
  #include <openfl/events/EventDispatcher.h>
  #endif
  #ifndef INCLUDED_openfl_events_IEventDispatcher
  #include <openfl/events/IEventDispatcher.h>
  #endif
  #ifndef INCLUDED_openfl_filters_BitmapFilter
  #include <openfl/filters/BitmapFilter.h>
  #endif
  #ifndef INCLUDED_openfl_geom_ColorTransform
  #include <openfl/geom/ColorTransform.h>
  #endif
  #ifndef INCLUDED_openfl_geom_Matrix
  #include <openfl/geom/Matrix.h>
  #endif
  #ifndef INCLUDED_openfl_geom_Point
  #include <openfl/geom/Point.h>
  #endif
  #ifndef INCLUDED_openfl_geom_Rectangle
  #include <openfl/geom/Rectangle.h>
  #endif
  #ifndef INCLUDED_openfl_geom_Transform
  #include <openfl/geom/Transform.h>
  #endif
  
  HX_DEFINE_STACK_FRAME(_hx_pos_d1aae230bd422321_45_new,"flixel.FlxCamera","new",0x0e8a9f77,"flixel.FlxCamera.new","flixel/FlxCamera.hx",45,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_526_startQuadBatch,"flixel.FlxCamera","startQuadBatch",0xe17326fa,"flixel.FlxCamera.startQuadBatch","flixel/FlxCamera.hx",526,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_587_startTrianglesBatch,"flixel.FlxCamera","startTrianglesBatch",0xb3a3b828,"flixel.FlxCamera.startTrianglesBatch","flixel/FlxCamera.hx",587,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_605_getNewDrawTrianglesItem,"flixel.FlxCamera","getNewDrawTrianglesItem",0xcd894887,"flixel.FlxCamera.getNewDrawTrianglesItem","flixel/FlxCamera.hx",605,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_646_clearDrawStack,"flixel.FlxCamera","clearDrawStack",0x8d7c5ba0,"flixel.FlxCamera.clearDrawStack","flixel/FlxCamera.hx",646,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_679_render,"flixel.FlxCamera","render",0x1f11e49f,"flixel.FlxCamera.render","flixel/FlxCamera.hx",679,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_691_drawPixels,"flixel.FlxCamera","drawPixels",0x80c6bc1a,"flixel.FlxCamera.drawPixels","flixel/FlxCamera.hx",691,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_723_copyPixels,"flixel.FlxCamera","copyPixels",0xf4c7a68b,"flixel.FlxCamera.copyPixels","flixel/FlxCamera.hx",723,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_767_drawTriangles,"flixel.FlxCamera","drawTriangles",0x78d375de,"flixel.FlxCamera.drawTriangles","flixel/FlxCamera.hx",767,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_855_transformRect,"flixel.FlxCamera","transformRect",0x135ffe87,"flixel.FlxCamera.transformRect","flixel/FlxCamera.hx",855,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_878_transformPoint,"flixel.FlxCamera","transformPoint",0xc072398d,"flixel.FlxCamera.transformPoint","flixel/FlxCamera.hx",878,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_896_transformVector,"flixel.FlxCamera","transformVector",0x43afc0e6,"flixel.FlxCamera.transformVector","flixel/FlxCamera.hx",896,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_911_transformObject,"flixel.FlxCamera","transformObject",0xc1918ee2,"flixel.FlxCamera.transformObject","flixel/FlxCamera.hx",911,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_989_destroy,"flixel.FlxCamera","destroy",0xb607d391,"flixel.FlxCamera.destroy","flixel/FlxCamera.hx",989,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1048_update,"flixel.FlxCamera","update",0xa0edff52,"flixel.FlxCamera.update","flixel/FlxCamera.hx",1048,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1070_updateScroll,"flixel.FlxCamera","updateScroll",0x3fd094ff,"flixel.FlxCamera.updateScroll","flixel/FlxCamera.hx",1070,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1092_updateFollow,"flixel.FlxCamera","updateFollow",0xf2024e63,"flixel.FlxCamera.updateFollow","flixel/FlxCamera.hx",1092,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1177_updateFlash,"flixel.FlxCamera","updateFlash",0x43f2dcfe,"flixel.FlxCamera.updateFlash","flixel/FlxCamera.hx",1177,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1188_updateFade,"flixel.FlxCamera","updateFade",0xaec3f1ee,"flixel.FlxCamera.updateFade","flixel/FlxCamera.hx",1188,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1213_completeFade,"flixel.FlxCamera","completeFade",0xb02048de,"flixel.FlxCamera.completeFade","flixel/FlxCamera.hx",1213,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1221_updateShake,"flixel.FlxCamera","updateShake",0xbd838614,"flixel.FlxCamera.updateShake","flixel/FlxCamera.hx",1221,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1251_updateFlashSpritePosition,"flixel.FlxCamera","updateFlashSpritePosition",0x5aef376c,"flixel.FlxCamera.updateFlashSpritePosition","flixel/FlxCamera.hx",1251,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1263_updateFlashOffset,"flixel.FlxCamera","updateFlashOffset",0x0e9fbb31,"flixel.FlxCamera.updateFlashOffset","flixel/FlxCamera.hx",1263,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1277_updateScrollRect,"flixel.FlxCamera","updateScrollRect",0xbf58f9c3,"flixel.FlxCamera.updateScrollRect","flixel/FlxCamera.hx",1277,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1302_updateInternalSpritePositions,"flixel.FlxCamera","updateInternalSpritePositions",0x7d5baef6,"flixel.FlxCamera.updateInternalSpritePositions","flixel/FlxCamera.hx",1302,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1344_follow,"flixel.FlxCamera","follow",0x137f0aba,"flixel.FlxCamera.follow","flixel/FlxCamera.hx",1344,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1395_snapToTarget,"flixel.FlxCamera","snapToTarget",0x8eeb1d9f,"flixel.FlxCamera.snapToTarget","flixel/FlxCamera.hx",1395,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1406_focusOn,"flixel.FlxCamera","focusOn",0xd304f1ae,"flixel.FlxCamera.focusOn","flixel/FlxCamera.hx",1406,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1420_flash,"flixel.FlxCamera","flash",0x27663887,"flixel.FlxCamera.flash","flixel/FlxCamera.hx",1420,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1442_fade,"flixel.FlxCamera","fade",0xa5741a85,"flixel.FlxCamera.fade","flixel/FlxCamera.hx",1442,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1469_shake,"flixel.FlxCamera","shake",0xa0f6e19d,"flixel.FlxCamera.shake","flixel/FlxCamera.hx",1469,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1486_stopFX,"flixel.FlxCamera","stopFX",0x29222b1d,"flixel.FlxCamera.stopFX","flixel/FlxCamera.hx",1486,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1498_setFilters,"flixel.FlxCamera","setFilters",0x0e7f1802,"flixel.FlxCamera.setFilters","flixel/FlxCamera.hx",1498,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1508_copyFrom,"flixel.FlxCamera","copyFrom",0x88512948,"flixel.FlxCamera.copyFrom","flixel/FlxCamera.hx",1508,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1539_fill,"flixel.FlxCamera","fill",0xa57a338c,"flixel.FlxCamera.fill","flixel/FlxCamera.hx",1539,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1571_drawFX,"flixel.FlxCamera","drawFX",0xf9beeb9f,"flixel.FlxCamera.drawFX","flixel/FlxCamera.hx",1571,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1608_checkResize,"flixel.FlxCamera","checkResize",0x465b6af3,"flixel.FlxCamera.checkResize","flixel/FlxCamera.hx",1608,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1629_updateBlitMatrix,"flixel.FlxCamera","updateBlitMatrix",0x8e139648,"flixel.FlxCamera.updateBlitMatrix","flixel/FlxCamera.hx",1629,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1644_setSize,"flixel.FlxCamera","setSize",0xa359881a,"flixel.FlxCamera.setSize","flixel/FlxCamera.hx",1644,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1657_setPosition,"flixel.FlxCamera","setPosition",0x5729a882,"flixel.FlxCamera.setPosition","flixel/FlxCamera.hx",1657,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1672_setScrollBoundsRect,"flixel.FlxCamera","setScrollBoundsRect",0xd34a357f,"flixel.FlxCamera.setScrollBoundsRect","flixel/FlxCamera.hx",1672,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1691_setScrollBounds,"flixel.FlxCamera","setScrollBounds",0x4d9242bb,"flixel.FlxCamera.setScrollBounds","flixel/FlxCamera.hx",1691,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1707_setScale,"flixel.FlxCamera","setScale",0x46f35511,"flixel.FlxCamera.setScale","flixel/FlxCamera.hx",1707,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1744_onResize,"flixel.FlxCamera","onResize",0xa8186dfc,"flixel.FlxCamera.onResize","flixel/FlxCamera.hx",1744,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1756_containsPoint,"flixel.FlxCamera","containsPoint",0x2d56eb88,"flixel.FlxCamera.containsPoint","flixel/FlxCamera.hx",1756,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1761_set_followLerp,"flixel.FlxCamera","set_followLerp",0xf2f9b78e,"flixel.FlxCamera.set_followLerp","flixel/FlxCamera.hx",1761,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1765_set_width,"flixel.FlxCamera","set_width",0x2386b8c0,"flixel.FlxCamera.set_width","flixel/FlxCamera.hx",1765,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1780_set_height,"flixel.FlxCamera","set_height",0xa8aa67ed,"flixel.FlxCamera.set_height","flixel/FlxCamera.hx",1780,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1795_set_zoom,"flixel.FlxCamera","set_zoom",0x3f00d599,"flixel.FlxCamera.set_zoom","flixel/FlxCamera.hx",1795,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1802_set_alpha,"flixel.FlxCamera","set_alpha",0x7abaaa18,"flixel.FlxCamera.set_alpha","flixel/FlxCamera.hx",1802,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1816_set_angle,"flixel.FlxCamera","set_angle",0x7c06468d,"flixel.FlxCamera.set_angle","flixel/FlxCamera.hx",1816,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1823_set_color,"flixel.FlxCamera","set_color",0xa380741d,"flixel.FlxCamera.set_color","flixel/FlxCamera.hx",1823,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1857_set_antialiasing,"flixel.FlxCamera","set_antialiasing",0x0f9a3f7a,"flixel.FlxCamera.set_antialiasing","flixel/FlxCamera.hx",1857,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1867_set_x,"flixel.FlxCamera","set_x",0x9f099e32,"flixel.FlxCamera.set_x","flixel/FlxCamera.hx",1867,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1874_set_y,"flixel.FlxCamera","set_y",0x9f099e33,"flixel.FlxCamera.set_y","flixel/FlxCamera.hx",1874,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1881_set_visible,"flixel.FlxCamera","set_visible",0x8f5a1dac,"flixel.FlxCamera.set_visible","flixel/FlxCamera.hx",1881,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1890_calcOffsetX,"flixel.FlxCamera","calcOffsetX",0xcf19c367,"flixel.FlxCamera.calcOffsetX","flixel/FlxCamera.hx",1890,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1897_calcOffsetY,"flixel.FlxCamera","calcOffsetY",0xcf19c368,"flixel.FlxCamera.calcOffsetY","flixel/FlxCamera.hx",1897,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1905_get_defaultCameras,"flixel.FlxCamera","get_defaultCameras",0xe32986ff,"flixel.FlxCamera.get_defaultCameras","flixel/FlxCamera.hx",1905,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_1910_set_defaultCameras,"flixel.FlxCamera","set_defaultCameras",0xbfd8b973,"flixel.FlxCamera.set_defaultCameras","flixel/FlxCamera.hx",1910,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_509_boot,"flixel.FlxCamera","boot",0xa2d9e93b,"flixel.FlxCamera.boot","flixel/FlxCamera.hx",509,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_514_boot,"flixel.FlxCamera","boot",0xa2d9e93b,"flixel.FlxCamera.boot","flixel/FlxCamera.hx",514,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_520_boot,"flixel.FlxCamera","boot",0xa2d9e93b,"flixel.FlxCamera.boot","flixel/FlxCamera.hx",520,0xe7aeb95a)
  HX_LOCAL_STACK_FRAME(_hx_pos_d1aae230bd422321_522_boot,"flixel.FlxCamera","boot",0xa2d9e93b,"flixel.FlxCamera.boot","flixel/FlxCamera.hx",522,0xe7aeb95a)
  namespace flixel{
  
  void FlxCamera_obj::__construct(::hx::Null< int >  __o_X,::hx::Null< int >  __o_Y,::hx::Null< int >  __o_Width,::hx::Null< int >  __o_Height,::hx::Null< Float >  __o_Zoom){
              		int X = __o_X.Default(0);
              		int Y = __o_Y.Default(0);
              		int Width = __o_Width.Default(0);
              		int Height = __o_Height.Default(0);
              		Float Zoom = __o_Zoom.Default(0);
              	HX_GC_STACKFRAME(&_hx_pos_d1aae230bd422321_45_new)
  HXLINE( 474)		this->_helperPoint =  ::openfl::geom::Point_obj::__alloc( HX_CTX ,null(),null());
  HXLINE( 472)		this->_helperMatrix =  ::flixel::math::FlxMatrix_obj::__alloc( HX_CTX ,null(),null(),null(),null(),null(),null());
  HXLINE( 452)		 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN( 452)		_this->x = ( (Float)(0) );
  HXDLIN( 452)		_this->y = ( (Float)(0) );
  HXDLIN( 452)		_this->width = ( (Float)(0) );
  HXDLIN( 452)		_this->height = ( (Float)(0) );
  HXDLIN( 452)		_this->_inPool = false;
  HXDLIN( 452)		this->_bounds = _this;
  HXLINE( 447)		this->_scrollRect =  ::openfl::display::Sprite_obj::__alloc( HX_CTX );
  HXLINE( 426)		this->initialZoom = ((Float)1);
  HXLINE( 416)		 ::flixel::math::FlxPoint point = ::flixel::math::FlxPoint_obj::_pool->get()->set(( (Float)(0) ),( (Float)(0) ));
  HXDLIN( 416)		point->_inPool = false;
  HXDLIN( 416)		this->_point = point;
  HXLINE( 411)		this->_fxShakeAxes = ::flixel::util::FlxAxes_obj::XY_dyn();
  HXLINE( 401)		this->_fxShakeDuration = ((Float)0);
  HXLINE( 396)		this->_fxShakeIntensity = ((Float)0);
  HXLINE( 391)		this->_fxFadeAlpha = ((Float)0);
  HXLINE( 385)		this->_fxFadeCompleted = true;
  HXLINE( 380)		this->_fxFadeComplete = null();
  HXLINE( 375)		this->_fxFadeIn = false;
  HXLINE( 369)		this->_fxFadeDuration = ((Float)0);
  HXLINE( 364)		 ::flixel::math::FlxPoint point1 = ::flixel::math::FlxPoint_obj::_pool->get()->set(( (Float)(0) ),( (Float)(0) ));
  HXDLIN( 364)		point1->_inPool = false;
  HXDLIN( 364)		this->_scrollTarget = point1;
  HXLINE( 354)		this->_fxFadeColor = 0;
  HXLINE( 349)		this->_fxFlashAlpha = ((Float)0);
  HXLINE( 344)		this->_fxFlashComplete = null();
  HXLINE( 339)		this->_fxFlashDuration = ((Float)0);
  HXLINE( 334)		this->_fxFlashColor = 0;
  HXLINE( 329)		 ::flixel::math::FlxPoint point2 = ::flixel::math::FlxPoint_obj::_pool->get()->set(( (Float)(0) ),( (Float)(0) ));
  HXDLIN( 329)		point2->_inPool = false;
  HXDLIN( 329)		this->_flashOffset = point2;
  HXLINE( 320)		this->_flashPoint =  ::openfl::geom::Point_obj::__alloc( HX_CTX ,null(),null());
  HXLINE( 305)		this->filtersEnabled = true;
  HXLINE( 300)		 ::flixel::math::FlxPoint point3 = ::flixel::math::FlxPoint_obj::_pool->get()->set(( (Float)(0) ),( (Float)(0) ));
  HXDLIN( 300)		point3->_inPool = false;
  HXDLIN( 300)		this->followLead = point3;
  HXLINE( 295)		this->antialiasing = false;
  HXLINE( 289)		this->color = -1;
  HXLINE( 284)		this->angle = ((Float)0);
  HXLINE( 279)		this->alpha = ((Float)1);
  HXLINE( 274)		this->_useBlitMatrix = false;
  HXLINE( 269)		this->_blitMatrix =  ::flixel::math::FlxMatrix_obj::__alloc( HX_CTX ,null(),null(),null(),null(),null(),null());
  HXLINE( 263)		this->viewHeight = ((Float)0);
  HXLINE( 261)		this->viewWidth = ((Float)0);
  HXLINE( 256)		this->viewOffsetHeight = ((Float)0);
  HXLINE( 254)		this->viewOffsetWidth = ((Float)0);
  HXLINE( 248)		this->viewOffsetY = ((Float)0);
  HXLINE( 246)		this->viewOffsetX = ((Float)0);
  HXLINE( 234)		this->height = 0;
  HXLINE( 229)		this->width = 0;
  HXLINE( 216)		this->flashSprite =  ::openfl::display::Sprite_obj::__alloc( HX_CTX );
  HXLINE( 206)		this->useBgAlphaBlending = false;
  HXLINE( 171)		 ::flixel::math::FlxPoint point4 = ::flixel::math::FlxPoint_obj::_pool->get()->set(( (Float)(0) ),( (Float)(0) ));
  HXDLIN( 171)		point4->_inPool = false;
  HXDLIN( 171)		this->scroll = point4;
  HXLINE( 135)		this->followLerp = (( (Float)(60) ) / ( (Float)(::flixel::FlxG_obj::updateFramerate) ));
  HXLINE( 127)		 ::flixel::math::FlxPoint point5 = ::flixel::math::FlxPoint_obj::_pool->get()->set(( (Float)(0) ),( (Float)(0) ));
  HXDLIN( 127)		point5->_inPool = false;
  HXDLIN( 127)		this->targetOffset = point5;
  HXLINE( 102)		this->scaleY = ((Float)0);
  HXLINE(  96)		this->scaleX = ((Float)0);
  HXLINE(  90)		this->y = ((Float)0);
  HXLINE(  83)		this->x = ((Float)0);
  HXLINE( 936)		super::__construct();
  HXLINE( 938)		this->set_x(( (Float)(X) ));
  HXLINE( 939)		this->set_y(( (Float)(Y) ));
  HXLINE( 942)		int _hx_tmp;
  HXDLIN( 942)		if ((Width <= 0)) {
  HXLINE( 942)			_hx_tmp = ::flixel::FlxG_obj::width;
              		}
              		else {
  HXLINE( 942)			_hx_tmp = Width;
              		}
  HXDLIN( 942)		this->set_width(_hx_tmp);
  HXLINE( 943)		int _hx_tmp1;
  HXDLIN( 943)		if ((Height <= 0)) {
  HXLINE( 943)			_hx_tmp1 = ::flixel::FlxG_obj::height;
              		}
              		else {
  HXLINE( 943)			_hx_tmp1 = Height;
              		}
  HXDLIN( 943)		this->set_height(_hx_tmp1);
  HXLINE( 944)		this->_flashRect =  ::openfl::geom::Rectangle_obj::__alloc( HX_CTX ,0,0,this->width,this->height);
  HXLINE( 946)		this->flashSprite->addChild(this->_scrollRect);
  HXLINE( 947)		 ::openfl::display::Sprite _hx_tmp2 = this->_scrollRect;
  HXDLIN( 947)		_hx_tmp2->set_scrollRect( ::openfl::geom::Rectangle_obj::__alloc( HX_CTX ,null(),null(),null(),null()));
  HXLINE( 949)		this->pixelPerfectRender = ::flixel::FlxG_obj::renderBlit;
  HXLINE( 951)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 953)			this->screen =  ::flixel::FlxSprite_obj::__alloc( HX_CTX ,null(),null(),null());
  HXLINE( 954)			this->buffer =  ::openfl::display::BitmapData_obj::__alloc( HX_CTX ,this->width,this->height,true,0);
  HXLINE( 955)			this->screen->set_pixels(this->buffer);
  HXLINE( 956)			this->screen->origin->set(null(),null());
  HXLINE( 957)			this->_flashBitmap =  ::openfl::display::Bitmap_obj::__alloc( HX_CTX ,this->buffer,null(),null());
  HXLINE( 958)			this->_scrollRect->addChild(this->_flashBitmap);
  HXLINE( 959)			this->_fill =  ::openfl::display::BitmapData_obj::__alloc( HX_CTX ,this->width,this->height,true,0);
              		}
              		else {
  HXLINE( 963)			this->canvas =  ::openfl::display::Sprite_obj::__alloc( HX_CTX );
  HXLINE( 964)			this->_scrollRect->addChild(this->canvas);
              		}
  HXLINE( 972)		this->set_color(-1);
  HXLINE( 974)		Float _hx_tmp3;
  HXDLIN( 974)		if ((Zoom == 0)) {
  HXLINE( 974)			_hx_tmp3 = ::flixel::FlxCamera_obj::defaultZoom;
              		}
              		else {
  HXLINE( 974)			_hx_tmp3 = Zoom;
              		}
  HXDLIN( 974)		this->initialZoom = _hx_tmp3;
  HXLINE( 975)		this->set_zoom(Zoom);
  HXLINE( 977)		this->updateScrollRect();
  HXLINE( 978)		this->updateFlashOffset();
  HXLINE( 979)		this->updateFlashSpritePosition();
  HXLINE( 980)		this->updateInternalSpritePositions();
  HXLINE( 982)		this->bgColor = ::flixel::FlxG_obj::cameras->get_bgColor();
              	}
  
  Dynamic FlxCamera_obj::__CreateEmpty() { return new FlxCamera_obj; }
  
  void *FlxCamera_obj::_hx_vtable = 0;
  
  Dynamic FlxCamera_obj::__Create(::hx::DynamicArray inArgs)
  {
  	::hx::ObjectPtr< FlxCamera_obj > _hx_result = new FlxCamera_obj();
  	_hx_result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]);
  	return _hx_result;
  }
  
  bool FlxCamera_obj::_hx_isInstanceOf(int inClassId) {
  	if (inClassId<=(int)0x1ff7ce3b) {
  		return inClassId==(int)0x00000001 || inClassId==(int)0x1ff7ce3b;
  	} else {
  		return inClassId==(int)0x7ccf8994;
  	}
  }
  
   ::flixel::graphics::tile::FlxDrawQuadsItem FlxCamera_obj::startQuadBatch( ::flixel::graphics::FlxGraphic graphic,bool colored,::hx::Null< bool >  __o_hasColorOffsets, ::Dynamic blend,::hx::Null< bool >  __o_smooth, ::flixel::graphics::tile::FlxGraphicsShader shader){
              		bool hasColorOffsets = __o_hasColorOffsets.Default(false);
              		bool smooth = __o_smooth.Default(false);
              	HX_GC_STACKFRAME(&_hx_pos_d1aae230bd422321_526_startQuadBatch)
  HXLINE( 530)		 ::flixel::graphics::tile::FlxDrawQuadsItem itemToReturn = null();
  HXLINE( 531)		int blendInt = ::flixel::graphics::tile::FlxDrawBaseItem_obj::blendToInt(blend);
  HXLINE( 533)		bool _hx_tmp;
  HXDLIN( 533)		bool _hx_tmp1;
  HXDLIN( 533)		bool _hx_tmp2;
  HXDLIN( 533)		bool _hx_tmp3;
  HXDLIN( 533)		bool _hx_tmp4;
  HXDLIN( 533)		bool _hx_tmp5;
  HXDLIN( 533)		bool _hx_tmp6;
  HXDLIN( 533)		bool _hx_tmp7;
  HXDLIN( 533)		if (::hx::IsNotNull( this->_currentDrawItem )) {
  HXLINE( 533)			_hx_tmp7 = ::hx::IsPointerEq( this->_currentDrawItem->type,::flixel::graphics::tile::FlxDrawItemType_obj::TILES_dyn() );
              		}
              		else {
  HXLINE( 533)			_hx_tmp7 = false;
              		}
  HXDLIN( 533)		if (_hx_tmp7) {
  HXLINE( 533)			_hx_tmp6 = ::hx::IsInstanceEq( this->_headTiles->graphics,graphic );
              		}
              		else {
  HXLINE( 533)			_hx_tmp6 = false;
              		}
  HXDLIN( 533)		if (_hx_tmp6) {
  HXLINE( 533)			_hx_tmp5 = (this->_headTiles->colored == colored);
              		}
              		else {
  HXLINE( 533)			_hx_tmp5 = false;
              		}
  HXDLIN( 533)		if (_hx_tmp5) {
  HXLINE( 533)			_hx_tmp4 = (this->_headTiles->hasColorOffsets == hasColorOffsets);
              		}
              		else {
  HXLINE( 533)			_hx_tmp4 = false;
              		}
  HXDLIN( 533)		if (_hx_tmp4) {
  HXLINE( 533)			_hx_tmp3 = (this->_headTiles->blending == blendInt);
              		}
              		else {
  HXLINE( 533)			_hx_tmp3 = false;
              		}
  HXDLIN( 533)		if (_hx_tmp3) {
  HXLINE( 533)			_hx_tmp2 = ::hx::IsEq( this->_headTiles->blend,blend );
              		}
              		else {
  HXLINE( 533)			_hx_tmp2 = false;
              		}
  HXDLIN( 533)		if (_hx_tmp2) {
  HXLINE( 533)			_hx_tmp1 = (this->_headTiles->antialiasing == smooth);
              		}
              		else {
  HXLINE( 533)			_hx_tmp1 = false;
              		}
  HXDLIN( 533)		if (_hx_tmp1) {
  HXLINE( 533)			_hx_tmp = ::hx::IsInstanceEq( this->_headTiles->shader,shader );
              		}
              		else {
  HXLINE( 533)			_hx_tmp = false;
              		}
  HXDLIN( 533)		if (_hx_tmp) {
  HXLINE( 543)			return this->_headTiles;
              		}
  HXLINE( 546)		if (::hx::IsNotNull( ::flixel::FlxCamera_obj::_storageTilesHead )) {
  HXLINE( 548)			itemToReturn = ::flixel::FlxCamera_obj::_storageTilesHead;
  HXLINE( 549)			 ::flixel::graphics::tile::FlxDrawQuadsItem newHead = ( ( ::flixel::graphics::tile::FlxDrawQuadsItem)(::flixel::FlxCamera_obj::_storageTilesHead->nextTyped) );
  HXLINE( 550)			itemToReturn->reset();
  HXLINE( 551)			::flixel::FlxCamera_obj::_storageTilesHead = newHead;
              		}
              		else {
  HXLINE( 555)			itemToReturn =  ::flixel::graphics::tile::FlxDrawQuadsItem_obj::__alloc( HX_CTX );
              		}
  HXLINE( 558)		itemToReturn->graphics = graphic;
  HXLINE( 559)		itemToReturn->antialiasing = smooth;
  HXLINE( 560)		itemToReturn->colored = colored;
  HXLINE( 561)		itemToReturn->hasColorOffsets = hasColorOffsets;
  HXLINE( 562)		itemToReturn->blending = blendInt;
  HXLINE( 563)		itemToReturn->blend = blend;
  HXLINE( 564)		itemToReturn->shader = shader;
  HXLINE( 566)		itemToReturn->nextTyped = this->_headTiles;
  HXLINE( 567)		this->_headTiles = itemToReturn;
  HXLINE( 569)		if (::hx::IsNull( this->_headOfDrawStack )) {
  HXLINE( 571)			this->_headOfDrawStack = itemToReturn;
              		}
  HXLINE( 574)		if (::hx::IsNotNull( this->_currentDrawItem )) {
  HXLINE( 576)			this->_currentDrawItem->next = itemToReturn;
              		}
  HXLINE( 579)		this->_currentDrawItem = itemToReturn;
  HXLINE( 581)		return itemToReturn;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC6(FlxCamera_obj,startQuadBatch,return )
  
   ::flixel::graphics::tile::FlxDrawTrianglesItem FlxCamera_obj::startTrianglesBatch( ::flixel::graphics::FlxGraphic graphic,::hx::Null< bool >  __o_smoothing,::hx::Null< bool >  __o_isColored, ::Dynamic blend){
              		bool smoothing = __o_smoothing.Default(false);
              		bool isColored = __o_isColored.Default(false);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_587_startTrianglesBatch)
  HXLINE( 588)		int blendInt = ::flixel::graphics::tile::FlxDrawBaseItem_obj::blendToInt(blend);
  HXLINE( 590)		bool _hx_tmp;
  HXDLIN( 590)		bool _hx_tmp1;
  HXDLIN( 590)		bool _hx_tmp2;
  HXDLIN( 590)		bool _hx_tmp3;
  HXDLIN( 590)		bool _hx_tmp4;
  HXDLIN( 590)		if (::hx::IsNotNull( this->_currentDrawItem )) {
  HXLINE( 590)			_hx_tmp4 = ::hx::IsPointerEq( this->_currentDrawItem->type,::flixel::graphics::tile::FlxDrawItemType_obj::TRIANGLES_dyn() );
              		}
              		else {
  HXLINE( 590)			_hx_tmp4 = false;
              		}
  HXDLIN( 590)		if (_hx_tmp4) {
  HXLINE( 590)			_hx_tmp3 = ::hx::IsInstanceEq( this->_headTriangles->graphics,graphic );
              		}
              		else {
  HXLINE( 590)			_hx_tmp3 = false;
              		}
  HXDLIN( 590)		if (_hx_tmp3) {
  HXLINE( 590)			_hx_tmp2 = (this->_headTriangles->antialiasing == smoothing);
              		}
              		else {
  HXLINE( 590)			_hx_tmp2 = false;
              		}
  HXDLIN( 590)		if (_hx_tmp2) {
  HXLINE( 590)			_hx_tmp1 = (this->_headTriangles->colored == isColored);
              		}
              		else {
  HXLINE( 590)			_hx_tmp1 = false;
              		}
  HXDLIN( 590)		if (_hx_tmp1) {
  HXLINE( 590)			_hx_tmp = (this->_headTriangles->blending == blendInt);
              		}
              		else {
  HXLINE( 590)			_hx_tmp = false;
              		}
  HXDLIN( 590)		if (_hx_tmp) {
  HXLINE( 597)			return this->_headTriangles;
              		}
  HXLINE( 600)		return this->getNewDrawTrianglesItem(graphic,smoothing,isColored,blend);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC4(FlxCamera_obj,startTrianglesBatch,return )
  
   ::flixel::graphics::tile::FlxDrawTrianglesItem FlxCamera_obj::getNewDrawTrianglesItem( ::flixel::graphics::FlxGraphic graphic,::hx::Null< bool >  __o_smoothing,::hx::Null< bool >  __o_isColored, ::Dynamic blend){
              		bool smoothing = __o_smoothing.Default(false);
              		bool isColored = __o_isColored.Default(false);
              	HX_GC_STACKFRAME(&_hx_pos_d1aae230bd422321_605_getNewDrawTrianglesItem)
  HXLINE( 606)		 ::flixel::graphics::tile::FlxDrawTrianglesItem itemToReturn = null();
  HXLINE( 607)		int blendInt = ::flixel::graphics::tile::FlxDrawBaseItem_obj::blendToInt(blend);
  HXLINE( 609)		if (::hx::IsNotNull( ::flixel::FlxCamera_obj::_storageTrianglesHead )) {
  HXLINE( 611)			itemToReturn = ::flixel::FlxCamera_obj::_storageTrianglesHead;
  HXLINE( 612)			 ::flixel::graphics::tile::FlxDrawTrianglesItem newHead = ( ( ::flixel::graphics::tile::FlxDrawTrianglesItem)(::flixel::FlxCamera_obj::_storageTrianglesHead->nextTyped) );
  HXLINE( 613)			itemToReturn->reset();
  HXLINE( 614)			::flixel::FlxCamera_obj::_storageTrianglesHead = newHead;
              		}
              		else {
  HXLINE( 618)			itemToReturn =  ::flixel::graphics::tile::FlxDrawTrianglesItem_obj::__alloc( HX_CTX );
              		}
  HXLINE( 621)		itemToReturn->graphics = graphic;
  HXLINE( 622)		itemToReturn->antialiasing = smoothing;
  HXLINE( 623)		itemToReturn->colored = isColored;
  HXLINE( 624)		itemToReturn->blending = blendInt;
  HXLINE( 626)		itemToReturn->nextTyped = this->_headTriangles;
  HXLINE( 627)		this->_headTriangles = itemToReturn;
  HXLINE( 629)		if (::hx::IsNull( this->_headOfDrawStack )) {
  HXLINE( 631)			this->_headOfDrawStack = itemToReturn;
              		}
  HXLINE( 634)		if (::hx::IsNotNull( this->_currentDrawItem )) {
  HXLINE( 636)			this->_currentDrawItem->next = itemToReturn;
              		}
  HXLINE( 639)		this->_currentDrawItem = itemToReturn;
  HXLINE( 641)		return itemToReturn;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC4(FlxCamera_obj,getNewDrawTrianglesItem,return )
  
  void FlxCamera_obj::clearDrawStack(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_646_clearDrawStack)
  HXLINE( 647)		 ::flixel::graphics::tile::FlxDrawQuadsItem currTiles = this->_headTiles;
  HXLINE( 648)		 ::flixel::graphics::tile::FlxDrawQuadsItem newTilesHead;
  HXLINE( 650)		while(::hx::IsNotNull( currTiles )){
  HXLINE( 652)			newTilesHead = ( ( ::flixel::graphics::tile::FlxDrawQuadsItem)(currTiles->nextTyped) );
  HXLINE( 653)			currTiles->reset();
  HXLINE( 654)			currTiles->nextTyped = ::flixel::FlxCamera_obj::_storageTilesHead;
  HXLINE( 655)			::flixel::FlxCamera_obj::_storageTilesHead = currTiles;
  HXLINE( 656)			currTiles = newTilesHead;
              		}
  HXLINE( 659)		 ::flixel::graphics::tile::FlxDrawTrianglesItem currTriangles = this->_headTriangles;
  HXLINE( 660)		 ::flixel::graphics::tile::FlxDrawTrianglesItem newTrianglesHead;
  HXLINE( 662)		while(::hx::IsNotNull( currTriangles )){
  HXLINE( 664)			newTrianglesHead = ( ( ::flixel::graphics::tile::FlxDrawTrianglesItem)(currTriangles->nextTyped) );
  HXLINE( 665)			currTriangles->reset();
  HXLINE( 666)			currTriangles->nextTyped = ::flixel::FlxCamera_obj::_storageTrianglesHead;
  HXLINE( 667)			::flixel::FlxCamera_obj::_storageTrianglesHead = currTriangles;
  HXLINE( 668)			currTriangles = newTrianglesHead;
              		}
  HXLINE( 671)		this->_currentDrawItem = null();
  HXLINE( 672)		this->_headOfDrawStack = null();
  HXLINE( 673)		this->_headTiles = null();
  HXLINE( 674)		this->_headTriangles = null();
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,clearDrawStack,(void))
  
  void FlxCamera_obj::render(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_679_render)
  HXLINE( 680)		 ::flixel::graphics::tile::FlxDrawBaseItem currItem = this->_headOfDrawStack;
  HXLINE( 681)		while(::hx::IsNotNull( currItem )){
  HXLINE( 683)			currItem->render(::hx::ObjectPtr<OBJ_>(this));
  HXLINE( 684)			currItem = currItem->next;
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,render,(void))
  
  void FlxCamera_obj::drawPixels( ::flixel::graphics::frames::FlxFrame frame, ::openfl::display::BitmapData pixels, ::flixel::math::FlxMatrix matrix, ::openfl::geom::ColorTransform transform, ::Dynamic blend, ::Dynamic __o_smoothing, ::flixel::graphics::tile::FlxGraphicsShader shader){
              		 ::Dynamic smoothing = __o_smoothing;
              		if (::hx::IsNull(__o_smoothing)) smoothing = false;
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_691_drawPixels)
  HXDLIN( 691)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 693)			this->_helperMatrix->copyFrom(matrix);
  HXLINE( 695)			if (this->_useBlitMatrix) {
  HXLINE( 697)				this->_helperMatrix->concat(this->_blitMatrix);
  HXLINE( 698)				bool _hx_tmp;
  HXDLIN( 698)				if (!(( (bool)(smoothing) ))) {
  HXLINE( 698)					_hx_tmp = this->antialiasing;
              				}
              				else {
  HXLINE( 698)					_hx_tmp = true;
              				}
  HXDLIN( 698)				this->buffer->draw(pixels,this->_helperMatrix,null(),null(),null(),_hx_tmp);
              			}
              			else {
  HXLINE( 702)				this->_helperMatrix->translate(-(this->viewOffsetX),-(this->viewOffsetY));
  HXLINE( 703)				bool _hx_tmp;
  HXDLIN( 703)				if (!(( (bool)(smoothing) ))) {
  HXLINE( 703)					_hx_tmp = this->antialiasing;
              				}
              				else {
  HXLINE( 703)					_hx_tmp = true;
              				}
  HXDLIN( 703)				this->buffer->draw(pixels,this->_helperMatrix,null(),blend,null(),_hx_tmp);
              			}
              		}
              		else {
  HXLINE( 708)			bool isColored;
  HXDLIN( 708)			if (::hx::IsNotNull( transform )) {
  HXLINE( 708)				isColored = ::flixel::util::FlxColorTransformUtil_obj::hasRGBMultipliers(transform);
              			}
              			else {
  HXLINE( 708)				isColored = false;
              			}
  HXLINE( 709)			bool hasColorOffsets;
  HXDLIN( 709)			if (::hx::IsNotNull( transform )) {
  HXLINE( 709)				hasColorOffsets = ::flixel::util::FlxColorTransformUtil_obj::hasRGBAOffsets(transform);
              			}
              			else {
  HXLINE( 709)				hasColorOffsets = false;
              			}
  HXLINE( 714)			 ::flixel::graphics::tile::FlxDrawQuadsItem drawItem = this->startQuadBatch(frame->parent,isColored,hasColorOffsets,blend,smoothing,shader);
  HXLINE( 716)			drawItem->addQuad(frame,matrix,transform);
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC7(FlxCamera_obj,drawPixels,(void))
  
  void FlxCamera_obj::copyPixels( ::flixel::graphics::frames::FlxFrame frame, ::openfl::display::BitmapData pixels, ::openfl::geom::Rectangle sourceRect, ::openfl::geom::Point destPoint, ::openfl::geom::ColorTransform transform, ::Dynamic blend, ::Dynamic __o_smoothing, ::flixel::graphics::tile::FlxGraphicsShader shader){
              		 ::Dynamic smoothing = __o_smoothing;
              		if (::hx::IsNull(__o_smoothing)) smoothing = false;
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_723_copyPixels)
  HXDLIN( 723)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 725)			if (::hx::IsNotNull( pixels )) {
  HXLINE( 727)				if (this->_useBlitMatrix) {
  HXLINE( 729)					this->_helperMatrix->identity();
  HXLINE( 730)					this->_helperMatrix->translate(destPoint->x,destPoint->y);
  HXLINE( 731)					this->_helperMatrix->concat(this->_blitMatrix);
  HXLINE( 732)					bool _hx_tmp;
  HXDLIN( 732)					if (!(( (bool)(smoothing) ))) {
  HXLINE( 732)						_hx_tmp = this->antialiasing;
              					}
              					else {
  HXLINE( 732)						_hx_tmp = true;
              					}
  HXDLIN( 732)					this->buffer->draw(pixels,this->_helperMatrix,null(),null(),null(),_hx_tmp);
              				}
              				else {
  HXLINE( 736)					Float destPoint1 = destPoint->x;
  HXDLIN( 736)					int _hx_tmp = ::Std_obj::_hx_int(this->viewOffsetX);
  HXDLIN( 736)					this->_helperPoint->x = (destPoint1 - ( (Float)(_hx_tmp) ));
  HXLINE( 737)					Float destPoint2 = destPoint->y;
  HXDLIN( 737)					int _hx_tmp1 = ::Std_obj::_hx_int(this->viewOffsetY);
  HXDLIN( 737)					this->_helperPoint->y = (destPoint2 - ( (Float)(_hx_tmp1) ));
  HXLINE( 738)					this->buffer->copyPixels(pixels,sourceRect,this->_helperPoint,null(),null(),true);
              				}
              			}
              			else {
  HXLINE( 741)				if (::hx::IsNotNull( frame )) {
  HXLINE( 744)					frame->paint(this->buffer,destPoint,true,null());
              				}
              			}
              		}
              		else {
  HXLINE( 749)			this->_helperMatrix->identity();
  HXLINE( 750)			this->_helperMatrix->translate((destPoint->x + frame->offset->x),(destPoint->y + frame->offset->y));
  HXLINE( 752)			bool isColored;
  HXDLIN( 752)			if (::hx::IsNotNull( transform )) {
  HXLINE( 752)				isColored = ::flixel::util::FlxColorTransformUtil_obj::hasRGBMultipliers(transform);
              			}
              			else {
  HXLINE( 752)				isColored = false;
              			}
  HXLINE( 753)			bool hasColorOffsets;
  HXDLIN( 753)			if (::hx::IsNotNull( transform )) {
  HXLINE( 753)				hasColorOffsets = ::flixel::util::FlxColorTransformUtil_obj::hasRGBAOffsets(transform);
              			}
              			else {
  HXLINE( 753)				hasColorOffsets = false;
              			}
  HXLINE( 756)			 ::flixel::graphics::tile::FlxDrawQuadsItem drawItem = this->startQuadBatch(frame->parent,isColored,hasColorOffsets,blend,smoothing,shader);
  HXLINE( 760)			drawItem->addQuad(frame,this->_helperMatrix,transform);
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC8(FlxCamera_obj,copyPixels,(void))
  
  void FlxCamera_obj::drawTriangles( ::flixel::graphics::FlxGraphic graphic, ::openfl::_Vector::FloatVector vertices, ::openfl::_Vector::IntVector indices, ::openfl::_Vector::FloatVector uvtData, ::openfl::_Vector::IntVector colors, ::flixel::math::FlxPoint position, ::Dynamic blend,::hx::Null< bool >  __o_repeat,::hx::Null< bool >  __o_smoothing){
              		bool repeat = __o_repeat.Default(false);
              		bool smoothing = __o_smoothing.Default(false);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_767_drawTriangles)
  HXDLIN( 767)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 769)			if (::hx::IsNull( position )) {
  HXLINE( 770)				position = ::flixel::FlxCamera_obj::renderPoint->set(null(),null());
              			}
  HXLINE( 772)			{
  HXLINE( 772)				 ::flixel::math::FlxRect _this = this->_bounds;
  HXDLIN( 772)				_this->x = ( (Float)(0) );
  HXDLIN( 772)				_this->y = ( (Float)(0) );
  HXDLIN( 772)				_this->width = ( (Float)(this->width) );
  HXDLIN( 772)				_this->height = ( (Float)(this->height) );
              			}
  HXLINE( 774)			int verticesLength = vertices->get_length();
  HXLINE( 775)			int currentVertexPosition = 0;
  HXLINE( 777)			Float tempX;
  HXDLIN( 777)			Float tempY;
  HXLINE( 778)			int i = 0;
  HXLINE( 779)			 ::flixel::math::FlxRect _this1 = ::flixel::FlxCamera_obj::renderRect;
  HXDLIN( 779)			_this1->x = ( (Float)(0) );
  HXDLIN( 779)			_this1->y = ( (Float)(0) );
  HXDLIN( 779)			_this1->width = ( (Float)(0) );
  HXDLIN( 779)			_this1->height = ( (Float)(0) );
  HXDLIN( 779)			 ::flixel::math::FlxRect bounds = _this1;
  HXLINE( 780)			{
  HXLINE( 780)				::Dynamic this1 = ::flixel::FlxCamera_obj::drawVertices;
  HXDLIN( 780)				( ( ::openfl::_Vector::FloatVector)(this1) )->splice(0,::flixel::FlxCamera_obj::drawVertices->get_length());
              			}
  HXLINE( 782)			while((i < verticesLength)){
  HXLINE( 784)				Float position1 = position->x;
  HXDLIN( 784)				tempX = (position1 + vertices->get(i));
  HXLINE( 785)				Float position2 = position->y;
  HXDLIN( 785)				tempY = (position2 + vertices->get((i + 1)));
  HXLINE( 787)				{
  HXLINE( 787)					currentVertexPosition = (currentVertexPosition + 1);
  HXDLIN( 787)					::flixel::FlxCamera_obj::drawVertices->set((currentVertexPosition - 1),tempX);
              				}
  HXLINE( 788)				{
  HXLINE( 788)					currentVertexPosition = (currentVertexPosition + 1);
  HXDLIN( 788)					::flixel::FlxCamera_obj::drawVertices->set((currentVertexPosition - 1),tempY);
              				}
  HXLINE( 790)				if ((i == 0)) {
  HXLINE( 792)					bounds->x = tempX;
  HXDLIN( 792)					bounds->y = tempY;
  HXDLIN( 792)					bounds->width = ( (Float)(0) );
  HXDLIN( 792)					bounds->height = ( (Float)(0) );
              				}
              				else {
  HXLINE( 796)					if ((tempX < bounds->x)) {
  HXLINE( 796)						 ::flixel::math::FlxRect bounds1 = bounds;
  HXDLIN( 796)						bounds1->width = (bounds1->width + (bounds->x - tempX));
  HXDLIN( 796)						bounds->x = tempX;
              					}
  HXDLIN( 796)					if ((tempY < bounds->y)) {
  HXLINE( 796)						 ::flixel::math::FlxRect bounds1 = bounds;
  HXDLIN( 796)						bounds1->height = (bounds1->height + (bounds->y - tempY));
  HXDLIN( 796)						bounds->y = tempY;
              					}
  HXDLIN( 796)					if ((tempX > (bounds->x + bounds->width))) {
  HXLINE( 796)						bounds->width = (tempX - bounds->x);
              					}
  HXDLIN( 796)					if ((tempY > (bounds->y + bounds->height))) {
  HXLINE( 796)						bounds->height = (tempY - bounds->y);
              					}
              				}
  HXLINE( 799)				i = (i + 2);
              			}
  HXLINE( 802)			if (position->_weak) {
  HXLINE( 802)				position->put();
              			}
  HXLINE( 804)			 ::flixel::math::FlxRect _this2 = this->_bounds;
  HXDLIN( 804)			bool result;
  HXDLIN( 804)			bool result1;
  HXDLIN( 804)			bool result2;
  HXDLIN( 804)			if (((bounds->x + bounds->width) > _this2->x)) {
  HXLINE( 804)				result2 = (bounds->x < (_this2->x + _this2->width));
              			}
              			else {
  HXLINE( 804)				result2 = false;
              			}
  HXDLIN( 804)			if (result2) {
  HXLINE( 804)				result1 = ((bounds->y + bounds->height) > _this2->y);
              			}
              			else {
  HXLINE( 804)				result1 = false;
              			}
  HXDLIN( 804)			if (result1) {
  HXLINE( 804)				result = (bounds->y < (_this2->y + _this2->height));
              			}
              			else {
  HXLINE( 804)				result = false;
              			}
  HXDLIN( 804)			if (bounds->_weak) {
  HXLINE( 804)				if (!(bounds->_inPool)) {
  HXLINE( 804)					bounds->_inPool = true;
  HXDLIN( 804)					bounds->_weak = false;
  HXDLIN( 804)					::flixel::math::FlxRect_obj::_pool->putUnsafe(bounds);
              				}
              			}
  HXDLIN( 804)			if (!(result)) {
  HXLINE( 806)				::Dynamic this1 = ::flixel::FlxCamera_obj::drawVertices;
  HXDLIN( 806)				( ( ::openfl::_Vector::FloatVector)(this1) )->splice((::flixel::FlxCamera_obj::drawVertices->get_length() - verticesLength),verticesLength);
              			}
              			else {
  HXLINE( 810)				::flixel::FlxCamera_obj::trianglesSprite->get_graphics()->clear();
  HXLINE( 811)				::flixel::FlxCamera_obj::trianglesSprite->get_graphics()->beginBitmapFill(graphic->bitmap,null(),repeat,smoothing);
  HXLINE( 812)				::flixel::FlxCamera_obj::trianglesSprite->get_graphics()->drawTriangles(::flixel::FlxCamera_obj::drawVertices,indices,uvtData,null());
  HXLINE( 813)				::flixel::FlxCamera_obj::trianglesSprite->get_graphics()->endFill();
  HXLINE( 816)				if (this->_useBlitMatrix) {
  HXLINE( 817)					this->_helperMatrix->copyFrom(this->_blitMatrix);
              				}
              				else {
  HXLINE( 820)					this->_helperMatrix->identity();
  HXLINE( 821)					this->_helperMatrix->translate(-(this->viewOffsetX),-(this->viewOffsetY));
              				}
  HXLINE( 824)				this->buffer->draw(::flixel::FlxCamera_obj::trianglesSprite,this->_helperMatrix,null(),null(),null(),null());
              			}
  HXLINE( 838)			if (!(bounds->_inPool)) {
  HXLINE( 838)				bounds->_inPool = true;
  HXDLIN( 838)				bounds->_weak = false;
  HXDLIN( 838)				::flixel::math::FlxRect_obj::_pool->putUnsafe(bounds);
              			}
              		}
              		else {
  HXLINE( 842)			{
  HXLINE( 842)				 ::flixel::math::FlxRect _this = this->_bounds;
  HXDLIN( 842)				_this->x = ( (Float)(0) );
  HXDLIN( 842)				_this->y = ( (Float)(0) );
  HXDLIN( 842)				_this->width = ( (Float)(this->width) );
  HXDLIN( 842)				_this->height = ( (Float)(this->height) );
              			}
  HXLINE( 843)			bool isColored;
  HXDLIN( 843)			if (::hx::IsNotNull( colors )) {
  HXLINE( 843)				isColored = (colors->get_length() != 0);
              			}
              			else {
  HXLINE( 843)				isColored = false;
              			}
  HXLINE( 844)			 ::flixel::graphics::tile::FlxDrawTrianglesItem drawItem = this->startTrianglesBatch(graphic,smoothing,isColored,blend);
  HXLINE( 845)			drawItem->addTriangles(vertices,indices,uvtData,colors,position,this->_bounds);
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC9(FlxCamera_obj,drawTriangles,(void))
  
   ::flixel::math::FlxRect FlxCamera_obj::transformRect( ::flixel::math::FlxRect rect){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_855_transformRect)
  HXLINE( 856)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 858)			{
  HXLINE( 858)				 ::flixel::math::FlxRect rect1 = rect;
  HXDLIN( 858)				rect1->x = (rect1->x + -(this->viewOffsetX));
  HXDLIN( 858)				 ::flixel::math::FlxRect rect2 = rect;
  HXDLIN( 858)				rect2->y = (rect2->y + -(this->viewOffsetY));
              			}
  HXLINE( 860)			if (this->_useBlitMatrix) {
  HXLINE( 862)				 ::flixel::math::FlxRect rect1 = rect;
  HXDLIN( 862)				rect1->x = (rect1->x * this->zoom);
  HXLINE( 863)				 ::flixel::math::FlxRect rect2 = rect;
  HXDLIN( 863)				rect2->y = (rect2->y * this->zoom);
  HXLINE( 864)				 ::flixel::math::FlxRect rect3 = rect;
  HXDLIN( 864)				rect3->width = (rect3->width * this->zoom);
  HXLINE( 865)				 ::flixel::math::FlxRect rect4 = rect;
  HXDLIN( 865)				rect4->height = (rect4->height * this->zoom);
              			}
              		}
  HXLINE( 869)		return rect;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,transformRect,return )
  
   ::flixel::math::FlxPoint FlxCamera_obj::transformPoint( ::flixel::math::FlxPoint point){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_878_transformPoint)
  HXLINE( 879)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 881)			{
  HXLINE( 881)				Float Y = this->viewOffsetY;
  HXDLIN( 881)				point->set_x((point->x - this->viewOffsetX));
  HXDLIN( 881)				point->set_y((point->y - Y));
              			}
  HXLINE( 883)			if (this->_useBlitMatrix) {
  HXLINE( 884)				point->scale(this->zoom);
              			}
              		}
  HXLINE( 887)		return point;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,transformPoint,return )
  
   ::flixel::math::FlxPoint FlxCamera_obj::transformVector( ::flixel::math::FlxPoint vector){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_896_transformVector)
  HXLINE( 897)		bool _hx_tmp;
  HXDLIN( 897)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 897)			_hx_tmp = this->_useBlitMatrix;
              		}
              		else {
  HXLINE( 897)			_hx_tmp = false;
              		}
  HXDLIN( 897)		if (_hx_tmp) {
  HXLINE( 898)			vector->scale(this->zoom);
              		}
  HXLINE( 900)		return vector;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,transformVector,return )
  
   ::openfl::display::DisplayObject FlxCamera_obj::transformObject( ::openfl::display::DisplayObject object){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_911_transformObject)
  HXLINE( 912)		Float _hx_tmp = object->get_scaleX();
  HXDLIN( 912)		object->set_scaleX((_hx_tmp * this->totalScaleX));
  HXLINE( 913)		Float _hx_tmp1 = object->get_scaleY();
  HXDLIN( 913)		object->set_scaleY((_hx_tmp1 * this->totalScaleY));
  HXLINE( 915)		Float _hx_tmp2 = object->get_x();
  HXDLIN( 915)		object->set_x((_hx_tmp2 - (this->scroll->x * this->totalScaleX)));
  HXLINE( 916)		Float _hx_tmp3 = object->get_y();
  HXDLIN( 916)		object->set_y((_hx_tmp3 - (this->scroll->y * this->totalScaleY)));
  HXLINE( 918)		Float _hx_tmp4 = object->get_x();
  HXDLIN( 918)		object->set_x((_hx_tmp4 - (((((Float)0.5) * ( (Float)(this->width) )) * (this->scaleX - this->initialZoom)) * ::flixel::FlxG_obj::scaleMode->scale->x)));
  HXLINE( 919)		Float _hx_tmp5 = object->get_y();
  HXDLIN( 919)		object->set_y((_hx_tmp5 - (((((Float)0.5) * ( (Float)(this->height) )) * (this->scaleY - this->initialZoom)) * ::flixel::FlxG_obj::scaleMode->scale->y)));
  HXLINE( 921)		return object;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,transformObject,return )
  
  void FlxCamera_obj::destroy(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_989_destroy)
  HXLINE( 990)		::flixel::util::FlxDestroyUtil_obj::removeChild(this->flashSprite,this->_scrollRect);
  HXLINE( 992)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE( 994)			::flixel::util::FlxDestroyUtil_obj::removeChild(this->_scrollRect,this->_flashBitmap);
  HXLINE( 995)			this->screen = ( ( ::flixel::FlxSprite)(::flixel::util::FlxDestroyUtil_obj::destroy(this->screen)) );
  HXLINE( 996)			this->buffer = null();
  HXLINE( 997)			this->_flashBitmap = null();
  HXLINE( 998)			this->_fill = ::flixel::util::FlxDestroyUtil_obj::dispose(this->_fill);
              		}
              		else {
  HXLINE(1007)			::flixel::util::FlxDestroyUtil_obj::removeChild(this->_scrollRect,this->canvas);
  HXLINE(1008)			if (::hx::IsNotNull( this->canvas )) {
  HXLINE(1010)				{
  HXLINE(1010)					int _g = 0;
  HXDLIN(1010)					int _g1 = this->canvas->get_numChildren();
  HXDLIN(1010)					while((_g < _g1)){
  HXLINE(1010)						_g = (_g + 1);
  HXDLIN(1010)						int i = (_g - 1);
  HXLINE(1012)						this->canvas->removeChildAt(0);
              					}
              				}
  HXLINE(1014)				this->canvas = null();
              			}
  HXLINE(1017)			if (::hx::IsNotNull( this->_headOfDrawStack )) {
  HXLINE(1019)				this->clearDrawStack();
              			}
  HXLINE(1022)			this->_blitMatrix = null();
  HXLINE(1023)			this->_helperMatrix = null();
  HXLINE(1024)			this->_helperPoint = null();
              		}
  HXLINE(1027)		this->_bounds = null();
  HXLINE(1028)		this->scroll = ( ( ::flixel::math::FlxPoint)(::flixel::util::FlxDestroyUtil_obj::put(this->scroll)) );
  HXLINE(1029)		this->targetOffset = ( ( ::flixel::math::FlxPoint)(::flixel::util::FlxDestroyUtil_obj::put(this->targetOffset)) );
  HXLINE(1030)		this->deadzone = ( ( ::flixel::math::FlxRect)(::flixel::util::FlxDestroyUtil_obj::put(this->deadzone)) );
  HXLINE(1032)		this->target = null();
  HXLINE(1033)		this->flashSprite = null();
  HXLINE(1034)		this->_scrollRect = null();
  HXLINE(1035)		this->_flashRect = null();
  HXLINE(1036)		this->_flashPoint = null();
  HXLINE(1037)		this->_fxFlashComplete = null();
  HXLINE(1038)		this->_fxFadeComplete = null();
  HXLINE(1039)		this->_fxShakeComplete = null();
  HXLINE(1041)		this->super::destroy();
              	}
  
  
  void FlxCamera_obj::update(Float elapsed){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1048_update)
  HXLINE(1050)		if (::hx::IsNotNull( this->target )) {
  HXLINE(1052)			this->updateFollow();
              		}
  HXLINE(1055)		this->updateScroll();
  HXLINE(1056)		this->updateFlash(elapsed);
  HXLINE(1057)		this->updateFade(elapsed);
  HXLINE(1059)		::Array< ::Dynamic> _hx_tmp;
  HXDLIN(1059)		if (this->filtersEnabled) {
  HXLINE(1059)			_hx_tmp = this->_filters;
              		}
              		else {
  HXLINE(1059)			_hx_tmp = null();
              		}
  HXDLIN(1059)		this->flashSprite->set_filters(_hx_tmp);
  HXLINE(1061)		this->updateFlashSpritePosition();
  HXLINE(1062)		this->updateShake(elapsed);
              	}
  
  
  void FlxCamera_obj::updateScroll(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1070_updateScroll)
  HXLINE(1072)		Float zoom = (this->zoom / ::flixel::FlxG_obj::initialZoom);
  HXLINE(1074)		 ::Dynamic minX;
  HXDLIN(1074)		if (::hx::IsNull( this->minScrollX )) {
  HXLINE(1074)			minX = null();
              		}
              		else {
  HXLINE(1074)			minX = (( (Float)(this->minScrollX) ) - (((zoom - ( (Float)(1) )) * ( (Float)(this->width) )) / (( (Float)(2) ) * zoom)));
              		}
  HXLINE(1075)		 ::Dynamic maxX;
  HXDLIN(1075)		if (::hx::IsNull( this->maxScrollX )) {
  HXLINE(1075)			maxX = null();
              		}
              		else {
  HXLINE(1075)			maxX = (this->maxScrollX + (((zoom - ( (Float)(1) )) * ( (Float)(this->width) )) / (( (Float)(2) ) * zoom)));
              		}
  HXLINE(1076)		 ::Dynamic minY;
  HXDLIN(1076)		if (::hx::IsNull( this->minScrollY )) {
  HXLINE(1076)			minY = null();
              		}
              		else {
  HXLINE(1076)			minY = (( (Float)(this->minScrollY) ) - (((zoom - ( (Float)(1) )) * ( (Float)(this->height) )) / (( (Float)(2) ) * zoom)));
              		}
  HXLINE(1077)		 ::Dynamic maxY;
  HXDLIN(1077)		if (::hx::IsNull( this->maxScrollY )) {
  HXLINE(1077)			maxY = null();
              		}
              		else {
  HXLINE(1077)			maxY = (this->maxScrollY + (((zoom - ( (Float)(1) )) * ( (Float)(this->height) )) / (( (Float)(2) ) * zoom)));
              		}
  HXLINE(1080)		Float Value = this->scroll->x;
  HXDLIN(1080)		 ::Dynamic Max;
  HXDLIN(1080)		if (::hx::IsNotNull( maxX )) {
  HXLINE(1080)			Max = (( (Float)(maxX) ) - ( (Float)(this->width) ));
              		}
              		else {
  HXLINE(1080)			Max = null();
              		}
  HXDLIN(1080)		Float lowerBound;
  HXDLIN(1080)		bool lowerBound1;
  HXDLIN(1080)		if (::hx::IsNotNull( minX )) {
  HXLINE(1080)			lowerBound1 = ::hx::IsLess( Value,minX );
              		}
              		else {
  HXLINE(1080)			lowerBound1 = false;
              		}
  HXDLIN(1080)		if (lowerBound1) {
  HXLINE(1080)			lowerBound = ( (Float)(minX) );
              		}
              		else {
  HXLINE(1080)			lowerBound = Value;
              		}
  HXDLIN(1080)		Float _hx_tmp;
  HXDLIN(1080)		bool _hx_tmp1;
  HXDLIN(1080)		if (::hx::IsNotNull( Max )) {
  HXLINE(1080)			_hx_tmp1 = ::hx::IsGreater( lowerBound,Max );
              		}
              		else {
  HXLINE(1080)			_hx_tmp1 = false;
              		}
  HXDLIN(1080)		if (_hx_tmp1) {
  HXLINE(1080)			_hx_tmp = ( (Float)(Max) );
              		}
              		else {
  HXLINE(1080)			_hx_tmp = lowerBound;
              		}
  HXDLIN(1080)		this->scroll->set_x(_hx_tmp);
  HXLINE(1081)		Float Value1 = this->scroll->y;
  HXDLIN(1081)		 ::Dynamic Max1;
  HXDLIN(1081)		if (::hx::IsNotNull( maxY )) {
  HXLINE(1081)			Max1 = (( (Float)(maxY) ) - ( (Float)(this->height) ));
              		}
              		else {
  HXLINE(1081)			Max1 = null();
              		}
  HXDLIN(1081)		Float lowerBound2;
  HXDLIN(1081)		bool lowerBound3;
  HXDLIN(1081)		if (::hx::IsNotNull( minY )) {
  HXLINE(1081)			lowerBound3 = ::hx::IsLess( Value1,minY );
              		}
              		else {
  HXLINE(1081)			lowerBound3 = false;
              		}
  HXDLIN(1081)		if (lowerBound3) {
  HXLINE(1081)			lowerBound2 = ( (Float)(minY) );
              		}
              		else {
  HXLINE(1081)			lowerBound2 = Value1;
              		}
  HXDLIN(1081)		Float _hx_tmp2;
  HXDLIN(1081)		bool _hx_tmp3;
  HXDLIN(1081)		if (::hx::IsNotNull( Max1 )) {
  HXLINE(1081)			_hx_tmp3 = ::hx::IsGreater( lowerBound2,Max1 );
              		}
              		else {
  HXLINE(1081)			_hx_tmp3 = false;
              		}
  HXDLIN(1081)		if (_hx_tmp3) {
  HXLINE(1081)			_hx_tmp2 = ( (Float)(Max1) );
              		}
              		else {
  HXLINE(1081)			_hx_tmp2 = lowerBound2;
              		}
  HXDLIN(1081)		this->scroll->set_y(_hx_tmp2);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,updateScroll,(void))
  
  void FlxCamera_obj::updateFollow(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1092_updateFollow)
  HXDLIN(1092)		if (::hx::IsNull( this->deadzone )) {
  HXLINE(1094)			this->target->getMidpoint(this->_point);
  HXLINE(1095)			this->_point->addPoint(this->targetOffset);
  HXLINE(1096)			{
  HXLINE(1096)				 ::flixel::math::FlxPoint point = this->_point;
  HXDLIN(1096)				this->scroll->set((point->x - (( (Float)(this->width) ) * ((Float)0.5))),(point->y - (( (Float)(this->height) ) * ((Float)0.5))));
  HXDLIN(1096)				if (point->_weak) {
  HXLINE(1096)					point->put();
              				}
              			}
              		}
              		else {
  HXLINE(1100)			Float edge;
  HXLINE(1101)			Float targetX = (this->target->x + this->targetOffset->x);
  HXLINE(1102)			Float targetY = (this->target->y + this->targetOffset->y);
  HXLINE(1104)			if (::hx::IsPointerEq( this->style,::flixel::FlxCameraFollowStyle_obj::SCREEN_BY_SCREEN_dyn() )) {
  HXLINE(1106)				if ((targetX >= (this->scroll->x + this->width))) {
  HXLINE(1108)					 ::flixel::math::FlxPoint fh = this->_scrollTarget;
  HXDLIN(1108)					fh->set_x((fh->x + this->width));
              				}
              				else {
  HXLINE(1110)					if ((targetX < this->scroll->x)) {
  HXLINE(1112)						 ::flixel::math::FlxPoint fh = this->_scrollTarget;
  HXDLIN(1112)						fh->set_x((fh->x - ( (Float)(this->width) )));
              					}
              				}
  HXLINE(1115)				if ((targetY >= (this->scroll->y + this->height))) {
  HXLINE(1117)					 ::flixel::math::FlxPoint fh = this->_scrollTarget;
  HXDLIN(1117)					fh->set_y((fh->y + this->height));
              				}
              				else {
  HXLINE(1119)					if ((targetY < this->scroll->y)) {
  HXLINE(1121)						 ::flixel::math::FlxPoint fh = this->_scrollTarget;
  HXDLIN(1121)						fh->set_y((fh->y - ( (Float)(this->height) )));
              					}
              				}
              			}
              			else {
  HXLINE(1126)				edge = (targetX - this->deadzone->x);
  HXLINE(1127)				if ((this->_scrollTarget->x > edge)) {
  HXLINE(1129)					this->_scrollTarget->set_x(edge);
              				}
  HXLINE(1131)				Float edge1 = (targetX + this->target->get_width());
  HXDLIN(1131)				edge = ((edge1 - this->deadzone->x) - this->deadzone->width);
  HXLINE(1132)				if ((this->_scrollTarget->x < edge)) {
  HXLINE(1134)					this->_scrollTarget->set_x(edge);
              				}
  HXLINE(1137)				edge = (targetY - this->deadzone->y);
  HXLINE(1138)				if ((this->_scrollTarget->y > edge)) {
  HXLINE(1140)					this->_scrollTarget->set_y(edge);
              				}
  HXLINE(1142)				Float edge2 = (targetY + this->target->get_height());
  HXDLIN(1142)				edge = ((edge2 - this->deadzone->y) - this->deadzone->height);
  HXLINE(1143)				if ((this->_scrollTarget->y < edge)) {
  HXLINE(1145)					this->_scrollTarget->set_y(edge);
              				}
              			}
  HXLINE(1149)			if (::Std_obj::isOfType(this->target,::hx::ClassOf< ::flixel::FlxSprite >())) {
  HXLINE(1151)				if (::hx::IsNull( this->_lastTargetPosition )) {
  HXLINE(1153)					Float X = this->target->x;
  HXDLIN(1153)					Float Y = this->target->y;
  HXDLIN(1153)					 ::flixel::math::FlxPoint point = ::flixel::math::FlxPoint_obj::_pool->get()->set(X,Y);
  HXDLIN(1153)					point->_inPool = false;
  HXDLIN(1153)					this->_lastTargetPosition = point;
              				}
  HXLINE(1155)				 ::flixel::math::FlxPoint fh = this->_scrollTarget;
  HXDLIN(1155)				fh->set_x((fh->x + ((this->target->x - this->_lastTargetPosition->x) * this->followLead->x)));
  HXLINE(1156)				 ::flixel::math::FlxPoint fh1 = this->_scrollTarget;
  HXDLIN(1156)				fh1->set_y((fh1->y + ((this->target->y - this->_lastTargetPosition->y) * this->followLead->y)));
  HXLINE(1158)				this->_lastTargetPosition->set_x(this->target->x);
  HXLINE(1159)				this->_lastTargetPosition->set_y(this->target->y);
              			}
  HXLINE(1162)			if ((this->followLerp >= (( (Float)(60) ) / ( (Float)(::flixel::FlxG_obj::updateFramerate) )))) {
  HXLINE(1164)				 ::flixel::math::FlxPoint _this = this->scroll;
  HXDLIN(1164)				 ::flixel::math::FlxPoint point = this->_scrollTarget;
  HXDLIN(1164)				_this->set_x(point->x);
  HXDLIN(1164)				_this->set_y(point->y);
  HXDLIN(1164)				if (point->_weak) {
  HXLINE(1164)					point->put();
              				}
              			}
              			else {
  HXLINE(1168)				 ::flixel::math::FlxPoint fh = this->scroll;
  HXDLIN(1168)				fh->set_x((fh->x + ((((this->_scrollTarget->x - this->scroll->x) * this->followLerp) * ( (Float)(::flixel::FlxG_obj::updateFramerate) )) / ( (Float)(60) ))));
  HXLINE(1169)				 ::flixel::math::FlxPoint fh1 = this->scroll;
  HXDLIN(1169)				fh1->set_y((fh1->y + ((((this->_scrollTarget->y - this->scroll->y) * this->followLerp) * ( (Float)(::flixel::FlxG_obj::updateFramerate) )) / ( (Float)(60) ))));
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,updateFollow,(void))
  
  void FlxCamera_obj::updateFlash(Float elapsed){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1177_updateFlash)
  HXDLIN(1177)		if ((this->_fxFlashAlpha > ((Float)0.0))) {
  HXLINE(1179)			 ::flixel::FlxCamera _hx_tmp = ::hx::ObjectPtr<OBJ_>(this);
  HXDLIN(1179)			_hx_tmp->_fxFlashAlpha = (_hx_tmp->_fxFlashAlpha - (elapsed / this->_fxFlashDuration));
  HXLINE(1180)			bool _hx_tmp1;
  HXDLIN(1180)			if ((this->_fxFlashAlpha <= 0)) {
  HXLINE(1180)				_hx_tmp1 = ::hx::IsNotNull( this->_fxFlashComplete );
              			}
              			else {
  HXLINE(1180)				_hx_tmp1 = false;
              			}
  HXDLIN(1180)			if (_hx_tmp1) {
  HXLINE(1182)				this->_fxFlashComplete();
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,updateFlash,(void))
  
  void FlxCamera_obj::updateFade(Float elapsed){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1188_updateFade)
  HXLINE(1189)		if (this->_fxFadeCompleted) {
  HXLINE(1190)			return;
              		}
  HXLINE(1192)		if (this->_fxFadeIn) {
  HXLINE(1194)			 ::flixel::FlxCamera _hx_tmp = ::hx::ObjectPtr<OBJ_>(this);
  HXDLIN(1194)			_hx_tmp->_fxFadeAlpha = (_hx_tmp->_fxFadeAlpha - (elapsed / this->_fxFadeDuration));
  HXLINE(1195)			if ((this->_fxFadeAlpha <= ((Float)0.0))) {
  HXLINE(1197)				this->_fxFadeAlpha = ((Float)0.0);
  HXLINE(1198)				this->completeFade();
              			}
              		}
              		else {
  HXLINE(1203)			 ::flixel::FlxCamera _hx_tmp = ::hx::ObjectPtr<OBJ_>(this);
  HXDLIN(1203)			_hx_tmp->_fxFadeAlpha = (_hx_tmp->_fxFadeAlpha + (elapsed / this->_fxFadeDuration));
  HXLINE(1204)			if ((this->_fxFadeAlpha >= ((Float)1.0))) {
  HXLINE(1206)				this->_fxFadeAlpha = ((Float)1.0);
  HXLINE(1207)				this->completeFade();
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,updateFade,(void))
  
  void FlxCamera_obj::completeFade(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1213_completeFade)
  HXLINE(1214)		this->_fxFadeCompleted = true;
  HXLINE(1215)		if (::hx::IsNotNull( this->_fxFadeComplete )) {
  HXLINE(1216)			this->_fxFadeComplete();
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,completeFade,(void))
  
  void FlxCamera_obj::updateShake(Float elapsed){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1221_updateShake)
  HXDLIN(1221)		if ((this->_fxShakeDuration > 0)) {
  HXLINE(1223)			 ::flixel::FlxCamera _hx_tmp = ::hx::ObjectPtr<OBJ_>(this);
  HXDLIN(1223)			_hx_tmp->_fxShakeDuration = (_hx_tmp->_fxShakeDuration - elapsed);
  HXLINE(1224)			if ((this->_fxShakeDuration <= 0)) {
  HXLINE(1226)				if (::hx::IsNotNull( this->_fxShakeComplete )) {
  HXLINE(1228)					this->_fxShakeComplete();
              				}
              			}
              			else {
  HXLINE(1233)				if (::hx::IsPointerNotEq( this->_fxShakeAxes,::flixel::util::FlxAxes_obj::Y_dyn() )) {
  HXLINE(1235)					 ::openfl::display::Sprite fh = this->flashSprite;
  HXDLIN(1235)					Float _hx_tmp = fh->get_x();
  HXDLIN(1235)					Float _hx_tmp1 = ::flixel::FlxG_obj::random->_hx_float((-(this->_fxShakeIntensity) * ( (Float)(this->width) )),(this->_fxShakeIntensity * ( (Float)(this->width) )),null());
  HXDLIN(1235)					fh->set_x((_hx_tmp + ((_hx_tmp1 * this->zoom) * ::flixel::FlxG_obj::scaleMode->scale->x)));
              				}
  HXLINE(1237)				if (::hx::IsPointerNotEq( this->_fxShakeAxes,::flixel::util::FlxAxes_obj::X_dyn() )) {
  HXLINE(1239)					 ::openfl::display::Sprite fh = this->flashSprite;
  HXDLIN(1239)					Float _hx_tmp = fh->get_y();
  HXDLIN(1239)					Float _hx_tmp1 = ::flixel::FlxG_obj::random->_hx_float((-(this->_fxShakeIntensity) * ( (Float)(this->height) )),(this->_fxShakeIntensity * ( (Float)(this->height) )),null());
  HXDLIN(1239)					fh->set_y((_hx_tmp + ((_hx_tmp1 * this->zoom) * ::flixel::FlxG_obj::scaleMode->scale->y)));
              				}
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,updateShake,(void))
  
  void FlxCamera_obj::updateFlashSpritePosition(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1251_updateFlashSpritePosition)
  HXDLIN(1251)		if (::hx::IsNotNull( this->flashSprite )) {
  HXLINE(1253)			this->flashSprite->set_x(((this->x * ::flixel::FlxG_obj::scaleMode->scale->x) + this->_flashOffset->x));
  HXLINE(1254)			this->flashSprite->set_y(((this->y * ::flixel::FlxG_obj::scaleMode->scale->y) + this->_flashOffset->y));
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,updateFlashSpritePosition,(void))
  
  void FlxCamera_obj::updateFlashOffset(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1263_updateFlashOffset)
  HXLINE(1264)		this->_flashOffset->set_x((((( (Float)(this->width) ) * ((Float)0.5)) * ::flixel::FlxG_obj::scaleMode->scale->x) * this->initialZoom));
  HXLINE(1265)		this->_flashOffset->set_y((((( (Float)(this->height) ) * ((Float)0.5)) * ::flixel::FlxG_obj::scaleMode->scale->y) * this->initialZoom));
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,updateFlashOffset,(void))
  
  void FlxCamera_obj::updateScrollRect(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1277_updateScrollRect)
  HXLINE(1278)		 ::openfl::geom::Rectangle rect;
  HXDLIN(1278)		if (::hx::IsNotNull( this->_scrollRect )) {
  HXLINE(1278)			rect = this->_scrollRect->get_scrollRect();
              		}
              		else {
  HXLINE(1278)			rect = null();
              		}
  HXLINE(1280)		if (::hx::IsNotNull( rect )) {
  HXLINE(1282)			rect->x = (rect->y = ( (Float)(0) ));
  HXLINE(1284)			rect->width = ((( (Float)(this->width) ) * this->initialZoom) * ::flixel::FlxG_obj::scaleMode->scale->x);
  HXLINE(1285)			rect->height = ((( (Float)(this->height) ) * this->initialZoom) * ::flixel::FlxG_obj::scaleMode->scale->y);
  HXLINE(1287)			this->_scrollRect->set_scrollRect(rect);
  HXLINE(1289)			this->_scrollRect->set_x((((Float)-0.5) * rect->width));
  HXLINE(1290)			this->_scrollRect->set_y((((Float)-0.5) * rect->height));
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,updateScrollRect,(void))
  
  void FlxCamera_obj::updateInternalSpritePositions(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1302_updateInternalSpritePositions)
  HXDLIN(1302)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1304)			if (::hx::IsNotNull( this->_flashBitmap )) {
  HXLINE(1306)				this->_flashBitmap->set_x(( (Float)(0) ));
  HXLINE(1307)				this->_flashBitmap->set_y(( (Float)(0) ));
              			}
              		}
              		else {
  HXLINE(1312)			if (::hx::IsNotNull( this->canvas )) {
  HXLINE(1314)				this->canvas->set_x((((((Float)-0.5) * ( (Float)(this->width) )) * (this->scaleX - this->initialZoom)) * ::flixel::FlxG_obj::scaleMode->scale->x));
  HXLINE(1315)				this->canvas->set_y((((((Float)-0.5) * ( (Float)(this->height) )) * (this->scaleY - this->initialZoom)) * ::flixel::FlxG_obj::scaleMode->scale->y));
  HXLINE(1317)				this->canvas->set_scaleX(this->totalScaleX);
  HXLINE(1318)				this->canvas->set_scaleY(this->totalScaleY);
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,updateInternalSpritePositions,(void))
  
  void FlxCamera_obj::follow( ::flixel::FlxObject Target, ::flixel::FlxCameraFollowStyle Style, ::Dynamic Lerp){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1344_follow)
  HXLINE(1345)		if (::hx::IsNull( Style )) {
  HXLINE(1346)			Style = ::flixel::FlxCameraFollowStyle_obj::LOCKON_dyn();
              		}
  HXLINE(1348)		if (::hx::IsNull( Lerp )) {
  HXLINE(1349)			Lerp = (( (Float)(60) ) / ( (Float)(::flixel::FlxG_obj::updateFramerate) ));
              		}
  HXLINE(1351)		this->style = Style;
  HXLINE(1352)		this->target = Target;
  HXLINE(1353)		this->set_followLerp(( (Float)(Lerp) ));
  HXLINE(1354)		Float helper;
  HXLINE(1355)		Float w = ( (Float)(0) );
  HXLINE(1356)		Float h = ( (Float)(0) );
  HXLINE(1357)		this->_lastTargetPosition = null();
  HXLINE(1359)		switch((int)(Style->_hx_getIndex())){
              			case (int)0: {
  HXLINE(1362)				if (::hx::IsNotNull( this->target )) {
  HXLINE(1364)					w = this->target->get_width();
  HXLINE(1365)					h = this->target->get_height();
              				}
  HXLINE(1367)				Float X = ((( (Float)(this->width) ) - w) / ( (Float)(2) ));
  HXDLIN(1367)				Float Y = (((( (Float)(this->height) ) - h) / ( (Float)(2) )) - (h * ((Float)0.25)));
  HXDLIN(1367)				 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN(1367)				_this->x = X;
  HXDLIN(1367)				_this->y = Y;
  HXDLIN(1367)				_this->width = w;
  HXDLIN(1367)				_this->height = h;
  HXDLIN(1367)				 ::flixel::math::FlxRect rect = _this;
  HXDLIN(1367)				rect->_inPool = false;
  HXDLIN(1367)				this->deadzone = rect;
              			}
              			break;
              			case (int)1: {
  HXLINE(1370)				Float w = (( (Float)(this->width) ) / ( (Float)(8) ));
  HXLINE(1371)				Float h = (( (Float)(this->height) ) / ( (Float)(3) ));
  HXLINE(1372)				Float X = ((( (Float)(this->width) ) - w) / ( (Float)(2) ));
  HXDLIN(1372)				Float Y = (((( (Float)(this->height) ) - h) / ( (Float)(2) )) - (h * ((Float)0.25)));
  HXDLIN(1372)				 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN(1372)				_this->x = X;
  HXDLIN(1372)				_this->y = Y;
  HXDLIN(1372)				_this->width = w;
  HXDLIN(1372)				_this->height = h;
  HXDLIN(1372)				 ::flixel::math::FlxRect rect = _this;
  HXDLIN(1372)				rect->_inPool = false;
  HXDLIN(1372)				this->deadzone = rect;
              			}
              			break;
              			case (int)2: {
  HXLINE(1375)				helper = (::Math_obj::max(( (Float)(this->width) ),( (Float)(this->height) )) / ( (Float)(4) ));
  HXLINE(1376)				Float X = ((( (Float)(this->width) ) - helper) / ( (Float)(2) ));
  HXDLIN(1376)				Float Y = ((( (Float)(this->height) ) - helper) / ( (Float)(2) ));
  HXDLIN(1376)				 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN(1376)				_this->x = X;
  HXDLIN(1376)				_this->y = Y;
  HXDLIN(1376)				_this->width = helper;
  HXDLIN(1376)				_this->height = helper;
  HXDLIN(1376)				 ::flixel::math::FlxRect rect = _this;
  HXDLIN(1376)				rect->_inPool = false;
  HXDLIN(1376)				this->deadzone = rect;
              			}
              			break;
              			case (int)3: {
  HXLINE(1379)				helper = (::Math_obj::max(( (Float)(this->width) ),( (Float)(this->height) )) / ( (Float)(8) ));
  HXLINE(1380)				Float X = ((( (Float)(this->width) ) - helper) / ( (Float)(2) ));
  HXDLIN(1380)				Float Y = ((( (Float)(this->height) ) - helper) / ( (Float)(2) ));
  HXDLIN(1380)				 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN(1380)				_this->x = X;
  HXDLIN(1380)				_this->y = Y;
  HXDLIN(1380)				_this->width = helper;
  HXDLIN(1380)				_this->height = helper;
  HXDLIN(1380)				 ::flixel::math::FlxRect rect = _this;
  HXDLIN(1380)				rect->_inPool = false;
  HXDLIN(1380)				this->deadzone = rect;
              			}
              			break;
              			case (int)4: {
  HXLINE(1383)				Float Width = ( (Float)(this->width) );
  HXDLIN(1383)				Float Height = ( (Float)(this->height) );
  HXDLIN(1383)				 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN(1383)				_this->x = ( (Float)(0) );
  HXDLIN(1383)				_this->y = ( (Float)(0) );
  HXDLIN(1383)				_this->width = Width;
  HXDLIN(1383)				_this->height = Height;
  HXDLIN(1383)				 ::flixel::math::FlxRect rect = _this;
  HXDLIN(1383)				rect->_inPool = false;
  HXDLIN(1383)				this->deadzone = rect;
              			}
              			break;
              			case (int)5: {
  HXLINE(1386)				this->deadzone = null();
              			}
              			break;
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC3(FlxCamera_obj,follow,(void))
  
  void FlxCamera_obj::snapToTarget(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1395_snapToTarget)
  HXLINE(1396)		this->updateFollow();
  HXLINE(1397)		{
  HXLINE(1397)			 ::flixel::math::FlxPoint _this = this->scroll;
  HXDLIN(1397)			 ::flixel::math::FlxPoint point = this->_scrollTarget;
  HXDLIN(1397)			_this->set_x(point->x);
  HXDLIN(1397)			_this->set_y(point->y);
  HXDLIN(1397)			if (point->_weak) {
  HXLINE(1397)				point->put();
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,snapToTarget,(void))
  
  void FlxCamera_obj::focusOn( ::flixel::math::FlxPoint point){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1406_focusOn)
  HXLINE(1407)		this->scroll->set((point->x - (( (Float)(this->width) ) * ((Float)0.5))),(point->y - (( (Float)(this->height) ) * ((Float)0.5))));
  HXLINE(1408)		if (point->_weak) {
  HXLINE(1408)			point->put();
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,focusOn,(void))
  
  void FlxCamera_obj::flash(::hx::Null< int >  __o_Color,::hx::Null< Float >  __o_Duration, ::Dynamic OnComplete,::hx::Null< bool >  __o_Force){
              		int Color = __o_Color.Default(-1);
              		Float Duration = __o_Duration.Default(1);
              		bool Force = __o_Force.Default(false);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1420_flash)
  HXLINE(1421)		bool _hx_tmp;
  HXDLIN(1421)		if (!(Force)) {
  HXLINE(1421)			_hx_tmp = (this->_fxFlashAlpha > ((Float)0.0));
              		}
              		else {
  HXLINE(1421)			_hx_tmp = false;
              		}
  HXDLIN(1421)		if (_hx_tmp) {
  HXLINE(1422)			return;
              		}
  HXLINE(1424)		this->_fxFlashColor = Color;
  HXLINE(1425)		if ((Duration <= 0)) {
  HXLINE(1426)			Duration = ((Float)0.000001);
              		}
  HXLINE(1427)		this->_fxFlashDuration = Duration;
  HXLINE(1428)		this->_fxFlashComplete = OnComplete;
  HXLINE(1429)		this->_fxFlashAlpha = ((Float)1.0);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC4(FlxCamera_obj,flash,(void))
  
  void FlxCamera_obj::fade(::hx::Null< int >  __o_Color,::hx::Null< Float >  __o_Duration,::hx::Null< bool >  __o_FadeIn, ::Dynamic OnComplete,::hx::Null< bool >  __o_Force){
              		int Color = __o_Color.Default(-16777216);
              		Float Duration = __o_Duration.Default(1);
              		bool FadeIn = __o_FadeIn.Default(false);
              		bool Force = __o_Force.Default(false);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1442_fade)
  HXLINE(1443)		bool _hx_tmp;
  HXDLIN(1443)		if (!(this->_fxFadeCompleted)) {
  HXLINE(1443)			_hx_tmp = !(Force);
              		}
              		else {
  HXLINE(1443)			_hx_tmp = false;
              		}
  HXDLIN(1443)		if (_hx_tmp) {
  HXLINE(1444)			return;
              		}
  HXLINE(1446)		this->_fxFadeColor = Color;
  HXLINE(1447)		if ((Duration <= 0)) {
  HXLINE(1448)			Duration = ((Float)0.000001);
              		}
  HXLINE(1450)		this->_fxFadeIn = FadeIn;
  HXLINE(1451)		this->_fxFadeDuration = Duration;
  HXLINE(1452)		this->_fxFadeComplete = OnComplete;
  HXLINE(1454)		Float _hx_tmp1;
  HXDLIN(1454)		if (this->_fxFadeIn) {
  HXLINE(1454)			_hx_tmp1 = ((Float)0.999999);
              		}
              		else {
  HXLINE(1454)			_hx_tmp1 = ((Float)0.000001);
              		}
  HXDLIN(1454)		this->_fxFadeAlpha = _hx_tmp1;
  HXLINE(1455)		this->_fxFadeCompleted = false;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC5(FlxCamera_obj,fade,(void))
  
  void FlxCamera_obj::shake(::hx::Null< Float >  __o_Intensity,::hx::Null< Float >  __o_Duration, ::Dynamic OnComplete,::hx::Null< bool >  __o_Force, ::flixel::util::FlxAxes Axes){
              		Float Intensity = __o_Intensity.Default(((Float)0.05));
              		Float Duration = __o_Duration.Default(((Float)0.5));
              		bool Force = __o_Force.Default(true);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1469_shake)
  HXLINE(1470)		if (::hx::IsNull( Axes )) {
  HXLINE(1471)			Axes = ::flixel::util::FlxAxes_obj::XY_dyn();
              		}
  HXLINE(1473)		bool _hx_tmp;
  HXDLIN(1473)		if (!(Force)) {
  HXLINE(1473)			_hx_tmp = (this->_fxShakeDuration > 0);
              		}
              		else {
  HXLINE(1473)			_hx_tmp = false;
              		}
  HXDLIN(1473)		if (_hx_tmp) {
  HXLINE(1474)			return;
              		}
  HXLINE(1476)		this->_fxShakeIntensity = Intensity;
  HXLINE(1477)		this->_fxShakeDuration = Duration;
  HXLINE(1478)		this->_fxShakeComplete = OnComplete;
  HXLINE(1479)		this->_fxShakeAxes = Axes;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC5(FlxCamera_obj,shake,(void))
  
  void FlxCamera_obj::stopFX(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1486_stopFX)
  HXLINE(1487)		this->_fxFlashAlpha = ((Float)0.0);
  HXLINE(1488)		this->_fxFadeAlpha = ((Float)0.0);
  HXLINE(1489)		this->_fxShakeDuration = ( (Float)(0) );
  HXLINE(1490)		this->updateFlashSpritePosition();
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,stopFX,(void))
  
  void FlxCamera_obj::setFilters(::Array< ::Dynamic> filters){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1498_setFilters)
  HXDLIN(1498)		this->_filters = filters;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,setFilters,(void))
  
   ::flixel::FlxCamera FlxCamera_obj::copyFrom( ::flixel::FlxCamera Camera){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1508_copyFrom)
  HXLINE(1509)		this->setScrollBounds(Camera->minScrollX,Camera->maxScrollX,Camera->minScrollY,Camera->maxScrollY);
  HXLINE(1511)		this->target = Camera->target;
  HXLINE(1513)		if (::hx::IsNotNull( this->target )) {
  HXLINE(1515)			if (::hx::IsNull( Camera->deadzone )) {
  HXLINE(1517)				this->deadzone = null();
              			}
              			else {
  HXLINE(1521)				if (::hx::IsNull( this->deadzone )) {
  HXLINE(1523)					 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN(1523)					_this->x = ( (Float)(0) );
  HXDLIN(1523)					_this->y = ( (Float)(0) );
  HXDLIN(1523)					_this->width = ( (Float)(0) );
  HXDLIN(1523)					_this->height = ( (Float)(0) );
  HXDLIN(1523)					 ::flixel::math::FlxRect rect = _this;
  HXDLIN(1523)					rect->_inPool = false;
  HXDLIN(1523)					this->deadzone = rect;
              				}
  HXLINE(1525)				{
  HXLINE(1525)					 ::flixel::math::FlxRect _this = this->deadzone;
  HXDLIN(1525)					 ::flixel::math::FlxRect Rect = Camera->deadzone;
  HXDLIN(1525)					_this->x = Rect->x;
  HXDLIN(1525)					_this->y = Rect->y;
  HXDLIN(1525)					_this->width = Rect->width;
  HXDLIN(1525)					_this->height = Rect->height;
  HXDLIN(1525)					if (Rect->_weak) {
  HXLINE(1525)						if (!(Rect->_inPool)) {
  HXLINE(1525)							Rect->_inPool = true;
  HXDLIN(1525)							Rect->_weak = false;
  HXDLIN(1525)							::flixel::math::FlxRect_obj::_pool->putUnsafe(Rect);
              						}
              					}
              				}
              			}
              		}
  HXLINE(1528)		return ::hx::ObjectPtr<OBJ_>(this);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,copyFrom,return )
  
  void FlxCamera_obj::fill(int Color,::hx::Null< bool >  __o_BlendAlpha,::hx::Null< Float >  __o_FxAlpha, ::openfl::display::Graphics graphics){
              		bool BlendAlpha = __o_BlendAlpha.Default(true);
              		Float FxAlpha = __o_FxAlpha.Default(((Float)1.0));
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1539_fill)
  HXDLIN(1539)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1541)			if (BlendAlpha) {
  HXLINE(1543)				this->_fill->fillRect(this->_flashRect,Color);
  HXLINE(1544)				this->buffer->copyPixels(this->_fill,this->_flashRect,this->_flashPoint,null(),null(),BlendAlpha);
              			}
              			else {
  HXLINE(1548)				this->buffer->fillRect(this->_flashRect,Color);
              			}
              		}
              		else {
  HXLINE(1553)			if ((FxAlpha == 0)) {
  HXLINE(1554)				return;
              			}
  HXLINE(1556)			 ::openfl::display::Graphics targetGraphics;
  HXDLIN(1556)			if (::hx::IsNull( graphics )) {
  HXLINE(1556)				targetGraphics = this->canvas->get_graphics();
              			}
              			else {
  HXLINE(1556)				targetGraphics = graphics;
              			}
  HXLINE(1558)			targetGraphics->beginFill(Color,FxAlpha);
  HXLINE(1561)			targetGraphics->drawRect((this->viewOffsetX - ( (Float)(1) )),(this->viewOffsetY - ( (Float)(1) )),(this->viewWidth + 2),(this->viewHeight + 2));
  HXLINE(1562)			targetGraphics->endFill();
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC4(FlxCamera_obj,fill,(void))
  
  void FlxCamera_obj::drawFX(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1571_drawFX)
  HXLINE(1572)		Float alphaComponent;
  HXLINE(1575)		if ((this->_fxFlashAlpha > ((Float)0.0))) {
  HXLINE(1577)			alphaComponent = ( (Float)(((this->_fxFlashColor >> 24) & 255)) );
  HXLINE(1579)			if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1581)				Float _hx_tmp;
  HXDLIN(1581)				if ((alphaComponent <= 0)) {
  HXLINE(1581)					_hx_tmp = ( (Float)(255) );
              				}
              				else {
  HXLINE(1581)					_hx_tmp = alphaComponent;
              				}
  HXDLIN(1581)				int _hx_tmp1 = (::Std_obj::_hx_int((_hx_tmp * this->_fxFlashAlpha)) << 24);
  HXDLIN(1581)				this->fill((_hx_tmp1 + (this->_fxFlashColor & 16777215)),null(),null(),null());
              			}
              			else {
  HXLINE(1585)				int _hx_tmp = (this->_fxFlashColor & 16777215);
  HXDLIN(1585)				Float _hx_tmp1;
  HXDLIN(1585)				if ((alphaComponent <= 0)) {
  HXLINE(1585)					_hx_tmp1 = ( (Float)(255) );
              				}
              				else {
  HXLINE(1585)					_hx_tmp1 = alphaComponent;
              				}
  HXDLIN(1585)				Float _hx_tmp2 = ((_hx_tmp1 * this->_fxFlashAlpha) / ( (Float)(255) ));
  HXDLIN(1585)				this->fill(_hx_tmp,true,_hx_tmp2,this->canvas->get_graphics());
              			}
              		}
  HXLINE(1590)		if ((this->_fxFadeAlpha > ((Float)0.0))) {
  HXLINE(1592)			alphaComponent = ( (Float)(((this->_fxFadeColor >> 24) & 255)) );
  HXLINE(1594)			if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1596)				Float _hx_tmp;
  HXDLIN(1596)				if ((alphaComponent <= 0)) {
  HXLINE(1596)					_hx_tmp = ( (Float)(255) );
              				}
              				else {
  HXLINE(1596)					_hx_tmp = alphaComponent;
              				}
  HXDLIN(1596)				int _hx_tmp1 = (::Std_obj::_hx_int((_hx_tmp * this->_fxFadeAlpha)) << 24);
  HXDLIN(1596)				this->fill((_hx_tmp1 + (this->_fxFadeColor & 16777215)),null(),null(),null());
              			}
              			else {
  HXLINE(1600)				int _hx_tmp = (this->_fxFadeColor & 16777215);
  HXDLIN(1600)				Float _hx_tmp1;
  HXDLIN(1600)				if ((alphaComponent <= 0)) {
  HXLINE(1600)					_hx_tmp1 = ( (Float)(255) );
              				}
              				else {
  HXLINE(1600)					_hx_tmp1 = alphaComponent;
              				}
  HXDLIN(1600)				Float _hx_tmp2 = ((_hx_tmp1 * this->_fxFadeAlpha) / ( (Float)(255) ));
  HXDLIN(1600)				this->fill(_hx_tmp,true,_hx_tmp2,this->canvas->get_graphics());
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,drawFX,(void))
  
  void FlxCamera_obj::checkResize(){
              	HX_GC_STACKFRAME(&_hx_pos_d1aae230bd422321_1608_checkResize)
  HXDLIN(1608)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1610)			bool _hx_tmp;
  HXDLIN(1610)			if ((this->width == this->buffer->width)) {
  HXLINE(1610)				_hx_tmp = (this->height != this->buffer->height);
              			}
              			else {
  HXLINE(1610)				_hx_tmp = true;
              			}
  HXDLIN(1610)			if (_hx_tmp) {
  HXLINE(1612)				 ::flixel::graphics::FlxGraphic oldBuffer = this->screen->graphic;
  HXLINE(1613)				this->buffer =  ::openfl::display::BitmapData_obj::__alloc( HX_CTX ,this->width,this->height,true,0);
  HXLINE(1614)				this->screen->set_pixels(this->buffer);
  HXLINE(1615)				this->screen->origin->set(null(),null());
  HXLINE(1616)				this->_flashBitmap->set_bitmapData(this->buffer);
  HXLINE(1617)				this->_flashRect->width = ( (Float)(this->width) );
  HXLINE(1618)				this->_flashRect->height = ( (Float)(this->height) );
  HXLINE(1619)				this->_fill = ::flixel::util::FlxDestroyUtil_obj::dispose(this->_fill);
  HXLINE(1620)				this->_fill =  ::openfl::display::BitmapData_obj::__alloc( HX_CTX ,this->width,this->height,true,0);
  HXLINE(1621)				::flixel::FlxG_obj::bitmap->removeIfNoUse(oldBuffer);
              			}
  HXLINE(1624)			{
  HXLINE(1624)				this->_blitMatrix->identity();
  HXDLIN(1624)				this->_blitMatrix->translate(-(this->viewOffsetX),-(this->viewOffsetY));
  HXDLIN(1624)				this->_blitMatrix->scale(this->scaleX,this->scaleY);
  HXDLIN(1624)				bool _hx_tmp1;
  HXDLIN(1624)				if (!((this->scaleX < this->initialZoom))) {
  HXLINE(1624)					_hx_tmp1 = (this->scaleY < this->initialZoom);
              				}
              				else {
  HXLINE(1624)					_hx_tmp1 = true;
              				}
  HXDLIN(1624)				this->_useBlitMatrix = _hx_tmp1;
              			}
              		}
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,checkResize,(void))
  
  void FlxCamera_obj::updateBlitMatrix(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1629_updateBlitMatrix)
  HXLINE(1630)		this->_blitMatrix->identity();
  HXLINE(1631)		this->_blitMatrix->translate(-(this->viewOffsetX),-(this->viewOffsetY));
  HXLINE(1632)		this->_blitMatrix->scale(this->scaleX,this->scaleY);
  HXLINE(1634)		bool _hx_tmp;
  HXDLIN(1634)		if (!((this->scaleX < this->initialZoom))) {
  HXLINE(1634)			_hx_tmp = (this->scaleY < this->initialZoom);
              		}
              		else {
  HXLINE(1634)			_hx_tmp = true;
              		}
  HXDLIN(1634)		this->_useBlitMatrix = _hx_tmp;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,updateBlitMatrix,(void))
  
  void FlxCamera_obj::setSize(int Width,int Height){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1644_setSize)
  HXLINE(1645)		this->set_width(Width);
  HXLINE(1646)		this->set_height(Height);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC2(FlxCamera_obj,setSize,(void))
  
  void FlxCamera_obj::setPosition(::hx::Null< Float >  __o_X,::hx::Null< Float >  __o_Y){
              		Float X = __o_X.Default(0);
              		Float Y = __o_Y.Default(0);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1657_setPosition)
  HXLINE(1658)		this->set_x(X);
  HXLINE(1659)		this->set_y(Y);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC2(FlxCamera_obj,setPosition,(void))
  
  void FlxCamera_obj::setScrollBoundsRect(::hx::Null< Float >  __o_X,::hx::Null< Float >  __o_Y,::hx::Null< Float >  __o_Width,::hx::Null< Float >  __o_Height,::hx::Null< bool >  __o_UpdateWorld){
              		Float X = __o_X.Default(0);
              		Float Y = __o_Y.Default(0);
              		Float Width = __o_Width.Default(0);
              		Float Height = __o_Height.Default(0);
              		bool UpdateWorld = __o_UpdateWorld.Default(false);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1672_setScrollBoundsRect)
  HXLINE(1673)		if (UpdateWorld) {
  HXLINE(1675)			 ::flixel::math::FlxRect _this = ::flixel::FlxG_obj::worldBounds;
  HXDLIN(1675)			_this->x = X;
  HXDLIN(1675)			_this->y = Y;
  HXDLIN(1675)			_this->width = Width;
  HXDLIN(1675)			_this->height = Height;
              		}
  HXLINE(1678)		this->setScrollBounds(X,(X + Width),Y,(Y + Height));
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC5(FlxCamera_obj,setScrollBoundsRect,(void))
  
  void FlxCamera_obj::setScrollBounds( ::Dynamic MinX, ::Dynamic MaxX, ::Dynamic MinY, ::Dynamic MaxY){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1691_setScrollBounds)
  HXLINE(1692)		this->minScrollX = MinX;
  HXLINE(1693)		this->maxScrollX = MaxX;
  HXLINE(1694)		this->minScrollY = MinY;
  HXLINE(1695)		this->maxScrollY = MaxY;
  HXLINE(1696)		this->updateScroll();
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC4(FlxCamera_obj,setScrollBounds,(void))
  
  void FlxCamera_obj::setScale(Float X,Float Y){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1707_setScale)
  HXLINE(1708)		this->scaleX = X;
  HXLINE(1709)		this->scaleY = Y;
  HXLINE(1711)		this->totalScaleX = (this->scaleX * ::flixel::FlxG_obj::scaleMode->scale->x);
  HXLINE(1712)		this->totalScaleY = (this->scaleY * ::flixel::FlxG_obj::scaleMode->scale->y);
  HXLINE(1714)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1716)			{
  HXLINE(1716)				this->_blitMatrix->identity();
  HXDLIN(1716)				this->_blitMatrix->translate(-(this->viewOffsetX),-(this->viewOffsetY));
  HXDLIN(1716)				this->_blitMatrix->scale(this->scaleX,this->scaleY);
  HXDLIN(1716)				bool _hx_tmp;
  HXDLIN(1716)				if (!((this->scaleX < this->initialZoom))) {
  HXLINE(1716)					_hx_tmp = (this->scaleY < this->initialZoom);
              				}
              				else {
  HXLINE(1716)					_hx_tmp = true;
              				}
  HXDLIN(1716)				this->_useBlitMatrix = _hx_tmp;
              			}
  HXLINE(1718)			if (this->_useBlitMatrix) {
  HXLINE(1720)				this->_flashBitmap->set_scaleX((this->initialZoom * ::flixel::FlxG_obj::scaleMode->scale->x));
  HXLINE(1721)				this->_flashBitmap->set_scaleY((this->initialZoom * ::flixel::FlxG_obj::scaleMode->scale->y));
              			}
              			else {
  HXLINE(1725)				this->_flashBitmap->set_scaleX(this->totalScaleX);
  HXLINE(1726)				this->_flashBitmap->set_scaleY(this->totalScaleY);
              			}
              		}
  HXLINE(1730)		{
  HXLINE(1730)			this->viewOffsetX = (((((Float)0.5) * ( (Float)(this->width) )) * (this->scaleX - this->initialZoom)) / this->scaleX);
  HXDLIN(1730)			this->viewOffsetWidth = (( (Float)(this->width) ) - this->viewOffsetX);
  HXDLIN(1730)			this->viewWidth = (( (Float)(this->width) ) - (( (Float)(2) ) * this->viewOffsetX));
              		}
  HXLINE(1731)		{
  HXLINE(1731)			this->viewOffsetY = (((((Float)0.5) * ( (Float)(this->height) )) * (this->scaleY - this->initialZoom)) / this->scaleY);
  HXDLIN(1731)			this->viewOffsetHeight = (( (Float)(this->height) ) - this->viewOffsetY);
  HXDLIN(1731)			this->viewHeight = (( (Float)(this->height) ) - (( (Float)(2) ) * this->viewOffsetY));
              		}
  HXLINE(1733)		this->updateScrollRect();
  HXLINE(1734)		this->updateInternalSpritePositions();
  HXLINE(1736)		::flixel::FlxG_obj::cameras->cameraResized->dispatch(::hx::ObjectPtr<OBJ_>(this));
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC2(FlxCamera_obj,setScale,(void))
  
  void FlxCamera_obj::onResize(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1744_onResize)
  HXLINE(1745)		this->updateFlashOffset();
  HXLINE(1746)		this->setScale(this->scaleX,this->scaleY);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,onResize,(void))
  
  bool FlxCamera_obj::containsPoint( ::flixel::math::FlxPoint point,::hx::Null< Float >  __o_width,::hx::Null< Float >  __o_height){
              		Float width = __o_width.Default(0);
              		Float height = __o_height.Default(0);
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1756_containsPoint)
  HXDLIN(1756)		bool _hx_tmp;
  HXDLIN(1756)		bool _hx_tmp1;
  HXDLIN(1756)		if (((point->x + width) > this->viewOffsetX)) {
  HXDLIN(1756)			_hx_tmp1 = (point->x < this->viewOffsetWidth);
              		}
              		else {
  HXDLIN(1756)			_hx_tmp1 = false;
              		}
  HXDLIN(1756)		if (_hx_tmp1) {
  HXDLIN(1756)			_hx_tmp = ((point->y + height) > this->viewOffsetY);
              		}
              		else {
  HXDLIN(1756)			_hx_tmp = false;
              		}
  HXDLIN(1756)		if (_hx_tmp) {
  HXDLIN(1756)			return (point->y < this->viewOffsetHeight);
              		}
              		else {
  HXDLIN(1756)			return false;
              		}
  HXDLIN(1756)		return false;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC3(FlxCamera_obj,containsPoint,return )
  
  Float FlxCamera_obj::set_followLerp(Float Value){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1761_set_followLerp)
  HXDLIN(1761)		 ::Dynamic Max = (( (Float)(60) ) / ( (Float)(::flixel::FlxG_obj::updateFramerate) ));
  HXDLIN(1761)		Float lowerBound;
  HXDLIN(1761)		if ((Value < 0)) {
  HXDLIN(1761)			lowerBound = ( (Float)(0) );
              		}
              		else {
  HXDLIN(1761)			lowerBound = Value;
              		}
  HXDLIN(1761)		Float _hx_tmp;
  HXDLIN(1761)		bool _hx_tmp1;
  HXDLIN(1761)		if (::hx::IsNotNull( Max )) {
  HXDLIN(1761)			_hx_tmp1 = ::hx::IsGreater( lowerBound,Max );
              		}
              		else {
  HXDLIN(1761)			_hx_tmp1 = false;
              		}
  HXDLIN(1761)		if (_hx_tmp1) {
  HXDLIN(1761)			_hx_tmp = ( (Float)(Max) );
              		}
              		else {
  HXDLIN(1761)			_hx_tmp = lowerBound;
              		}
  HXDLIN(1761)		return (this->followLerp = _hx_tmp);
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_followLerp,return )
  
  int FlxCamera_obj::set_width(int Value){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1765_set_width)
  HXLINE(1766)		bool _hx_tmp;
  HXDLIN(1766)		if ((this->width != Value)) {
  HXLINE(1766)			_hx_tmp = (Value > 0);
              		}
              		else {
  HXLINE(1766)			_hx_tmp = false;
              		}
  HXDLIN(1766)		if (_hx_tmp) {
  HXLINE(1768)			this->width = Value;
  HXLINE(1769)			{
  HXLINE(1769)				this->viewOffsetX = (((((Float)0.5) * ( (Float)(this->width) )) * (this->scaleX - this->initialZoom)) / this->scaleX);
  HXDLIN(1769)				this->viewOffsetWidth = (( (Float)(this->width) ) - this->viewOffsetX);
  HXDLIN(1769)				this->viewWidth = (( (Float)(this->width) ) - (( (Float)(2) ) * this->viewOffsetX));
              			}
  HXLINE(1770)			this->updateFlashOffset();
  HXLINE(1771)			this->updateScrollRect();
  HXLINE(1772)			this->updateInternalSpritePositions();
  HXLINE(1774)			::flixel::FlxG_obj::cameras->cameraResized->dispatch(::hx::ObjectPtr<OBJ_>(this));
              		}
  HXLINE(1776)		return Value;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_width,return )
  
  int FlxCamera_obj::set_height(int Value){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1780_set_height)
  HXLINE(1781)		bool _hx_tmp;
  HXDLIN(1781)		if ((this->height != Value)) {
  HXLINE(1781)			_hx_tmp = (Value > 0);
              		}
              		else {
  HXLINE(1781)			_hx_tmp = false;
              		}
  HXDLIN(1781)		if (_hx_tmp) {
  HXLINE(1783)			this->height = Value;
  HXLINE(1784)			{
  HXLINE(1784)				this->viewOffsetY = (((((Float)0.5) * ( (Float)(this->height) )) * (this->scaleY - this->initialZoom)) / this->scaleY);
  HXDLIN(1784)				this->viewOffsetHeight = (( (Float)(this->height) ) - this->viewOffsetY);
  HXDLIN(1784)				this->viewHeight = (( (Float)(this->height) ) - (( (Float)(2) ) * this->viewOffsetY));
              			}
  HXLINE(1785)			this->updateFlashOffset();
  HXLINE(1786)			this->updateScrollRect();
  HXLINE(1787)			this->updateInternalSpritePositions();
  HXLINE(1789)			::flixel::FlxG_obj::cameras->cameraResized->dispatch(::hx::ObjectPtr<OBJ_>(this));
              		}
  HXLINE(1791)		return Value;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_height,return )
  
  Float FlxCamera_obj::set_zoom(Float Zoom){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1795_set_zoom)
  HXLINE(1796)		Float _hx_tmp;
  HXDLIN(1796)		if ((Zoom == 0)) {
  HXLINE(1796)			_hx_tmp = ::flixel::FlxCamera_obj::defaultZoom;
              		}
              		else {
  HXLINE(1796)			_hx_tmp = Zoom;
              		}
  HXDLIN(1796)		this->zoom = _hx_tmp;
  HXLINE(1797)		this->setScale(this->zoom,this->zoom);
  HXLINE(1798)		return this->zoom;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_zoom,return )
  
  Float FlxCamera_obj::set_alpha(Float Alpha){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1802_set_alpha)
  HXLINE(1803)		Float lowerBound;
  HXDLIN(1803)		if ((Alpha < 0)) {
  HXLINE(1803)			lowerBound = ( (Float)(0) );
              		}
              		else {
  HXLINE(1803)			lowerBound = Alpha;
              		}
  HXDLIN(1803)		Float _hx_tmp;
  HXDLIN(1803)		if ((lowerBound > 1)) {
  HXLINE(1803)			_hx_tmp = ( (Float)(1) );
              		}
              		else {
  HXLINE(1803)			_hx_tmp = lowerBound;
              		}
  HXDLIN(1803)		this->alpha = _hx_tmp;
  HXLINE(1804)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1806)			this->_flashBitmap->set_alpha(Alpha);
              		}
              		else {
  HXLINE(1810)			this->canvas->set_alpha(Alpha);
              		}
  HXLINE(1812)		return Alpha;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_alpha,return )
  
  Float FlxCamera_obj::set_angle(Float Angle){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1816_set_angle)
  HXLINE(1817)		this->angle = Angle;
  HXLINE(1818)		this->flashSprite->set_rotation(Angle);
  HXLINE(1819)		return Angle;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_angle,return )
  
  int FlxCamera_obj::set_color(int Color){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1823_set_color)
  HXLINE(1824)		this->color = Color;
  HXLINE(1825)		 ::openfl::geom::ColorTransform colorTransform;
  HXLINE(1827)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1829)			if (::hx::IsNull( this->_flashBitmap )) {
  HXLINE(1831)				return Color;
              			}
  HXLINE(1833)			colorTransform = this->_flashBitmap->get_transform()->get_colorTransform();
              		}
              		else {
  HXLINE(1837)			colorTransform = this->canvas->get_transform()->get_colorTransform();
              		}
  HXLINE(1840)		colorTransform->redMultiplier = (( (Float)(((this->color >> 16) & 255)) ) / ( (Float)(255) ));
  HXLINE(1841)		colorTransform->greenMultiplier = (( (Float)(((this->color >> 8) & 255)) ) / ( (Float)(255) ));
  HXLINE(1842)		colorTransform->blueMultiplier = (( (Float)((this->color & 255)) ) / ( (Float)(255) ));
  HXLINE(1844)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1846)			this->_flashBitmap->get_transform()->set_colorTransform(colorTransform);
              		}
              		else {
  HXLINE(1850)			this->canvas->get_transform()->set_colorTransform(colorTransform);
              		}
  HXLINE(1853)		return Color;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_color,return )
  
  bool FlxCamera_obj::set_antialiasing(bool Antialiasing){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1857_set_antialiasing)
  HXLINE(1858)		this->antialiasing = Antialiasing;
  HXLINE(1859)		if (::flixel::FlxG_obj::renderBlit) {
  HXLINE(1861)			this->_flashBitmap->smoothing = Antialiasing;
              		}
  HXLINE(1863)		return Antialiasing;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_antialiasing,return )
  
  Float FlxCamera_obj::set_x(Float x){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1867_set_x)
  HXLINE(1868)		this->x = x;
  HXLINE(1869)		this->updateFlashSpritePosition();
  HXLINE(1870)		return x;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_x,return )
  
  Float FlxCamera_obj::set_y(Float y){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1874_set_y)
  HXLINE(1875)		this->y = y;
  HXLINE(1876)		this->updateFlashSpritePosition();
  HXLINE(1877)		return y;
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_y,return )
  
  bool FlxCamera_obj::set_visible(bool visible){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1881_set_visible)
  HXLINE(1882)		if (::hx::IsNotNull( this->flashSprite )) {
  HXLINE(1884)			this->flashSprite->set_visible(visible);
              		}
  HXLINE(1886)		return (this->visible = visible);
              	}
  
  
  void FlxCamera_obj::calcOffsetX(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1890_calcOffsetX)
  HXLINE(1891)		this->viewOffsetX = (((((Float)0.5) * ( (Float)(this->width) )) * (this->scaleX - this->initialZoom)) / this->scaleX);
  HXLINE(1892)		this->viewOffsetWidth = (( (Float)(this->width) ) - this->viewOffsetX);
  HXLINE(1893)		this->viewWidth = (( (Float)(this->width) ) - (( (Float)(2) ) * this->viewOffsetX));
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,calcOffsetX,(void))
  
  void FlxCamera_obj::calcOffsetY(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1897_calcOffsetY)
  HXLINE(1898)		this->viewOffsetY = (((((Float)0.5) * ( (Float)(this->height) )) * (this->scaleY - this->initialZoom)) / this->scaleY);
  HXLINE(1899)		this->viewOffsetHeight = (( (Float)(this->height) ) - this->viewOffsetY);
  HXLINE(1900)		this->viewHeight = (( (Float)(this->height) ) - (( (Float)(2) ) * this->viewOffsetY));
              	}
  
  
  HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,calcOffsetY,(void))
  
  Float FlxCamera_obj::defaultZoom;
  
  ::Array< ::Dynamic> FlxCamera_obj::_defaultCameras;
  
   ::flixel::graphics::tile::FlxDrawQuadsItem FlxCamera_obj::_storageTilesHead;
  
   ::flixel::graphics::tile::FlxDrawTrianglesItem FlxCamera_obj::_storageTrianglesHead;
  
   ::openfl::_Vector::FloatVector FlxCamera_obj::drawVertices;
  
   ::openfl::display::Sprite FlxCamera_obj::trianglesSprite;
  
   ::flixel::math::FlxPoint FlxCamera_obj::renderPoint;
  
   ::flixel::math::FlxRect FlxCamera_obj::renderRect;
  
  ::Array< ::Dynamic> FlxCamera_obj::get_defaultCameras(){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1905_get_defaultCameras)
  HXDLIN(1905)		return ::flixel::FlxCamera_obj::_defaultCameras;
              	}
  
  
  STATIC_HX_DEFINE_DYNAMIC_FUNC0(FlxCamera_obj,get_defaultCameras,return )
  
  ::Array< ::Dynamic> FlxCamera_obj::set_defaultCameras(::Array< ::Dynamic> value){
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_1910_set_defaultCameras)
  HXDLIN(1910)		return (::flixel::FlxCamera_obj::_defaultCameras = value);
              	}
  
  
  STATIC_HX_DEFINE_DYNAMIC_FUNC1(FlxCamera_obj,set_defaultCameras,return )
  
  
  ::hx::ObjectPtr< FlxCamera_obj > FlxCamera_obj::__new(::hx::Null< int >  __o_X,::hx::Null< int >  __o_Y,::hx::Null< int >  __o_Width,::hx::Null< int >  __o_Height,::hx::Null< Float >  __o_Zoom) {
  	::hx::ObjectPtr< FlxCamera_obj > __this = new FlxCamera_obj();
  	__this->__construct(__o_X,__o_Y,__o_Width,__o_Height,__o_Zoom);
  	return __this;
  }
  
  ::hx::ObjectPtr< FlxCamera_obj > FlxCamera_obj::__alloc(::hx::Ctx *_hx_ctx,::hx::Null< int >  __o_X,::hx::Null< int >  __o_Y,::hx::Null< int >  __o_Width,::hx::Null< int >  __o_Height,::hx::Null< Float >  __o_Zoom) {
  	FlxCamera_obj *__this = (FlxCamera_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(FlxCamera_obj), true, "flixel.FlxCamera"));
  	*(void **)__this = FlxCamera_obj::_hx_vtable;
  	__this->__construct(__o_X,__o_Y,__o_Width,__o_Height,__o_Zoom);
  	return __this;
  }
  
  FlxCamera_obj::FlxCamera_obj()
  {
  }
  
  void FlxCamera_obj::__Mark(HX_MARK_PARAMS)
  {
  	HX_MARK_BEGIN_CLASS(FlxCamera);
  	HX_MARK_MEMBER_NAME(x,"x");
  	HX_MARK_MEMBER_NAME(y,"y");
  	HX_MARK_MEMBER_NAME(scaleX,"scaleX");
  	HX_MARK_MEMBER_NAME(scaleY,"scaleY");
  	HX_MARK_MEMBER_NAME(totalScaleX,"totalScaleX");
  	HX_MARK_MEMBER_NAME(totalScaleY,"totalScaleY");
  	HX_MARK_MEMBER_NAME(style,"style");
  	HX_MARK_MEMBER_NAME(target,"target");
  	HX_MARK_MEMBER_NAME(targetOffset,"targetOffset");
  	HX_MARK_MEMBER_NAME(followLerp,"followLerp");
  	HX_MARK_MEMBER_NAME(deadzone,"deadzone");
  	HX_MARK_MEMBER_NAME(minScrollX,"minScrollX");
  	HX_MARK_MEMBER_NAME(maxScrollX,"maxScrollX");
  	HX_MARK_MEMBER_NAME(minScrollY,"minScrollY");
  	HX_MARK_MEMBER_NAME(maxScrollY,"maxScrollY");
  	HX_MARK_MEMBER_NAME(scroll,"scroll");
  	HX_MARK_MEMBER_NAME(buffer,"buffer");
  	HX_MARK_MEMBER_NAME(bgColor,"bgColor");
  	HX_MARK_MEMBER_NAME(screen,"screen");
  	HX_MARK_MEMBER_NAME(useBgAlphaBlending,"useBgAlphaBlending");
  	HX_MARK_MEMBER_NAME(flashSprite,"flashSprite");
  	HX_MARK_MEMBER_NAME(pixelPerfectRender,"pixelPerfectRender");
  	HX_MARK_MEMBER_NAME(width,"width");
  	HX_MARK_MEMBER_NAME(height,"height");
  	HX_MARK_MEMBER_NAME(zoom,"zoom");
  	HX_MARK_MEMBER_NAME(viewOffsetX,"viewOffsetX");
  	HX_MARK_MEMBER_NAME(viewOffsetY,"viewOffsetY");
  	HX_MARK_MEMBER_NAME(viewOffsetWidth,"viewOffsetWidth");
  	HX_MARK_MEMBER_NAME(viewOffsetHeight,"viewOffsetHeight");
  	HX_MARK_MEMBER_NAME(viewWidth,"viewWidth");
  	HX_MARK_MEMBER_NAME(viewHeight,"viewHeight");
  	HX_MARK_MEMBER_NAME(_blitMatrix,"_blitMatrix");
  	HX_MARK_MEMBER_NAME(_useBlitMatrix,"_useBlitMatrix");
  	HX_MARK_MEMBER_NAME(alpha,"alpha");
  	HX_MARK_MEMBER_NAME(angle,"angle");
  	HX_MARK_MEMBER_NAME(color,"color");
  	HX_MARK_MEMBER_NAME(antialiasing,"antialiasing");
  	HX_MARK_MEMBER_NAME(followLead,"followLead");
  	HX_MARK_MEMBER_NAME(filtersEnabled,"filtersEnabled");
  	HX_MARK_MEMBER_NAME(_flashRect,"_flashRect");
  	HX_MARK_MEMBER_NAME(_flashPoint,"_flashPoint");
  	HX_MARK_MEMBER_NAME(_flashOffset,"_flashOffset");
  	HX_MARK_MEMBER_NAME(_fxFlashColor,"_fxFlashColor");
  	HX_MARK_MEMBER_NAME(_fxFlashDuration,"_fxFlashDuration");
  	HX_MARK_MEMBER_NAME(_fxFlashComplete,"_fxFlashComplete");
  	HX_MARK_MEMBER_NAME(_fxFlashAlpha,"_fxFlashAlpha");
  	HX_MARK_MEMBER_NAME(_fxFadeColor,"_fxFadeColor");
  	HX_MARK_MEMBER_NAME(_lastTargetPosition,"_lastTargetPosition");
  	HX_MARK_MEMBER_NAME(_scrollTarget,"_scrollTarget");
  	HX_MARK_MEMBER_NAME(_fxFadeDuration,"_fxFadeDuration");
  	HX_MARK_MEMBER_NAME(_fxFadeIn,"_fxFadeIn");
  	HX_MARK_MEMBER_NAME(_fxFadeComplete,"_fxFadeComplete");
  	HX_MARK_MEMBER_NAME(_fxFadeCompleted,"_fxFadeCompleted");
  	HX_MARK_MEMBER_NAME(_fxFadeAlpha,"_fxFadeAlpha");
  	HX_MARK_MEMBER_NAME(_fxShakeIntensity,"_fxShakeIntensity");
  	HX_MARK_MEMBER_NAME(_fxShakeDuration,"_fxShakeDuration");
  	HX_MARK_MEMBER_NAME(_fxShakeComplete,"_fxShakeComplete");
  	HX_MARK_MEMBER_NAME(_fxShakeAxes,"_fxShakeAxes");
  	HX_MARK_MEMBER_NAME(_point,"_point");
  	HX_MARK_MEMBER_NAME(_filters,"_filters");
  	HX_MARK_MEMBER_NAME(initialZoom,"initialZoom");
  	HX_MARK_MEMBER_NAME(_fill,"_fill");
  	HX_MARK_MEMBER_NAME(_flashBitmap,"_flashBitmap");
  	HX_MARK_MEMBER_NAME(_scrollRect,"_scrollRect");
  	HX_MARK_MEMBER_NAME(_bounds,"_bounds");
  	HX_MARK_MEMBER_NAME(canvas,"canvas");
  	HX_MARK_MEMBER_NAME(_helperMatrix,"_helperMatrix");
  	HX_MARK_MEMBER_NAME(_helperPoint,"_helperPoint");
  	HX_MARK_MEMBER_NAME(_currentDrawItem,"_currentDrawItem");
  	HX_MARK_MEMBER_NAME(_headOfDrawStack,"_headOfDrawStack");
  	HX_MARK_MEMBER_NAME(_headTiles,"_headTiles");
  	HX_MARK_MEMBER_NAME(_headTriangles,"_headTriangles");
  	 ::flixel::FlxBasic_obj::__Mark(HX_MARK_ARG);
  	HX_MARK_END_CLASS();
  }
  
  void FlxCamera_obj::__Visit(HX_VISIT_PARAMS)
  {
  	HX_VISIT_MEMBER_NAME(x,"x");
  	HX_VISIT_MEMBER_NAME(y,"y");
  	HX_VISIT_MEMBER_NAME(scaleX,"scaleX");
  	HX_VISIT_MEMBER_NAME(scaleY,"scaleY");
  	HX_VISIT_MEMBER_NAME(totalScaleX,"totalScaleX");
  	HX_VISIT_MEMBER_NAME(totalScaleY,"totalScaleY");
  	HX_VISIT_MEMBER_NAME(style,"style");
  	HX_VISIT_MEMBER_NAME(target,"target");
  	HX_VISIT_MEMBER_NAME(targetOffset,"targetOffset");
  	HX_VISIT_MEMBER_NAME(followLerp,"followLerp");
  	HX_VISIT_MEMBER_NAME(deadzone,"deadzone");
  	HX_VISIT_MEMBER_NAME(minScrollX,"minScrollX");
  	HX_VISIT_MEMBER_NAME(maxScrollX,"maxScrollX");
  	HX_VISIT_MEMBER_NAME(minScrollY,"minScrollY");
  	HX_VISIT_MEMBER_NAME(maxScrollY,"maxScrollY");
  	HX_VISIT_MEMBER_NAME(scroll,"scroll");
  	HX_VISIT_MEMBER_NAME(buffer,"buffer");
  	HX_VISIT_MEMBER_NAME(bgColor,"bgColor");
  	HX_VISIT_MEMBER_NAME(screen,"screen");
  	HX_VISIT_MEMBER_NAME(useBgAlphaBlending,"useBgAlphaBlending");
  	HX_VISIT_MEMBER_NAME(flashSprite,"flashSprite");
  	HX_VISIT_MEMBER_NAME(pixelPerfectRender,"pixelPerfectRender");
  	HX_VISIT_MEMBER_NAME(width,"width");
  	HX_VISIT_MEMBER_NAME(height,"height");
  	HX_VISIT_MEMBER_NAME(zoom,"zoom");
  	HX_VISIT_MEMBER_NAME(viewOffsetX,"viewOffsetX");
  	HX_VISIT_MEMBER_NAME(viewOffsetY,"viewOffsetY");
  	HX_VISIT_MEMBER_NAME(viewOffsetWidth,"viewOffsetWidth");
  	HX_VISIT_MEMBER_NAME(viewOffsetHeight,"viewOffsetHeight");
  	HX_VISIT_MEMBER_NAME(viewWidth,"viewWidth");
  	HX_VISIT_MEMBER_NAME(viewHeight,"viewHeight");
  	HX_VISIT_MEMBER_NAME(_blitMatrix,"_blitMatrix");
  	HX_VISIT_MEMBER_NAME(_useBlitMatrix,"_useBlitMatrix");
  	HX_VISIT_MEMBER_NAME(alpha,"alpha");
  	HX_VISIT_MEMBER_NAME(angle,"angle");
  	HX_VISIT_MEMBER_NAME(color,"color");
  	HX_VISIT_MEMBER_NAME(antialiasing,"antialiasing");
  	HX_VISIT_MEMBER_NAME(followLead,"followLead");
  	HX_VISIT_MEMBER_NAME(filtersEnabled,"filtersEnabled");
  	HX_VISIT_MEMBER_NAME(_flashRect,"_flashRect");
  	HX_VISIT_MEMBER_NAME(_flashPoint,"_flashPoint");
  	HX_VISIT_MEMBER_NAME(_flashOffset,"_flashOffset");
  	HX_VISIT_MEMBER_NAME(_fxFlashColor,"_fxFlashColor");
  	HX_VISIT_MEMBER_NAME(_fxFlashDuration,"_fxFlashDuration");
  	HX_VISIT_MEMBER_NAME(_fxFlashComplete,"_fxFlashComplete");
  	HX_VISIT_MEMBER_NAME(_fxFlashAlpha,"_fxFlashAlpha");
  	HX_VISIT_MEMBER_NAME(_fxFadeColor,"_fxFadeColor");
  	HX_VISIT_MEMBER_NAME(_lastTargetPosition,"_lastTargetPosition");
  	HX_VISIT_MEMBER_NAME(_scrollTarget,"_scrollTarget");
  	HX_VISIT_MEMBER_NAME(_fxFadeDuration,"_fxFadeDuration");
  	HX_VISIT_MEMBER_NAME(_fxFadeIn,"_fxFadeIn");
  	HX_VISIT_MEMBER_NAME(_fxFadeComplete,"_fxFadeComplete");
  	HX_VISIT_MEMBER_NAME(_fxFadeCompleted,"_fxFadeCompleted");
  	HX_VISIT_MEMBER_NAME(_fxFadeAlpha,"_fxFadeAlpha");
  	HX_VISIT_MEMBER_NAME(_fxShakeIntensity,"_fxShakeIntensity");
  	HX_VISIT_MEMBER_NAME(_fxShakeDuration,"_fxShakeDuration");
  	HX_VISIT_MEMBER_NAME(_fxShakeComplete,"_fxShakeComplete");
  	HX_VISIT_MEMBER_NAME(_fxShakeAxes,"_fxShakeAxes");
  	HX_VISIT_MEMBER_NAME(_point,"_point");
  	HX_VISIT_MEMBER_NAME(_filters,"_filters");
  	HX_VISIT_MEMBER_NAME(initialZoom,"initialZoom");
  	HX_VISIT_MEMBER_NAME(_fill,"_fill");
  	HX_VISIT_MEMBER_NAME(_flashBitmap,"_flashBitmap");
  	HX_VISIT_MEMBER_NAME(_scrollRect,"_scrollRect");
  	HX_VISIT_MEMBER_NAME(_bounds,"_bounds");
  	HX_VISIT_MEMBER_NAME(canvas,"canvas");
  	HX_VISIT_MEMBER_NAME(_helperMatrix,"_helperMatrix");
  	HX_VISIT_MEMBER_NAME(_helperPoint,"_helperPoint");
  	HX_VISIT_MEMBER_NAME(_currentDrawItem,"_currentDrawItem");
  	HX_VISIT_MEMBER_NAME(_headOfDrawStack,"_headOfDrawStack");
  	HX_VISIT_MEMBER_NAME(_headTiles,"_headTiles");
  	HX_VISIT_MEMBER_NAME(_headTriangles,"_headTriangles");
  	 ::flixel::FlxBasic_obj::__Visit(HX_VISIT_ARG);
  }
  
  ::hx::Val FlxCamera_obj::__Field(const ::String &inName,::hx::PropertyAccess inCallProp)
  {
  	switch(inName.length) {
  	case 1:
  		if (HX_FIELD_EQ(inName,"x") ) { return ::hx::Val( x ); }
  		if (HX_FIELD_EQ(inName,"y") ) { return ::hx::Val( y ); }
  		break;
  	case 4:
  		if (HX_FIELD_EQ(inName,"zoom") ) { return ::hx::Val( zoom ); }
  		if (HX_FIELD_EQ(inName,"fade") ) { return ::hx::Val( fade_dyn() ); }
  		if (HX_FIELD_EQ(inName,"fill") ) { return ::hx::Val( fill_dyn() ); }
  		break;
  	case 5:
  		if (HX_FIELD_EQ(inName,"style") ) { return ::hx::Val( style ); }
  		if (HX_FIELD_EQ(inName,"width") ) { return ::hx::Val( width ); }
  		if (HX_FIELD_EQ(inName,"alpha") ) { return ::hx::Val( alpha ); }
  		if (HX_FIELD_EQ(inName,"angle") ) { return ::hx::Val( angle ); }
  		if (HX_FIELD_EQ(inName,"color") ) { return ::hx::Val( color ); }
  		if (HX_FIELD_EQ(inName,"_fill") ) { return ::hx::Val( _fill ); }
  		if (HX_FIELD_EQ(inName,"flash") ) { return ::hx::Val( flash_dyn() ); }
  		if (HX_FIELD_EQ(inName,"shake") ) { return ::hx::Val( shake_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_x") ) { return ::hx::Val( set_x_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_y") ) { return ::hx::Val( set_y_dyn() ); }
  		break;
  	case 6:
  		if (HX_FIELD_EQ(inName,"scaleX") ) { return ::hx::Val( scaleX ); }
  		if (HX_FIELD_EQ(inName,"scaleY") ) { return ::hx::Val( scaleY ); }
  		if (HX_FIELD_EQ(inName,"target") ) { return ::hx::Val( target ); }
  		if (HX_FIELD_EQ(inName,"scroll") ) { return ::hx::Val( scroll ); }
  		if (HX_FIELD_EQ(inName,"buffer") ) { return ::hx::Val( buffer ); }
  		if (HX_FIELD_EQ(inName,"screen") ) { return ::hx::Val( screen ); }
  		if (HX_FIELD_EQ(inName,"height") ) { return ::hx::Val( height ); }
  		if (HX_FIELD_EQ(inName,"_point") ) { return ::hx::Val( _point ); }
  		if (HX_FIELD_EQ(inName,"canvas") ) { return ::hx::Val( canvas ); }
  		if (HX_FIELD_EQ(inName,"render") ) { return ::hx::Val( render_dyn() ); }
  		if (HX_FIELD_EQ(inName,"update") ) { return ::hx::Val( update_dyn() ); }
  		if (HX_FIELD_EQ(inName,"follow") ) { return ::hx::Val( follow_dyn() ); }
  		if (HX_FIELD_EQ(inName,"stopFX") ) { return ::hx::Val( stopFX_dyn() ); }
  		if (HX_FIELD_EQ(inName,"drawFX") ) { return ::hx::Val( drawFX_dyn() ); }
  		break;
  	case 7:
  		if (HX_FIELD_EQ(inName,"bgColor") ) { return ::hx::Val( bgColor ); }
  		if (HX_FIELD_EQ(inName,"_bounds") ) { return ::hx::Val( _bounds ); }
  		if (HX_FIELD_EQ(inName,"destroy") ) { return ::hx::Val( destroy_dyn() ); }
  		if (HX_FIELD_EQ(inName,"focusOn") ) { return ::hx::Val( focusOn_dyn() ); }
  		if (HX_FIELD_EQ(inName,"setSize") ) { return ::hx::Val( setSize_dyn() ); }
  		break;
  	case 8:
  		if (HX_FIELD_EQ(inName,"deadzone") ) { return ::hx::Val( deadzone ); }
  		if (HX_FIELD_EQ(inName,"_filters") ) { return ::hx::Val( _filters ); }
  		if (HX_FIELD_EQ(inName,"copyFrom") ) { return ::hx::Val( copyFrom_dyn() ); }
  		if (HX_FIELD_EQ(inName,"setScale") ) { return ::hx::Val( setScale_dyn() ); }
  		if (HX_FIELD_EQ(inName,"onResize") ) { return ::hx::Val( onResize_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_zoom") ) { return ::hx::Val( set_zoom_dyn() ); }
  		break;
  	case 9:
  		if (HX_FIELD_EQ(inName,"viewWidth") ) { return ::hx::Val( viewWidth ); }
  		if (HX_FIELD_EQ(inName,"_fxFadeIn") ) { return ::hx::Val( _fxFadeIn ); }
  		if (HX_FIELD_EQ(inName,"set_width") ) { return ::hx::Val( set_width_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_alpha") ) { return ::hx::Val( set_alpha_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_angle") ) { return ::hx::Val( set_angle_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_color") ) { return ::hx::Val( set_color_dyn() ); }
  		break;
  	case 10:
  		if (HX_FIELD_EQ(inName,"followLerp") ) { return ::hx::Val( followLerp ); }
  		if (HX_FIELD_EQ(inName,"minScrollX") ) { return ::hx::Val( minScrollX ); }
  		if (HX_FIELD_EQ(inName,"maxScrollX") ) { return ::hx::Val( maxScrollX ); }
  		if (HX_FIELD_EQ(inName,"minScrollY") ) { return ::hx::Val( minScrollY ); }
  		if (HX_FIELD_EQ(inName,"maxScrollY") ) { return ::hx::Val( maxScrollY ); }
  		if (HX_FIELD_EQ(inName,"viewHeight") ) { return ::hx::Val( viewHeight ); }
  		if (HX_FIELD_EQ(inName,"followLead") ) { return ::hx::Val( followLead ); }
  		if (HX_FIELD_EQ(inName,"_flashRect") ) { return ::hx::Val( _flashRect ); }
  		if (HX_FIELD_EQ(inName,"_headTiles") ) { return ::hx::Val( _headTiles ); }
  		if (HX_FIELD_EQ(inName,"drawPixels") ) { return ::hx::Val( drawPixels_dyn() ); }
  		if (HX_FIELD_EQ(inName,"copyPixels") ) { return ::hx::Val( copyPixels_dyn() ); }
  		if (HX_FIELD_EQ(inName,"updateFade") ) { return ::hx::Val( updateFade_dyn() ); }
  		if (HX_FIELD_EQ(inName,"setFilters") ) { return ::hx::Val( setFilters_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_height") ) { return ::hx::Val( set_height_dyn() ); }
  		break;
  	case 11:
  		if (HX_FIELD_EQ(inName,"totalScaleX") ) { return ::hx::Val( totalScaleX ); }
  		if (HX_FIELD_EQ(inName,"totalScaleY") ) { return ::hx::Val( totalScaleY ); }
  		if (HX_FIELD_EQ(inName,"flashSprite") ) { return ::hx::Val( flashSprite ); }
  		if (HX_FIELD_EQ(inName,"viewOffsetX") ) { return ::hx::Val( viewOffsetX ); }
  		if (HX_FIELD_EQ(inName,"viewOffsetY") ) { return ::hx::Val( viewOffsetY ); }
  		if (HX_FIELD_EQ(inName,"_blitMatrix") ) { return ::hx::Val( _blitMatrix ); }
  		if (HX_FIELD_EQ(inName,"_flashPoint") ) { return ::hx::Val( _flashPoint ); }
  		if (HX_FIELD_EQ(inName,"initialZoom") ) { return ::hx::Val( initialZoom ); }
  		if (HX_FIELD_EQ(inName,"_scrollRect") ) { return ::hx::Val( _scrollRect ); }
  		if (HX_FIELD_EQ(inName,"updateFlash") ) { return ::hx::Val( updateFlash_dyn() ); }
  		if (HX_FIELD_EQ(inName,"updateShake") ) { return ::hx::Val( updateShake_dyn() ); }
  		if (HX_FIELD_EQ(inName,"checkResize") ) { return ::hx::Val( checkResize_dyn() ); }
  		if (HX_FIELD_EQ(inName,"setPosition") ) { return ::hx::Val( setPosition_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_visible") ) { return ::hx::Val( set_visible_dyn() ); }
  		if (HX_FIELD_EQ(inName,"calcOffsetX") ) { return ::hx::Val( calcOffsetX_dyn() ); }
  		if (HX_FIELD_EQ(inName,"calcOffsetY") ) { return ::hx::Val( calcOffsetY_dyn() ); }
  		break;
  	case 12:
  		if (HX_FIELD_EQ(inName,"targetOffset") ) { return ::hx::Val( targetOffset ); }
  		if (HX_FIELD_EQ(inName,"antialiasing") ) { return ::hx::Val( antialiasing ); }
  		if (HX_FIELD_EQ(inName,"_flashOffset") ) { return ::hx::Val( _flashOffset ); }
  		if (HX_FIELD_EQ(inName,"_fxFadeColor") ) { return ::hx::Val( _fxFadeColor ); }
  		if (HX_FIELD_EQ(inName,"_fxFadeAlpha") ) { return ::hx::Val( _fxFadeAlpha ); }
  		if (HX_FIELD_EQ(inName,"_fxShakeAxes") ) { return ::hx::Val( _fxShakeAxes ); }
  		if (HX_FIELD_EQ(inName,"_flashBitmap") ) { return ::hx::Val( _flashBitmap ); }
  		if (HX_FIELD_EQ(inName,"_helperPoint") ) { return ::hx::Val( _helperPoint ); }
  		if (HX_FIELD_EQ(inName,"updateScroll") ) { return ::hx::Val( updateScroll_dyn() ); }
  		if (HX_FIELD_EQ(inName,"updateFollow") ) { return ::hx::Val( updateFollow_dyn() ); }
  		if (HX_FIELD_EQ(inName,"completeFade") ) { return ::hx::Val( completeFade_dyn() ); }
  		if (HX_FIELD_EQ(inName,"snapToTarget") ) { return ::hx::Val( snapToTarget_dyn() ); }
  		break;
  	case 13:
  		if (HX_FIELD_EQ(inName,"_fxFlashColor") ) { return ::hx::Val( _fxFlashColor ); }
  		if (HX_FIELD_EQ(inName,"_fxFlashAlpha") ) { return ::hx::Val( _fxFlashAlpha ); }
  		if (HX_FIELD_EQ(inName,"_scrollTarget") ) { return ::hx::Val( _scrollTarget ); }
  		if (HX_FIELD_EQ(inName,"_helperMatrix") ) { return ::hx::Val( _helperMatrix ); }
  		if (HX_FIELD_EQ(inName,"drawTriangles") ) { return ::hx::Val( drawTriangles_dyn() ); }
  		if (HX_FIELD_EQ(inName,"transformRect") ) { return ::hx::Val( transformRect_dyn() ); }
  		if (HX_FIELD_EQ(inName,"containsPoint") ) { return ::hx::Val( containsPoint_dyn() ); }
  		break;
  	case 14:
  		if (HX_FIELD_EQ(inName,"_useBlitMatrix") ) { return ::hx::Val( _useBlitMatrix ); }
  		if (HX_FIELD_EQ(inName,"filtersEnabled") ) { return ::hx::Val( filtersEnabled ); }
  		if (HX_FIELD_EQ(inName,"_headTriangles") ) { return ::hx::Val( _headTriangles ); }
  		if (HX_FIELD_EQ(inName,"startQuadBatch") ) { return ::hx::Val( startQuadBatch_dyn() ); }
  		if (HX_FIELD_EQ(inName,"clearDrawStack") ) { return ::hx::Val( clearDrawStack_dyn() ); }
  		if (HX_FIELD_EQ(inName,"transformPoint") ) { return ::hx::Val( transformPoint_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_followLerp") ) { return ::hx::Val( set_followLerp_dyn() ); }
  		break;
  	case 15:
  		if (HX_FIELD_EQ(inName,"viewOffsetWidth") ) { return ::hx::Val( viewOffsetWidth ); }
  		if (HX_FIELD_EQ(inName,"_fxFadeDuration") ) { return ::hx::Val( _fxFadeDuration ); }
  		if (HX_FIELD_EQ(inName,"_fxFadeComplete") ) { return ::hx::Val( _fxFadeComplete ); }
  		if (HX_FIELD_EQ(inName,"transformVector") ) { return ::hx::Val( transformVector_dyn() ); }
  		if (HX_FIELD_EQ(inName,"transformObject") ) { return ::hx::Val( transformObject_dyn() ); }
  		if (HX_FIELD_EQ(inName,"setScrollBounds") ) { return ::hx::Val( setScrollBounds_dyn() ); }
  		break;
  	case 16:
  		if (HX_FIELD_EQ(inName,"viewOffsetHeight") ) { return ::hx::Val( viewOffsetHeight ); }
  		if (HX_FIELD_EQ(inName,"_fxFlashDuration") ) { return ::hx::Val( _fxFlashDuration ); }
  		if (HX_FIELD_EQ(inName,"_fxFlashComplete") ) { return ::hx::Val( _fxFlashComplete ); }
  		if (HX_FIELD_EQ(inName,"_fxFadeCompleted") ) { return ::hx::Val( _fxFadeCompleted ); }
  		if (HX_FIELD_EQ(inName,"_fxShakeDuration") ) { return ::hx::Val( _fxShakeDuration ); }
  		if (HX_FIELD_EQ(inName,"_fxShakeComplete") ) { return ::hx::Val( _fxShakeComplete ); }
  		if (HX_FIELD_EQ(inName,"_currentDrawItem") ) { return ::hx::Val( _currentDrawItem ); }
  		if (HX_FIELD_EQ(inName,"_headOfDrawStack") ) { return ::hx::Val( _headOfDrawStack ); }
  		if (HX_FIELD_EQ(inName,"updateScrollRect") ) { return ::hx::Val( updateScrollRect_dyn() ); }
  		if (HX_FIELD_EQ(inName,"updateBlitMatrix") ) { return ::hx::Val( updateBlitMatrix_dyn() ); }
  		if (HX_FIELD_EQ(inName,"set_antialiasing") ) { return ::hx::Val( set_antialiasing_dyn() ); }
  		break;
  	case 17:
  		if (HX_FIELD_EQ(inName,"_fxShakeIntensity") ) { return ::hx::Val( _fxShakeIntensity ); }
  		if (HX_FIELD_EQ(inName,"updateFlashOffset") ) { return ::hx::Val( updateFlashOffset_dyn() ); }
  		break;
  	case 18:
  		if (HX_FIELD_EQ(inName,"useBgAlphaBlending") ) { return ::hx::Val( useBgAlphaBlending ); }
  		if (HX_FIELD_EQ(inName,"pixelPerfectRender") ) { return ::hx::Val( pixelPerfectRender ); }
  		break;
  	case 19:
  		if (HX_FIELD_EQ(inName,"_lastTargetPosition") ) { return ::hx::Val( _lastTargetPosition ); }
  		if (HX_FIELD_EQ(inName,"startTrianglesBatch") ) { return ::hx::Val( startTrianglesBatch_dyn() ); }
  		if (HX_FIELD_EQ(inName,"setScrollBoundsRect") ) { return ::hx::Val( setScrollBoundsRect_dyn() ); }
  		break;
  	case 23:
  		if (HX_FIELD_EQ(inName,"getNewDrawTrianglesItem") ) { return ::hx::Val( getNewDrawTrianglesItem_dyn() ); }
  		break;
  	case 25:
  		if (HX_FIELD_EQ(inName,"updateFlashSpritePosition") ) { return ::hx::Val( updateFlashSpritePosition_dyn() ); }
  		break;
  	case 29:
  		if (HX_FIELD_EQ(inName,"updateInternalSpritePositions") ) { return ::hx::Val( updateInternalSpritePositions_dyn() ); }
  	}
  	return super::__Field(inName,inCallProp);
  }
  
  bool FlxCamera_obj::__GetStatic(const ::String &inName, Dynamic &outValue, ::hx::PropertyAccess inCallProp)
  {
  	switch(inName.length) {
  	case 10:
  		if (HX_FIELD_EQ(inName,"renderRect") ) { outValue = ( renderRect ); return true; }
  		break;
  	case 11:
  		if (HX_FIELD_EQ(inName,"defaultZoom") ) { outValue = ( defaultZoom ); return true; }
  		if (HX_FIELD_EQ(inName,"renderPoint") ) { outValue = ( renderPoint ); return true; }
  		break;
  	case 12:
  		if (HX_FIELD_EQ(inName,"drawVertices") ) { outValue = ( drawVertices ); return true; }
  		break;
  	case 14:
  		if (HX_FIELD_EQ(inName,"defaultCameras") ) { if (inCallProp == ::hx::paccAlways) { outValue = ( get_defaultCameras() ); return true; } }
  		break;
  	case 15:
  		if (HX_FIELD_EQ(inName,"_defaultCameras") ) { outValue = ( _defaultCameras ); return true; }
  		if (HX_FIELD_EQ(inName,"trianglesSprite") ) { outValue = ( trianglesSprite ); return true; }
  		break;
  	case 17:
  		if (HX_FIELD_EQ(inName,"_storageTilesHead") ) { outValue = ( _storageTilesHead ); return true; }
  		break;
  	case 18:
  		if (HX_FIELD_EQ(inName,"get_defaultCameras") ) { outValue = get_defaultCameras_dyn(); return true; }
  		if (HX_FIELD_EQ(inName,"set_defaultCameras") ) { outValue = set_defaultCameras_dyn(); return true; }
  		break;
  	case 21:
  		if (HX_FIELD_EQ(inName,"_storageTrianglesHead") ) { outValue = ( _storageTrianglesHead ); return true; }
  	}
  	return false;
  }
  
  ::hx::Val FlxCamera_obj::__SetField(const ::String &inName,const ::hx::Val &inValue,::hx::PropertyAccess inCallProp)
  {
  	switch(inName.length) {
  	case 1:
  		if (HX_FIELD_EQ(inName,"x") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_x(inValue.Cast< Float >()) );x=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"y") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_y(inValue.Cast< Float >()) );y=inValue.Cast< Float >(); return inValue; }
  		break;
  	case 4:
  		if (HX_FIELD_EQ(inName,"zoom") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_zoom(inValue.Cast< Float >()) );zoom=inValue.Cast< Float >(); return inValue; }
  		break;
  	case 5:
  		if (HX_FIELD_EQ(inName,"style") ) { style=inValue.Cast<  ::flixel::FlxCameraFollowStyle >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"width") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_width(inValue.Cast< int >()) );width=inValue.Cast< int >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"alpha") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_alpha(inValue.Cast< Float >()) );alpha=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"angle") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_angle(inValue.Cast< Float >()) );angle=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"color") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_color(inValue.Cast< int >()) );color=inValue.Cast< int >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fill") ) { _fill=inValue.Cast<  ::openfl::display::BitmapData >(); return inValue; }
  		break;
  	case 6:
  		if (HX_FIELD_EQ(inName,"scaleX") ) { scaleX=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"scaleY") ) { scaleY=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"target") ) { target=inValue.Cast<  ::flixel::FlxObject >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"scroll") ) { scroll=inValue.Cast<  ::flixel::math::FlxPoint >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"buffer") ) { buffer=inValue.Cast<  ::openfl::display::BitmapData >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"screen") ) { screen=inValue.Cast<  ::flixel::FlxSprite >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"height") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_height(inValue.Cast< int >()) );height=inValue.Cast< int >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_point") ) { _point=inValue.Cast<  ::flixel::math::FlxPoint >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"canvas") ) { canvas=inValue.Cast<  ::openfl::display::Sprite >(); return inValue; }
  		break;
  	case 7:
  		if (HX_FIELD_EQ(inName,"bgColor") ) { bgColor=inValue.Cast< int >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_bounds") ) { _bounds=inValue.Cast<  ::flixel::math::FlxRect >(); return inValue; }
  		break;
  	case 8:
  		if (HX_FIELD_EQ(inName,"deadzone") ) { deadzone=inValue.Cast<  ::flixel::math::FlxRect >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_filters") ) { _filters=inValue.Cast< ::Array< ::Dynamic> >(); return inValue; }
  		break;
  	case 9:
  		if (HX_FIELD_EQ(inName,"viewWidth") ) { viewWidth=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFadeIn") ) { _fxFadeIn=inValue.Cast< bool >(); return inValue; }
  		break;
  	case 10:
  		if (HX_FIELD_EQ(inName,"followLerp") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_followLerp(inValue.Cast< Float >()) );followLerp=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"minScrollX") ) { minScrollX=inValue.Cast<  ::Dynamic >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"maxScrollX") ) { maxScrollX=inValue.Cast<  ::Dynamic >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"minScrollY") ) { minScrollY=inValue.Cast<  ::Dynamic >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"maxScrollY") ) { maxScrollY=inValue.Cast<  ::Dynamic >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"viewHeight") ) { viewHeight=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"followLead") ) { followLead=inValue.Cast<  ::flixel::math::FlxPoint >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_flashRect") ) { _flashRect=inValue.Cast<  ::openfl::geom::Rectangle >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_headTiles") ) { _headTiles=inValue.Cast<  ::flixel::graphics::tile::FlxDrawQuadsItem >(); return inValue; }
  		break;
  	case 11:
  		if (HX_FIELD_EQ(inName,"totalScaleX") ) { totalScaleX=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"totalScaleY") ) { totalScaleY=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"flashSprite") ) { flashSprite=inValue.Cast<  ::openfl::display::Sprite >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"viewOffsetX") ) { viewOffsetX=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"viewOffsetY") ) { viewOffsetY=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_blitMatrix") ) { _blitMatrix=inValue.Cast<  ::flixel::math::FlxMatrix >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_flashPoint") ) { _flashPoint=inValue.Cast<  ::openfl::geom::Point >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"initialZoom") ) { initialZoom=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_scrollRect") ) { _scrollRect=inValue.Cast<  ::openfl::display::Sprite >(); return inValue; }
  		break;
  	case 12:
  		if (HX_FIELD_EQ(inName,"targetOffset") ) { targetOffset=inValue.Cast<  ::flixel::math::FlxPoint >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"antialiasing") ) { if (inCallProp == ::hx::paccAlways) return ::hx::Val( set_antialiasing(inValue.Cast< bool >()) );antialiasing=inValue.Cast< bool >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_flashOffset") ) { _flashOffset=inValue.Cast<  ::flixel::math::FlxPoint >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFadeColor") ) { _fxFadeColor=inValue.Cast< int >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFadeAlpha") ) { _fxFadeAlpha=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxShakeAxes") ) { _fxShakeAxes=inValue.Cast<  ::flixel::util::FlxAxes >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_flashBitmap") ) { _flashBitmap=inValue.Cast<  ::openfl::display::Bitmap >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_helperPoint") ) { _helperPoint=inValue.Cast<  ::openfl::geom::Point >(); return inValue; }
  		break;
  	case 13:
  		if (HX_FIELD_EQ(inName,"_fxFlashColor") ) { _fxFlashColor=inValue.Cast< int >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFlashAlpha") ) { _fxFlashAlpha=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_scrollTarget") ) { _scrollTarget=inValue.Cast<  ::flixel::math::FlxPoint >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_helperMatrix") ) { _helperMatrix=inValue.Cast<  ::flixel::math::FlxMatrix >(); return inValue; }
  		break;
  	case 14:
  		if (HX_FIELD_EQ(inName,"_useBlitMatrix") ) { _useBlitMatrix=inValue.Cast< bool >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"filtersEnabled") ) { filtersEnabled=inValue.Cast< bool >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_headTriangles") ) { _headTriangles=inValue.Cast<  ::flixel::graphics::tile::FlxDrawTrianglesItem >(); return inValue; }
  		break;
  	case 15:
  		if (HX_FIELD_EQ(inName,"viewOffsetWidth") ) { viewOffsetWidth=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFadeDuration") ) { _fxFadeDuration=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFadeComplete") ) { _fxFadeComplete=inValue.Cast<  ::Dynamic >(); return inValue; }
  		break;
  	case 16:
  		if (HX_FIELD_EQ(inName,"viewOffsetHeight") ) { viewOffsetHeight=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFlashDuration") ) { _fxFlashDuration=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFlashComplete") ) { _fxFlashComplete=inValue.Cast<  ::Dynamic >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxFadeCompleted") ) { _fxFadeCompleted=inValue.Cast< bool >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxShakeDuration") ) { _fxShakeDuration=inValue.Cast< Float >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_fxShakeComplete") ) { _fxShakeComplete=inValue.Cast<  ::Dynamic >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_currentDrawItem") ) { _currentDrawItem=inValue.Cast<  ::flixel::graphics::tile::FlxDrawBaseItem >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"_headOfDrawStack") ) { _headOfDrawStack=inValue.Cast<  ::flixel::graphics::tile::FlxDrawBaseItem >(); return inValue; }
  		break;
  	case 17:
  		if (HX_FIELD_EQ(inName,"_fxShakeIntensity") ) { _fxShakeIntensity=inValue.Cast< Float >(); return inValue; }
  		break;
  	case 18:
  		if (HX_FIELD_EQ(inName,"useBgAlphaBlending") ) { useBgAlphaBlending=inValue.Cast< bool >(); return inValue; }
  		if (HX_FIELD_EQ(inName,"pixelPerfectRender") ) { pixelPerfectRender=inValue.Cast< bool >(); return inValue; }
  		break;
  	case 19:
  		if (HX_FIELD_EQ(inName,"_lastTargetPosition") ) { _lastTargetPosition=inValue.Cast<  ::flixel::math::FlxPoint >(); return inValue; }
  	}
  	return super::__SetField(inName,inValue,inCallProp);
  }
  
  bool FlxCamera_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,::hx::PropertyAccess inCallProp)
  {
  	switch(inName.length) {
  	case 10:
  		if (HX_FIELD_EQ(inName,"renderRect") ) { renderRect=ioValue.Cast<  ::flixel::math::FlxRect >(); return true; }
  		break;
  	case 11:
  		if (HX_FIELD_EQ(inName,"defaultZoom") ) { defaultZoom=ioValue.Cast< Float >(); return true; }
  		if (HX_FIELD_EQ(inName,"renderPoint") ) { renderPoint=ioValue.Cast<  ::flixel::math::FlxPoint >(); return true; }
  		break;
  	case 12:
  		if (HX_FIELD_EQ(inName,"drawVertices") ) { drawVertices=ioValue.Cast<  ::openfl::_Vector::FloatVector >(); return true; }
  		break;
  	case 14:
  		if (HX_FIELD_EQ(inName,"defaultCameras") ) { if (inCallProp == ::hx::paccAlways)  ioValue = ( set_defaultCameras(ioValue.Cast< ::Array< ::Dynamic> >()) ); }
  		break;
  	case 15:
  		if (HX_FIELD_EQ(inName,"_defaultCameras") ) { _defaultCameras=ioValue.Cast< ::Array< ::Dynamic> >(); return true; }
  		if (HX_FIELD_EQ(inName,"trianglesSprite") ) { trianglesSprite=ioValue.Cast<  ::openfl::display::Sprite >(); return true; }
  		break;
  	case 17:
  		if (HX_FIELD_EQ(inName,"_storageTilesHead") ) { _storageTilesHead=ioValue.Cast<  ::flixel::graphics::tile::FlxDrawQuadsItem >(); return true; }
  		break;
  	case 21:
  		if (HX_FIELD_EQ(inName,"_storageTrianglesHead") ) { _storageTrianglesHead=ioValue.Cast<  ::flixel::graphics::tile::FlxDrawTrianglesItem >(); return true; }
  	}
  	return false;
  }
  
  void FlxCamera_obj::__GetFields(Array< ::String> &outFields)
  {
  	outFields->push(HX_("x",78,00,00,00));
  	outFields->push(HX_("y",79,00,00,00));
  	outFields->push(HX_("scaleX",8e,ea,25,3c));
  	outFields->push(HX_("scaleY",8f,ea,25,3c));
  	outFields->push(HX_("totalScaleX",72,dd,5b,02));
  	outFields->push(HX_("totalScaleY",73,dd,5b,02));
  	outFields->push(HX_("style",31,a5,1d,84));
  	outFields->push(HX_("target",51,f3,ec,86));
  	outFields->push(HX_("targetOffset",c4,d1,c3,1c));
  	outFields->push(HX_("followLerp",88,dc,83,d9));
  	outFields->push(HX_("deadzone",d0,12,55,6d));
  	outFields->push(HX_("minScrollX",39,80,8f,f6));
  	outFields->push(HX_("maxScrollX",67,ad,fc,9a));
  	outFields->push(HX_("minScrollY",3a,80,8f,f6));
  	outFields->push(HX_("maxScrollY",68,ad,fc,9a));
  	outFields->push(HX_("scroll",0d,d8,64,47));
  	outFields->push(HX_("buffer",00,bd,94,d0));
  	outFields->push(HX_("bgColor",5e,81,83,f7));
  	outFields->push(HX_("screen",6c,3b,5d,47));
  	outFields->push(HX_("useBgAlphaBlending",23,25,12,b2));
  	outFields->push(HX_("flashSprite",d5,e9,0d,f4));
  	outFields->push(HX_("pixelPerfectRender",dd,59,4f,2f));
  	outFields->push(HX_("width",06,b6,62,ca));
  	outFields->push(HX_("height",e7,07,4c,02));
  	outFields->push(HX_("zoom",13,a3,f8,50));
  	outFields->push(HX_("viewOffsetX",80,45,78,b9));
  	outFields->push(HX_("viewOffsetY",81,45,78,b9));
  	outFields->push(HX_("viewOffsetWidth",0e,1f,16,e1));
  	outFields->push(HX_("viewOffsetHeight",df,85,94,c8));
  	outFields->push(HX_("viewWidth",61,25,f7,0a));
  	outFields->push(HX_("viewHeight",2c,08,99,43));
  	outFields->push(HX_("_blitMatrix",75,45,ab,aa));
  	outFields->push(HX_("_useBlitMatrix",be,57,dc,4e));
  	outFields->push(HX_("alpha",5e,a7,96,21));
  	outFields->push(HX_("angle",d3,43,e2,22));
  	outFields->push(HX_("color",63,71,5c,4a));
  	outFields->push(HX_("antialiasing",f4,16,b3,48));
  	outFields->push(HX_("followLead",ad,cd,83,d9));
  	outFields->push(HX_("filtersEnabled",06,08,9b,18));
  	outFields->push(HX_("_flashRect",b5,c2,f3,5d));
  	outFields->push(HX_("_flashPoint",9f,1d,2a,b7));
  	outFields->push(HX_("_flashOffset",64,53,c1,f6));
  	outFields->push(HX_("_fxFlashColor",64,98,14,dc));
  	outFields->push(HX_("_fxFlashDuration",f3,7e,d1,2d));
  	outFields->push(HX_("_fxFlashAlpha",5f,ce,4e,b3));
  	outFields->push(HX_("_fxFadeColor",96,44,a8,b9));
  	outFields->push(HX_("_lastTargetPosition",2f,d6,08,c4));
  	outFields->push(HX_("_scrollTarget",1d,da,1d,c1));
  	outFields->push(HX_("_fxFadeDuration",01,fe,dd,9f));
  	outFields->push(HX_("_fxFadeIn",d2,da,fe,a8));
  	outFields->push(HX_("_fxFadeCompleted",3e,8a,d9,a9));
  	outFields->push(HX_("_fxFadeAlpha",91,7a,e2,90));
  	outFields->push(HX_("_fxShakeIntensity",5e,86,94,7a));
  	outFields->push(HX_("_fxShakeDuration",09,2e,72,36));
  	outFields->push(HX_("_fxShakeAxes",5a,79,f0,5e));
  	outFields->push(HX_("_point",91,fb,76,c2));
  	outFields->push(HX_("_filters",3c,fb,fe,42));
  	outFields->push(HX_("initialZoom",b7,71,1d,2d));
  	outFields->push(HX_("_fill",62,ea,cc,f6));
  	outFields->push(HX_("_flashBitmap",c0,cb,8d,87));
  	outFields->push(HX_("_scrollRect",f0,a8,f0,db));
  	outFields->push(HX_("_bounds",14,98,94,d4));
  	outFields->push(HX_("canvas",d8,54,42,b8));
  	outFields->push(HX_("_helperMatrix",2e,81,ce,de));
  	outFields->push(HX_("_helperPoint",03,e6,14,f8));
  	outFields->push(HX_("_currentDrawItem",11,6b,5a,19));
  	outFields->push(HX_("_headOfDrawStack",ce,c5,68,ac));
  	outFields->push(HX_("_headTiles",06,ac,50,ff));
  	outFields->push(HX_("_headTriangles",ac,b3,7c,97));
  	super::__GetFields(outFields);
  };
  
  #ifdef HXCPP_SCRIPTABLE
  static ::hx::StorageInfo FlxCamera_obj_sMemberStorageInfo[] = {
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,x),HX_("x",78,00,00,00)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,y),HX_("y",79,00,00,00)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,scaleX),HX_("scaleX",8e,ea,25,3c)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,scaleY),HX_("scaleY",8f,ea,25,3c)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,totalScaleX),HX_("totalScaleX",72,dd,5b,02)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,totalScaleY),HX_("totalScaleY",73,dd,5b,02)},
  	{::hx::fsObject /*  ::flixel::FlxCameraFollowStyle */ ,(int)offsetof(FlxCamera_obj,style),HX_("style",31,a5,1d,84)},
  	{::hx::fsObject /*  ::flixel::FlxObject */ ,(int)offsetof(FlxCamera_obj,target),HX_("target",51,f3,ec,86)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(int)offsetof(FlxCamera_obj,targetOffset),HX_("targetOffset",c4,d1,c3,1c)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,followLerp),HX_("followLerp",88,dc,83,d9)},
  	{::hx::fsObject /*  ::flixel::math::FlxRect */ ,(int)offsetof(FlxCamera_obj,deadzone),HX_("deadzone",d0,12,55,6d)},
  	{::hx::fsObject /*  ::Dynamic */ ,(int)offsetof(FlxCamera_obj,minScrollX),HX_("minScrollX",39,80,8f,f6)},
  	{::hx::fsObject /*  ::Dynamic */ ,(int)offsetof(FlxCamera_obj,maxScrollX),HX_("maxScrollX",67,ad,fc,9a)},
  	{::hx::fsObject /*  ::Dynamic */ ,(int)offsetof(FlxCamera_obj,minScrollY),HX_("minScrollY",3a,80,8f,f6)},
  	{::hx::fsObject /*  ::Dynamic */ ,(int)offsetof(FlxCamera_obj,maxScrollY),HX_("maxScrollY",68,ad,fc,9a)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(int)offsetof(FlxCamera_obj,scroll),HX_("scroll",0d,d8,64,47)},
  	{::hx::fsObject /*  ::openfl::display::BitmapData */ ,(int)offsetof(FlxCamera_obj,buffer),HX_("buffer",00,bd,94,d0)},
  	{::hx::fsInt,(int)offsetof(FlxCamera_obj,bgColor),HX_("bgColor",5e,81,83,f7)},
  	{::hx::fsObject /*  ::flixel::FlxSprite */ ,(int)offsetof(FlxCamera_obj,screen),HX_("screen",6c,3b,5d,47)},
  	{::hx::fsBool,(int)offsetof(FlxCamera_obj,useBgAlphaBlending),HX_("useBgAlphaBlending",23,25,12,b2)},
  	{::hx::fsObject /*  ::openfl::display::Sprite */ ,(int)offsetof(FlxCamera_obj,flashSprite),HX_("flashSprite",d5,e9,0d,f4)},
  	{::hx::fsBool,(int)offsetof(FlxCamera_obj,pixelPerfectRender),HX_("pixelPerfectRender",dd,59,4f,2f)},
  	{::hx::fsInt,(int)offsetof(FlxCamera_obj,width),HX_("width",06,b6,62,ca)},
  	{::hx::fsInt,(int)offsetof(FlxCamera_obj,height),HX_("height",e7,07,4c,02)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,zoom),HX_("zoom",13,a3,f8,50)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,viewOffsetX),HX_("viewOffsetX",80,45,78,b9)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,viewOffsetY),HX_("viewOffsetY",81,45,78,b9)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,viewOffsetWidth),HX_("viewOffsetWidth",0e,1f,16,e1)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,viewOffsetHeight),HX_("viewOffsetHeight",df,85,94,c8)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,viewWidth),HX_("viewWidth",61,25,f7,0a)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,viewHeight),HX_("viewHeight",2c,08,99,43)},
  	{::hx::fsObject /*  ::flixel::math::FlxMatrix */ ,(int)offsetof(FlxCamera_obj,_blitMatrix),HX_("_blitMatrix",75,45,ab,aa)},
  	{::hx::fsBool,(int)offsetof(FlxCamera_obj,_useBlitMatrix),HX_("_useBlitMatrix",be,57,dc,4e)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,alpha),HX_("alpha",5e,a7,96,21)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,angle),HX_("angle",d3,43,e2,22)},
  	{::hx::fsInt,(int)offsetof(FlxCamera_obj,color),HX_("color",63,71,5c,4a)},
  	{::hx::fsBool,(int)offsetof(FlxCamera_obj,antialiasing),HX_("antialiasing",f4,16,b3,48)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(int)offsetof(FlxCamera_obj,followLead),HX_("followLead",ad,cd,83,d9)},
  	{::hx::fsBool,(int)offsetof(FlxCamera_obj,filtersEnabled),HX_("filtersEnabled",06,08,9b,18)},
  	{::hx::fsObject /*  ::openfl::geom::Rectangle */ ,(int)offsetof(FlxCamera_obj,_flashRect),HX_("_flashRect",b5,c2,f3,5d)},
  	{::hx::fsObject /*  ::openfl::geom::Point */ ,(int)offsetof(FlxCamera_obj,_flashPoint),HX_("_flashPoint",9f,1d,2a,b7)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(int)offsetof(FlxCamera_obj,_flashOffset),HX_("_flashOffset",64,53,c1,f6)},
  	{::hx::fsInt,(int)offsetof(FlxCamera_obj,_fxFlashColor),HX_("_fxFlashColor",64,98,14,dc)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,_fxFlashDuration),HX_("_fxFlashDuration",f3,7e,d1,2d)},
  	{::hx::fsObject /*  ::Dynamic */ ,(int)offsetof(FlxCamera_obj,_fxFlashComplete),HX_("_fxFlashComplete",58,70,0b,99)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,_fxFlashAlpha),HX_("_fxFlashAlpha",5f,ce,4e,b3)},
  	{::hx::fsInt,(int)offsetof(FlxCamera_obj,_fxFadeColor),HX_("_fxFadeColor",96,44,a8,b9)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(int)offsetof(FlxCamera_obj,_lastTargetPosition),HX_("_lastTargetPosition",2f,d6,08,c4)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(int)offsetof(FlxCamera_obj,_scrollTarget),HX_("_scrollTarget",1d,da,1d,c1)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,_fxFadeDuration),HX_("_fxFadeDuration",01,fe,dd,9f)},
  	{::hx::fsBool,(int)offsetof(FlxCamera_obj,_fxFadeIn),HX_("_fxFadeIn",d2,da,fe,a8)},
  	{::hx::fsObject /*  ::Dynamic */ ,(int)offsetof(FlxCamera_obj,_fxFadeComplete),HX_("_fxFadeComplete",66,ef,17,0b)},
  	{::hx::fsBool,(int)offsetof(FlxCamera_obj,_fxFadeCompleted),HX_("_fxFadeCompleted",3e,8a,d9,a9)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,_fxFadeAlpha),HX_("_fxFadeAlpha",91,7a,e2,90)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,_fxShakeIntensity),HX_("_fxShakeIntensity",5e,86,94,7a)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,_fxShakeDuration),HX_("_fxShakeDuration",09,2e,72,36)},
  	{::hx::fsObject /*  ::Dynamic */ ,(int)offsetof(FlxCamera_obj,_fxShakeComplete),HX_("_fxShakeComplete",6e,1f,ac,a1)},
  	{::hx::fsObject /*  ::flixel::util::FlxAxes */ ,(int)offsetof(FlxCamera_obj,_fxShakeAxes),HX_("_fxShakeAxes",5a,79,f0,5e)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(int)offsetof(FlxCamera_obj,_point),HX_("_point",91,fb,76,c2)},
  	{::hx::fsObject /* ::Array< ::Dynamic> */ ,(int)offsetof(FlxCamera_obj,_filters),HX_("_filters",3c,fb,fe,42)},
  	{::hx::fsFloat,(int)offsetof(FlxCamera_obj,initialZoom),HX_("initialZoom",b7,71,1d,2d)},
  	{::hx::fsObject /*  ::openfl::display::BitmapData */ ,(int)offsetof(FlxCamera_obj,_fill),HX_("_fill",62,ea,cc,f6)},
  	{::hx::fsObject /*  ::openfl::display::Bitmap */ ,(int)offsetof(FlxCamera_obj,_flashBitmap),HX_("_flashBitmap",c0,cb,8d,87)},
  	{::hx::fsObject /*  ::openfl::display::Sprite */ ,(int)offsetof(FlxCamera_obj,_scrollRect),HX_("_scrollRect",f0,a8,f0,db)},
  	{::hx::fsObject /*  ::flixel::math::FlxRect */ ,(int)offsetof(FlxCamera_obj,_bounds),HX_("_bounds",14,98,94,d4)},
  	{::hx::fsObject /*  ::openfl::display::Sprite */ ,(int)offsetof(FlxCamera_obj,canvas),HX_("canvas",d8,54,42,b8)},
  	{::hx::fsObject /*  ::flixel::math::FlxMatrix */ ,(int)offsetof(FlxCamera_obj,_helperMatrix),HX_("_helperMatrix",2e,81,ce,de)},
  	{::hx::fsObject /*  ::openfl::geom::Point */ ,(int)offsetof(FlxCamera_obj,_helperPoint),HX_("_helperPoint",03,e6,14,f8)},
  	{::hx::fsObject /*  ::flixel::graphics::tile::FlxDrawBaseItem */ ,(int)offsetof(FlxCamera_obj,_currentDrawItem),HX_("_currentDrawItem",11,6b,5a,19)},
  	{::hx::fsObject /*  ::flixel::graphics::tile::FlxDrawBaseItem */ ,(int)offsetof(FlxCamera_obj,_headOfDrawStack),HX_("_headOfDrawStack",ce,c5,68,ac)},
  	{::hx::fsObject /*  ::flixel::graphics::tile::FlxDrawQuadsItem */ ,(int)offsetof(FlxCamera_obj,_headTiles),HX_("_headTiles",06,ac,50,ff)},
  	{::hx::fsObject /*  ::flixel::graphics::tile::FlxDrawTrianglesItem */ ,(int)offsetof(FlxCamera_obj,_headTriangles),HX_("_headTriangles",ac,b3,7c,97)},
  	{ ::hx::fsUnknown, 0, null()}
  };
  static ::hx::StaticInfo FlxCamera_obj_sStaticStorageInfo[] = {
  	{::hx::fsFloat,(void *) &FlxCamera_obj::defaultZoom,HX_("defaultZoom",74,9c,b7,22)},
  	{::hx::fsObject /* ::Array< ::Dynamic> */ ,(void *) &FlxCamera_obj::_defaultCameras,HX_("_defaultCameras",0c,2c,d2,5b)},
  	{::hx::fsObject /*  ::flixel::graphics::tile::FlxDrawQuadsItem */ ,(void *) &FlxCamera_obj::_storageTilesHead,HX_("_storageTilesHead",e9,a8,61,af)},
  	{::hx::fsObject /*  ::flixel::graphics::tile::FlxDrawTrianglesItem */ ,(void *) &FlxCamera_obj::_storageTrianglesHead,HX_("_storageTrianglesHead",0f,09,78,17)},
  	{::hx::fsObject /*  ::openfl::_Vector::FloatVector */ ,(void *) &FlxCamera_obj::drawVertices,HX_("drawVertices",1d,4c,09,40)},
  	{::hx::fsObject /*  ::openfl::display::Sprite */ ,(void *) &FlxCamera_obj::trianglesSprite,HX_("trianglesSprite",10,d3,45,ab)},
  	{::hx::fsObject /*  ::flixel::math::FlxPoint */ ,(void *) &FlxCamera_obj::renderPoint,HX_("renderPoint",1a,e1,40,92)},
  	{::hx::fsObject /*  ::flixel::math::FlxRect */ ,(void *) &FlxCamera_obj::renderRect,HX_("renderRect",9a,47,b1,e8)},
  	{ ::hx::fsUnknown, 0, null()}
  };
  #endif
  
  static ::String FlxCamera_obj_sMemberFields[] = {
  	HX_("x",78,00,00,00),
  	HX_("y",79,00,00,00),
  	HX_("scaleX",8e,ea,25,3c),
  	HX_("scaleY",8f,ea,25,3c),
  	HX_("totalScaleX",72,dd,5b,02),
  	HX_("totalScaleY",73,dd,5b,02),
  	HX_("style",31,a5,1d,84),
  	HX_("target",51,f3,ec,86),
  	HX_("targetOffset",c4,d1,c3,1c),
  	HX_("followLerp",88,dc,83,d9),
  	HX_("deadzone",d0,12,55,6d),
  	HX_("minScrollX",39,80,8f,f6),
  	HX_("maxScrollX",67,ad,fc,9a),
  	HX_("minScrollY",3a,80,8f,f6),
  	HX_("maxScrollY",68,ad,fc,9a),
  	HX_("scroll",0d,d8,64,47),
  	HX_("buffer",00,bd,94,d0),
  	HX_("bgColor",5e,81,83,f7),
  	HX_("screen",6c,3b,5d,47),
  	HX_("useBgAlphaBlending",23,25,12,b2),
  	HX_("flashSprite",d5,e9,0d,f4),
  	HX_("pixelPerfectRender",dd,59,4f,2f),
  	HX_("width",06,b6,62,ca),
  	HX_("height",e7,07,4c,02),
  	HX_("zoom",13,a3,f8,50),
  	HX_("viewOffsetX",80,45,78,b9),
  	HX_("viewOffsetY",81,45,78,b9),
  	HX_("viewOffsetWidth",0e,1f,16,e1),
  	HX_("viewOffsetHeight",df,85,94,c8),
  	HX_("viewWidth",61,25,f7,0a),
  	HX_("viewHeight",2c,08,99,43),
  	HX_("_blitMatrix",75,45,ab,aa),
  	HX_("_useBlitMatrix",be,57,dc,4e),
  	HX_("alpha",5e,a7,96,21),
  	HX_("angle",d3,43,e2,22),
  	HX_("color",63,71,5c,4a),
  	HX_("antialiasing",f4,16,b3,48),
  	HX_("followLead",ad,cd,83,d9),
  	HX_("filtersEnabled",06,08,9b,18),
  	HX_("_flashRect",b5,c2,f3,5d),
  	HX_("_flashPoint",9f,1d,2a,b7),
  	HX_("_flashOffset",64,53,c1,f6),
  	HX_("_fxFlashColor",64,98,14,dc),
  	HX_("_fxFlashDuration",f3,7e,d1,2d),
  	HX_("_fxFlashComplete",58,70,0b,99),
  	HX_("_fxFlashAlpha",5f,ce,4e,b3),
  	HX_("_fxFadeColor",96,44,a8,b9),
  	HX_("_lastTargetPosition",2f,d6,08,c4),
  	HX_("_scrollTarget",1d,da,1d,c1),
  	HX_("_fxFadeDuration",01,fe,dd,9f),
  	HX_("_fxFadeIn",d2,da,fe,a8),
  	HX_("_fxFadeComplete",66,ef,17,0b),
  	HX_("_fxFadeCompleted",3e,8a,d9,a9),
  	HX_("_fxFadeAlpha",91,7a,e2,90),
  	HX_("_fxShakeIntensity",5e,86,94,7a),
  	HX_("_fxShakeDuration",09,2e,72,36),
  	HX_("_fxShakeComplete",6e,1f,ac,a1),
  	HX_("_fxShakeAxes",5a,79,f0,5e),
  	HX_("_point",91,fb,76,c2),
  	HX_("_filters",3c,fb,fe,42),
  	HX_("initialZoom",b7,71,1d,2d),
  	HX_("_fill",62,ea,cc,f6),
  	HX_("_flashBitmap",c0,cb,8d,87),
  	HX_("_scrollRect",f0,a8,f0,db),
  	HX_("_bounds",14,98,94,d4),
  	HX_("canvas",d8,54,42,b8),
  	HX_("_helperMatrix",2e,81,ce,de),
  	HX_("_helperPoint",03,e6,14,f8),
  	HX_("_currentDrawItem",11,6b,5a,19),
  	HX_("_headOfDrawStack",ce,c5,68,ac),
  	HX_("_headTiles",06,ac,50,ff),
  	HX_("_headTriangles",ac,b3,7c,97),
  	HX_("startQuadBatch",b1,bc,12,5e),
  	HX_("startTrianglesBatch",11,0b,b7,6e),
  	HX_("getNewDrawTrianglesItem",f0,c3,0a,12),
  	HX_("clearDrawStack",57,f1,1b,0a),
  	HX_("render",56,6b,29,05),
  	HX_("drawPixels",51,6a,6d,ce),
  	HX_("copyPixels",c2,54,6e,42),
  	HX_("drawTriangles",07,44,68,de),
  	HX_("transformRect",b0,cc,f4,78),
  	HX_("transformPoint",44,cf,11,3d),
  	HX_("transformVector",4f,2b,b3,d2),
  	HX_("transformObject",4b,f9,94,50),
  	HX_("destroy",fa,2c,86,24),
  	HX_("update",09,86,05,87),
  	HX_("updateScroll",f6,7e,28,47),
  	HX_("updateFollow",5a,38,5a,f9),
  	HX_("updateFlash",e7,9e,24,e8),
  	HX_("updateFade",25,a0,6a,fc),
  	HX_("completeFade",d5,32,78,b7),
  	HX_("updateShake",fd,47,b5,61),
  	HX_("updateFlashSpritePosition",15,1f,55,df),
  	HX_("updateFlashOffset",da,51,21,f5),
  	HX_("updateScrollRect",3a,ab,52,53),
  	HX_("updateInternalSpritePositions",1f,1f,f9,76),
  	HX_("follow",71,91,96,f9),
  	HX_("snapToTarget",96,07,43,96),
  	HX_("focusOn",17,4b,83,41),
  	HX_("flash",b0,35,8c,02),
  	HX_("fade",7c,b5,b5,43),
  	HX_("shake",c6,de,1c,7c),
  	HX_("stopFX",d4,b1,39,0f),
  	HX_("setFilters",39,c6,25,5c),
  	HX_("copyFrom",bf,0b,61,c8),
  	HX_("fill",83,ce,bb,43),
  	HX_("drawFX",56,72,d6,df),
  	HX_("checkResize",dc,2c,8d,ea),
  	HX_("updateBlitMatrix",bf,47,0d,22),
  	HX_("setSize",83,e1,d7,11),
  	HX_("setPosition",6b,6a,5b,fb),
  	HX_("setScrollBoundsRect",68,88,5d,8e),
  	HX_("setScrollBounds",24,ad,95,dc),
  	HX_("setScale",88,37,03,87),
  	HX_("onResize",73,50,28,e8),
  	HX_("containsPoint",b1,b9,eb,92),
  	HX_("set_followLerp",45,4d,99,6f),
  	HX_("set_width",69,fe,5c,f1),
  	HX_("set_height",24,16,51,f6),
  	HX_("set_zoom",10,b8,10,7f),
  	HX_("set_alpha",c1,ef,90,48),
  	HX_("set_angle",36,8c,dc,49),
  	HX_("set_color",c6,b9,56,71),
  	HX_("set_antialiasing",f1,f0,93,a3),
  	HX_("set_x",5b,9b,2f,7a),
  	HX_("set_y",5c,9b,2f,7a),
  	HX_("set_visible",95,df,8b,33),
  	HX_("calcOffsetX",50,85,4b,73),
  	HX_("calcOffsetY",51,85,4b,73),
  	::String(null()) };
  
  static void FlxCamera_obj_sMarkStatics(HX_MARK_PARAMS) {
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::defaultZoom,"defaultZoom");
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::_defaultCameras,"_defaultCameras");
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::_storageTilesHead,"_storageTilesHead");
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::_storageTrianglesHead,"_storageTrianglesHead");
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::drawVertices,"drawVertices");
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::trianglesSprite,"trianglesSprite");
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::renderPoint,"renderPoint");
  	HX_MARK_MEMBER_NAME(FlxCamera_obj::renderRect,"renderRect");
  };
  
  #ifdef HXCPP_VISIT_ALLOCS
  static void FlxCamera_obj_sVisitStatics(HX_VISIT_PARAMS) {
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::defaultZoom,"defaultZoom");
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::_defaultCameras,"_defaultCameras");
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::_storageTilesHead,"_storageTilesHead");
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::_storageTrianglesHead,"_storageTrianglesHead");
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::drawVertices,"drawVertices");
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::trianglesSprite,"trianglesSprite");
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::renderPoint,"renderPoint");
  	HX_VISIT_MEMBER_NAME(FlxCamera_obj::renderRect,"renderRect");
  };
  
  #endif
  
  ::hx::Class FlxCamera_obj::__mClass;
  
  static ::String FlxCamera_obj_sStaticFields[] = {
  	HX_("defaultZoom",74,9c,b7,22),
  	HX_("_defaultCameras",0c,2c,d2,5b),
  	HX_("_storageTilesHead",e9,a8,61,af),
  	HX_("_storageTrianglesHead",0f,09,78,17),
  	HX_("drawVertices",1d,4c,09,40),
  	HX_("trianglesSprite",10,d3,45,ab),
  	HX_("renderPoint",1a,e1,40,92),
  	HX_("renderRect",9a,47,b1,e8),
  	HX_("get_defaultCameras",36,c4,0b,ae),
  	HX_("set_defaultCameras",aa,f6,ba,8a),
  	::String(null())
  };
  
  void FlxCamera_obj::__register()
  {
  	FlxCamera_obj _hx_dummy;
  	FlxCamera_obj::_hx_vtable = *(void **)&_hx_dummy;
  	::hx::Static(__mClass) = new ::hx::Class_obj();
  	__mClass->mName = HX_("flixel.FlxCamera",05,18,e2,d7);
  	__mClass->mSuper = &super::__SGetClass();
  	__mClass->mConstructEmpty = &__CreateEmpty;
  	__mClass->mConstructArgs = &__Create;
  	__mClass->mGetStaticField = &FlxCamera_obj::__GetStatic;
  	__mClass->mSetStaticField = &FlxCamera_obj::__SetStatic;
  	__mClass->mMarkFunc = FlxCamera_obj_sMarkStatics;
  	__mClass->mStatics = ::hx::Class_obj::dupFunctions(FlxCamera_obj_sStaticFields);
  	__mClass->mMembers = ::hx::Class_obj::dupFunctions(FlxCamera_obj_sMemberFields);
  	__mClass->mCanCast = ::hx::TCanCast< FlxCamera_obj >;
  #ifdef HXCPP_VISIT_ALLOCS
  	__mClass->mVisitFunc = FlxCamera_obj_sVisitStatics;
  #endif
  #ifdef HXCPP_SCRIPTABLE
  	__mClass->mMemberStorageInfo = FlxCamera_obj_sMemberStorageInfo;
  #endif
  #ifdef HXCPP_SCRIPTABLE
  	__mClass->mStaticStorageInfo = FlxCamera_obj_sStaticStorageInfo;
  #endif
  	::hx::_hx_RegisterClass(__mClass->mName, __mClass);
  }
  
  void FlxCamera_obj::__boot()
  {
  {
              		HX_BEGIN_LOCAL_FUNC_S0(::hx::LocalFunc,_hx_Closure_0) HXARGC(0)
              		 ::openfl::_Vector::FloatVector _hx_run(){
              			HX_GC_STACKFRAME(&_hx_pos_d1aae230bd422321_509_boot)
  HXDLIN( 509)			int length = null();
  HXDLIN( 509)			bool fixed = null();
  HXDLIN( 509)			::Array< Float > array = null();
  HXDLIN( 509)			return  ::openfl::_Vector::FloatVector_obj::__alloc( HX_CTX ,length,fixed,array,true);
              		}
              		HX_END_LOCAL_FUNC0(return)
  
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_509_boot)
  HXDLIN( 509)		drawVertices = ( ( ::openfl::_Vector::FloatVector)( ::Dynamic(new _hx_Closure_0())()) );
              	}
  {
              	HX_GC_STACKFRAME(&_hx_pos_d1aae230bd422321_514_boot)
  HXDLIN( 514)		trianglesSprite =  ::openfl::display::Sprite_obj::__alloc( HX_CTX );
              	}
  {
              		HX_BEGIN_LOCAL_FUNC_S0(::hx::LocalFunc,_hx_Closure_0) HXARGC(0)
              		 ::flixel::math::FlxPoint _hx_run(){
              			HX_STACKFRAME(&_hx_pos_d1aae230bd422321_520_boot)
  HXDLIN( 520)			 ::flixel::math::FlxPoint point = ::flixel::math::FlxPoint_obj::_pool->get()->set(( (Float)(0) ),( (Float)(0) ));
  HXDLIN( 520)			point->_inPool = false;
  HXDLIN( 520)			return point;
              		}
              		HX_END_LOCAL_FUNC0(return)
  
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_520_boot)
  HXDLIN( 520)		renderPoint = ( ( ::flixel::math::FlxPoint)( ::Dynamic(new _hx_Closure_0())()) );
              	}
  {
              		HX_BEGIN_LOCAL_FUNC_S0(::hx::LocalFunc,_hx_Closure_0) HXARGC(0)
              		 ::flixel::math::FlxRect _hx_run(){
              			HX_STACKFRAME(&_hx_pos_d1aae230bd422321_522_boot)
  HXDLIN( 522)			 ::flixel::math::FlxRect _this = ::flixel::math::FlxRect_obj::_pool->get();
  HXDLIN( 522)			_this->x = ( (Float)(0) );
  HXDLIN( 522)			_this->y = ( (Float)(0) );
  HXDLIN( 522)			_this->width = ( (Float)(0) );
  HXDLIN( 522)			_this->height = ( (Float)(0) );
  HXDLIN( 522)			 ::flixel::math::FlxRect rect = _this;
  HXDLIN( 522)			rect->_inPool = false;
  HXDLIN( 522)			return rect;
              		}
              		HX_END_LOCAL_FUNC0(return)
  
              	HX_STACKFRAME(&_hx_pos_d1aae230bd422321_522_boot)
  HXDLIN( 522)		renderRect = ( ( ::flixel::math::FlxRect)( ::Dynamic(new _hx_Closure_0())()) );
              	}
  }
  
  } // end namespace flixel
  