First commit

This commit is contained in:
2021-03-07 05:58:59 +01:00
commit 8204c6b556
18475 changed files with 3309357 additions and 0 deletions

View File

@@ -0,0 +1,89 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_ui_GameInput
#define INCLUDED_openfl_ui_GameInput
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_events_EventDispatcher
#include <openfl/events/EventDispatcher.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,ObjectMap)
HX_DECLARE_CLASS2(lime,ui,Gamepad)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,ui,GameInput)
HX_DECLARE_CLASS2(openfl,ui,GameInputDevice)
namespace openfl{
namespace ui{
class HXCPP_CLASS_ATTRIBUTES GameInput_obj : public ::openfl::events::EventDispatcher_obj
{
public:
typedef ::openfl::events::EventDispatcher_obj super;
typedef GameInput_obj OBJ_;
GameInput_obj();
public:
enum { _hx_ClassId = 0x7cfd8db4 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.ui.GameInput")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.ui.GameInput"); }
static hx::ObjectPtr< GameInput_obj > __new();
static hx::ObjectPtr< GameInput_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~GameInput_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("GameInput",98,92,0b,95); }
static void __boot();
static ::Dynamic __meta__;
static bool isSupported;
static int numDevices;
static ::Array< ::Dynamic> _hx___deviceList;
static ::Array< ::Dynamic> _hx___instances;
static ::haxe::ds::ObjectMap _hx___devices;
static ::openfl::ui::GameInputDevice getDeviceAt(int index);
static ::Dynamic getDeviceAt_dyn();
static ::openfl::ui::GameInputDevice _hx___getDevice( ::lime::ui::Gamepad gamepad);
static ::Dynamic _hx___getDevice_dyn();
static void _hx___onGamepadAxisMove( ::lime::ui::Gamepad gamepad,int axis,Float value);
static ::Dynamic _hx___onGamepadAxisMove_dyn();
static void _hx___onGamepadButtonDown( ::lime::ui::Gamepad gamepad,int button);
static ::Dynamic _hx___onGamepadButtonDown_dyn();
static void _hx___onGamepadButtonUp( ::lime::ui::Gamepad gamepad,int button);
static ::Dynamic _hx___onGamepadButtonUp_dyn();
static void _hx___onGamepadConnect( ::lime::ui::Gamepad gamepad);
static ::Dynamic _hx___onGamepadConnect_dyn();
static void _hx___onGamepadDisconnect( ::lime::ui::Gamepad gamepad);
static ::Dynamic _hx___onGamepadDisconnect_dyn();
void addEventListener(::String type, ::Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference);
};
} // end namespace openfl
} // end namespace ui
#endif /* INCLUDED_openfl_ui_GameInput */

View File

@@ -0,0 +1,63 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_ui_GameInputControl
#define INCLUDED_openfl_ui_GameInputControl
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_events_EventDispatcher
#include <openfl/events/EventDispatcher.h>
#endif
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,ui,GameInputControl)
HX_DECLARE_CLASS2(openfl,ui,GameInputDevice)
namespace openfl{
namespace ui{
class HXCPP_CLASS_ATTRIBUTES GameInputControl_obj : public ::openfl::events::EventDispatcher_obj
{
public:
typedef ::openfl::events::EventDispatcher_obj super;
typedef GameInputControl_obj OBJ_;
GameInputControl_obj();
public:
enum { _hx_ClassId = 0x0323f26d };
void __construct( ::openfl::ui::GameInputDevice device,::String id,Float minValue,Float maxValue,hx::Null< Float > __o_value);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.ui.GameInputControl")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.ui.GameInputControl"); }
static hx::ObjectPtr< GameInputControl_obj > __new( ::openfl::ui::GameInputDevice device,::String id,Float minValue,Float maxValue,hx::Null< Float > __o_value);
static hx::ObjectPtr< GameInputControl_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::ui::GameInputDevice device,::String id,Float minValue,Float maxValue,hx::Null< Float > __o_value);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~GameInputControl_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("GameInputControl",a5,03,31,94); }
::openfl::ui::GameInputDevice device;
::String id;
Float maxValue;
Float minValue;
Float value;
};
} // end namespace openfl
} // end namespace ui
#endif /* INCLUDED_openfl_ui_GameInputControl */

View File

@@ -0,0 +1,89 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_ui_GameInputDevice
#define INCLUDED_openfl_ui_GameInputDevice
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,IntMap)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,ui,Gamepad)
HX_DECLARE_CLASS2(openfl,_Vector,IVector)
HX_DECLARE_CLASS2(openfl,_Vector,ObjectVector)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,ui,GameInputControl)
HX_DECLARE_CLASS2(openfl,ui,GameInputDevice)
HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
HX_DECLARE_CLASS2(openfl,utils,IDataInput)
HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
namespace openfl{
namespace ui{
class HXCPP_CLASS_ATTRIBUTES GameInputDevice_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef GameInputDevice_obj OBJ_;
GameInputDevice_obj();
public:
enum { _hx_ClassId = 0x0e491d6a };
void __construct(::String id,::String name);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.ui.GameInputDevice")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.ui.GameInputDevice"); }
static hx::ObjectPtr< GameInputDevice_obj > __new(::String id,::String name);
static hx::ObjectPtr< GameInputDevice_obj > __alloc(hx::Ctx *_hx_ctx,::String id,::String name);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~GameInputDevice_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("GameInputDevice",4e,e5,cf,03); }
static void __boot();
static int MAX_BUFFER_SIZE;
bool enabled;
::String id;
::String name;
int sampleInterval;
::haxe::ds::IntMap _hx___axis;
::haxe::ds::IntMap _hx___button;
::Array< ::Dynamic> _hx___controls;
::lime::ui::Gamepad _hx___gamepad;
int getCachedSamples( ::openfl::utils::ByteArrayData data,hx::Null< bool > append);
::Dynamic getCachedSamples_dyn();
::openfl::ui::GameInputControl getControlAt(int i);
::Dynamic getControlAt_dyn();
void startCachingSamples(int numSamples, ::openfl::_Vector::ObjectVector controls);
::Dynamic startCachingSamples_dyn();
void stopCachingSamples();
::Dynamic stopCachingSamples_dyn();
int get_numControls();
::Dynamic get_numControls_dyn();
};
} // end namespace openfl
} // end namespace ui
#endif /* INCLUDED_openfl_ui_GameInputDevice */

View File

@@ -0,0 +1,177 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_ui_Keyboard
#define INCLUDED_openfl_ui_Keyboard
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(openfl,ui,Keyboard)
namespace openfl{
namespace ui{
class HXCPP_CLASS_ATTRIBUTES Keyboard_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Keyboard_obj OBJ_;
Keyboard_obj();
public:
enum { _hx_ClassId = 0x2dde5f8f };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.ui.Keyboard")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.ui.Keyboard"); }
inline static hx::ObjectPtr< Keyboard_obj > __new() {
hx::ObjectPtr< Keyboard_obj > __this = new Keyboard_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Keyboard_obj > __alloc(hx::Ctx *_hx_ctx) {
Keyboard_obj *__this = (Keyboard_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Keyboard_obj), false, "openfl.ui.Keyboard"));
*(void **)__this = Keyboard_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Keyboard_obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Keyboard",c7,78,db,41); }
static void __boot();
static ::Dynamic __meta__;
static int NUMBER_0;
static int NUMBER_1;
static int NUMBER_2;
static int NUMBER_3;
static int NUMBER_4;
static int NUMBER_5;
static int NUMBER_6;
static int NUMBER_7;
static int NUMBER_8;
static int NUMBER_9;
static int A;
static int B;
static int C;
static int D;
static int E;
static int F;
static int G;
static int H;
static int I;
static int J;
static int K;
static int L;
static int M;
static int N;
static int O;
static int P;
static int Q;
static int R;
static int S;
static int T;
static int U;
static int V;
static int W;
static int X;
static int Y;
static int Z;
static int NUMPAD_0;
static int NUMPAD_1;
static int NUMPAD_2;
static int NUMPAD_3;
static int NUMPAD_4;
static int NUMPAD_5;
static int NUMPAD_6;
static int NUMPAD_7;
static int NUMPAD_8;
static int NUMPAD_9;
static int NUMPAD_MULTIPLY;
static int NUMPAD_ADD;
static int NUMPAD_ENTER;
static int NUMPAD_SUBTRACT;
static int NUMPAD_DECIMAL;
static int NUMPAD_DIVIDE;
static int F1;
static int F2;
static int F3;
static int F4;
static int F5;
static int F6;
static int F7;
static int F8;
static int F9;
static int F10;
static int F11;
static int F12;
static int F13;
static int F14;
static int F15;
static int BACKSPACE;
static int TAB;
static int ALTERNATE;
static int ENTER;
static int COMMAND;
static int SHIFT;
static int CONTROL;
static int BREAK;
static int CAPS_LOCK;
static int NUMPAD;
static int ESCAPE;
static int SPACE;
static int PAGE_UP;
static int PAGE_DOWN;
static int END;
static int HOME;
static int LEFT;
static int RIGHT;
static int UP;
static int DOWN;
static int INSERT;
static int DELETE;
static int NUMLOCK;
static int SEMICOLON;
static int EQUAL;
static int COMMA;
static int MINUS;
static int PERIOD;
static int SLASH;
static int BACKQUOTE;
static int LEFTBRACKET;
static int BACKSLASH;
static int RIGHTBRACKET;
static int QUOTE;
static bool capsLock;
static bool numLock;
static bool isAccessible();
static ::Dynamic isAccessible_dyn();
static int _hx___convertKeyCode(int key);
static ::Dynamic _hx___convertKeyCode_dyn();
static int _hx___getCharCode(int key,hx::Null< bool > shift);
static ::Dynamic _hx___getCharCode_dyn();
static int _hx___getKeyLocation(int key);
static ::Dynamic _hx___getKeyLocation_dyn();
};
} // end namespace openfl
} // end namespace ui
#endif /* INCLUDED_openfl_ui_Keyboard */

View File

@@ -0,0 +1,77 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_ui_Mouse
#define INCLUDED_openfl_ui_Mouse
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(openfl,ui,Mouse)
namespace openfl{
namespace ui{
class HXCPP_CLASS_ATTRIBUTES Mouse_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Mouse_obj OBJ_;
Mouse_obj();
public:
enum { _hx_ClassId = 0x1d7c6159 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.ui.Mouse")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.ui.Mouse"); }
inline static hx::ObjectPtr< Mouse_obj > __new() {
hx::ObjectPtr< Mouse_obj > __this = new Mouse_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Mouse_obj > __alloc(hx::Ctx *_hx_ctx) {
Mouse_obj *__this = (Mouse_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Mouse_obj), false, "openfl.ui.Mouse"));
*(void **)__this = Mouse_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Mouse_obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Mouse",05,86,92,9f); }
static void __boot();
static bool supportsCursor;
static bool supportsNativeCursor;
static ::String _hx___cursor;
static bool _hx___hidden;
static void hide();
static ::Dynamic hide_dyn();
static void show();
static ::Dynamic show_dyn();
static ::String get_cursor();
static ::Dynamic get_cursor_dyn();
static ::String set_cursor(::String value);
static ::Dynamic set_cursor_dyn();
};
} // end namespace openfl
} // end namespace ui
#endif /* INCLUDED_openfl_ui_Mouse */

View File

@@ -0,0 +1,83 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_ui__MouseCursor_MouseCursor_Impl_
#define INCLUDED_openfl_ui__MouseCursor_MouseCursor_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(lime,ui,MouseCursor)
HX_DECLARE_CLASS3(openfl,ui,_MouseCursor,MouseCursor_Impl_)
namespace openfl{
namespace ui{
namespace _MouseCursor{
class HXCPP_CLASS_ATTRIBUTES MouseCursor_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef MouseCursor_Impl__obj OBJ_;
MouseCursor_Impl__obj();
public:
enum { _hx_ClassId = 0x0a8997bb };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.ui._MouseCursor.MouseCursor_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.ui._MouseCursor.MouseCursor_Impl_"); }
inline static hx::ObjectPtr< MouseCursor_Impl__obj > __new() {
hx::ObjectPtr< MouseCursor_Impl__obj > __this = new MouseCursor_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< MouseCursor_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
MouseCursor_Impl__obj *__this = (MouseCursor_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(MouseCursor_Impl__obj), false, "openfl.ui._MouseCursor.MouseCursor_Impl_"));
*(void **)__this = MouseCursor_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~MouseCursor_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("MouseCursor_Impl_",9b,d5,59,ed); }
static void __boot();
static ::String ARROW;
static ::String AUTO;
static ::String BUTTON;
static ::String HAND;
static ::String IBEAM;
static ::String _hx___CROSSHAIR;
static ::String _hx___CUSTOM;
static ::String _hx___MOVE;
static ::String _hx___RESIZE_NESW;
static ::String _hx___RESIZE_NS;
static ::String _hx___RESIZE_NWSE;
static ::String _hx___RESIZE_WE;
static ::String _hx___WAIT;
static ::String _hx___WAIT_ARROW;
static ::String fromLimeCursor( ::lime::ui::MouseCursor cursor);
static ::Dynamic fromLimeCursor_dyn();
static ::lime::ui::MouseCursor toLimeCursor(::String this1);
static ::Dynamic toLimeCursor_dyn();
};
} // end namespace openfl
} // end namespace ui
} // end namespace _MouseCursor
#endif /* INCLUDED_openfl_ui__MouseCursor_MouseCursor_Impl_ */