First commit

This commit is contained in:
Hion-V 2021-03-07 05:58:59 +01:00 committed by Andreas Schaafsma
commit 5d4c4a054e
18475 changed files with 3309357 additions and 0 deletions

4
hGameTest/.npmignore Normal file
View File

@ -0,0 +1,4 @@
node_modules
src/app.js
dist/app.js
*.map

13
hGameTest/.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,13 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Lime",
"type": "lime",
"request": "launch"
}
]
}

1
hGameTest/bin/.build Normal file
View File

@ -0,0 +1 @@
42

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FLWork</title>
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="./FLWork.js"></script>
<script>
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false });
if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) {
var meta = document.getElementById ("viewport");
meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
}
</script>
<style>
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
#openfl-content { width: 100%; height: 100%; }
</style>
</head>
<body>
<noscript>This webpage makes extensive use of JavaScript. Please enable JavaScript in your web browser to view this page.</noscript>
<div id="openfl-content"></div>
<script type="text/javascript">
lime.embed ("FLWork", "openfl-content", 320, 480, { parameters: {} });
</script>
</body>
</html>

View File

@ -0,0 +1 @@
{"name":null,"assets":"aoy4:pathy23:sprites%2Fcharacter.pngy4:sizei161y4:typey5:IMAGEy2:idR1y7:preloadtgh","rootPath":null,"version":2,"libraryArgs":[],"libraryType":null}

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

View File

@ -0,0 +1,308 @@
package;
#if macro
import haxe.macro.Compiler;
import haxe.macro.Context;
import haxe.macro.Expr;
#end
@:access(lime.app.Application)
@:access(lime.system.System)
@:access(openfl.display.Stage)
@:dox(hide)
class ApplicationMain
{
#if !macro
public static function main()
{
lime.system.System.__registerEntryPoint("FLWork", create);
#if (js && html5)
#if (munit || utest)
lime.system.System.embed("FLWork", null, 320, 480);
#end
#else
create(null);
#end
}
public static function create(config):Void
{
var app = new openfl.display.Application();
ManifestResources.init(config);
app.meta["build"] = "40";
app.meta["company"] = "";
app.meta["file"] = "FLWork";
app.meta["name"] = "FLWork";
app.meta["packageName"] = "FLWork";
app.meta["version"] = "1.0.0";
#if !flash
var attributes:lime.ui.WindowAttributes = {
allowHighDPI: false,
alwaysOnTop: false,
borderless: false,
// display: 0,
element: null,
frameRate: 60,
#if !web fullscreen: false, #end
height: 480,
hidden: #if munit true #else false #end,
maximized: false,
minimized: false,
parameters: {},
resizable: true,
title: "FLWork",
width: 320,
x: null,
y: null,
};
attributes.context = {
antialiasing: 0,
background: null,
colorDepth: 32,
depth: true,
hardware: true,
stencil: true,
type: null,
vsync: false
};
if (app.window == null)
{
if (config != null)
{
for (field in Reflect.fields(config))
{
if (Reflect.hasField(attributes, field))
{
Reflect.setField(attributes, field, Reflect.field(config, field));
}
else if (Reflect.hasField(attributes.context, field))
{
Reflect.setField(attributes.context, field, Reflect.field(config, field));
}
}
}
#if sys
lime.system.System.__parseArguments(attributes);
#end
}
app.createWindow(attributes);
#elseif !air
app.window.context.attributes.background = null;
app.window.frameRate = 60;
#end
var preloader = getPreloader();
app.preloader.onProgress.add (function(loaded, total)
{
@:privateAccess preloader.update(loaded, total);
});
app.preloader.onComplete.add(function()
{
@:privateAccess preloader.start();
});
preloader.onComplete.add(start.bind(cast(app.window, openfl.display.Window).stage));
for (library in ManifestResources.preloadLibraries)
{
app.preloader.addLibrary(library);
}
for (name in ManifestResources.preloadLibraryNames)
{
app.preloader.addLibraryName(name);
}
app.preloader.load();
var result = app.exec();
#if (sys && !ios && !nodejs && !emscripten)
lime.system.System.exit(result);
#end
}
public static function start(stage:openfl.display.Stage):Void
{
#if flash
ApplicationMain.getEntryPoint();
#else
try {
ApplicationMain.getEntryPoint();
stage.dispatchEvent(new openfl.events.Event(openfl.events.Event.RESIZE, false, false));
if (stage.window.fullscreen)
{
stage.dispatchEvent(new openfl.events.FullScreenEvent(openfl.events.FullScreenEvent.FULL_SCREEN, false, false, true, true));
}
}
catch (e:Dynamic)
{
#if !display
stage.__handleError (e);
#end
}
#end
}
#end
macro public static function getEntryPoint()
{
var hasMain = false;
switch (Context.follow(Context.getType("Main")))
{
case TInst(t, params):
var type = t.get();
for (method in type.statics.get())
{
if (method.name == "main")
{
hasMain = true;
break;
}
}
if (hasMain)
{
return Context.parse("@:privateAccess Main.main()", Context.currentPos());
}
else if (type.constructor != null)
{
return macro
{
var current = stage.getChildAt (0);
if (current == null || !(current is openfl.display.DisplayObjectContainer))
{
current = new openfl.display.MovieClip();
stage.addChild(current);
}
new DocumentClass(cast current);
};
}
else
{
Context.fatalError("Main class \"Main\" has neither a static main nor a constructor.", Context.currentPos());
}
default:
Context.fatalError("Main class \"Main\" isn't a class.", Context.currentPos());
}
return null;
}
macro public static function getPreloader()
{
return macro
{
new openfl.display.Preloader(new openfl.display.Preloader.DefaultPreloader());
};
}
#if !macro
@:noCompletion @:dox(hide) public static function __init__()
{
var init = lime.app.Application;
#if neko
// Copy from https://github.com/HaxeFoundation/haxe/blob/development/std/neko/_std/Sys.hx#L164
// since Sys.programPath () isn't available in __init__
var sys_program_path = {
var m = neko.vm.Module.local().name;
try
{
sys.FileSystem.fullPath(m);
}
catch (e:Dynamic)
{
// maybe the neko module name was supplied without .n extension...
if (!StringTools.endsWith(m, ".n"))
{
try
{
sys.FileSystem.fullPath(m + ".n");
}
catch (e:Dynamic)
{
m;
}
}
else
{
m;
}
}
};
var loader = new neko.vm.Loader(untyped $loader);
loader.addPath(haxe.io.Path.directory(#if (haxe_ver >= 3.3) sys_program_path #else Sys.executablePath() #end));
loader.addPath("./");
loader.addPath("@executable_path/");
#end
}
#end
}
#if !macro
@:build(DocumentClass.build())
@:keep @:dox(hide) class DocumentClass extends Main {}
#else
class DocumentClass
{
macro public static function build():Array<Field>
{
var classType = Context.getLocalClass().get();
var searchTypes = classType;
while (searchTypes != null)
{
if (searchTypes.module == "openfl.display.DisplayObject" || searchTypes.module == "flash.display.DisplayObject")
{
var fields = Context.getBuildFields();
var method = macro
{
current.addChild(this);
super();
dispatchEvent(new openfl.events.Event(openfl.events.Event.ADDED_TO_STAGE, false, false));
}
fields.push({ name: "new", access: [ APublic ], kind: FFun({ args: [ { name: "current", opt: false, type: macro :openfl.display.DisplayObjectContainer, value: null } ], expr: method, params: [], ret: macro :Void }), pos: Context.currentPos() });
return fields;
}
if (searchTypes.superClass != null)
{
searchTypes = searchTypes.superClass.t.get();
}
else
{
searchTypes = null;
}
}
return null;
}
}
#end

View File

@ -0,0 +1,125 @@
package;
import haxe.io.Bytes;
import lime.utils.AssetBundle;
import lime.utils.AssetLibrary;
import lime.utils.AssetManifest;
import lime.utils.Assets;
#if sys
import sys.FileSystem;
#end
@:access(lime.utils.Assets)
@:keep @:dox(hide) class ManifestResources {
public static var preloadLibraries:Array<AssetLibrary>;
public static var preloadLibraryNames:Array<String>;
public static var rootPath:String;
public static function init (config:Dynamic):Void {
preloadLibraries = new Array ();
preloadLibraryNames = new Array ();
rootPath = null;
if (config != null && Reflect.hasField (config, "rootPath")) {
rootPath = Reflect.field (config, "rootPath");
}
if (rootPath == null) {
#if (ios || tvos || emscripten)
rootPath = "assets/";
#elseif android
rootPath = "";
#elseif console
rootPath = lime.system.System.applicationDirectory;
#else
rootPath = "./";
#end
}
#if (openfl && !flash && !display)
#end
var data, manifest, library, bundle;
#if kha
null
library = AssetLibrary.fromManifest (manifest);
Assets.registerLibrary ("null", library);
if (library != null) preloadLibraries.push (library);
else preloadLibraryNames.push ("null");
#else
data = '{"name":null,"assets":"aoy4:pathy23:sprites%2Fcharacter.pngy4:sizei161y4:typey5:IMAGEy2:idR1y7:preloadtgh","rootPath":null,"version":2,"libraryArgs":[],"libraryType":null}';
manifest = AssetManifest.parse (data, rootPath);
library = AssetLibrary.fromManifest (manifest);
Assets.registerLibrary ("default", library);
library = Assets.getLibrary ("default");
if (library != null) preloadLibraries.push (library);
else preloadLibraryNames.push ("default");
#end
}
}
#if kha
null
#else
#if !display
#if flash
@:keep @:bind @:noCompletion #if display private #end class __ASSET__sprites_character_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } }
@:keep @:bind @:noCompletion #if display private #end class __ASSET__manifest_default_json extends null { }
#elseif (desktop || cpp)
@:keep @:image("res/sprites/character.png") @:noCompletion #if display private #end class __ASSET__sprites_character_png extends lime.graphics.Image {}
@:keep @:file("") @:noCompletion #if display private #end class __ASSET__manifest_default_json extends haxe.io.Bytes {}
#else
#end
#if (openfl && !flash)
#if html5
#else
#end
#end
#end
#end

View File

@ -0,0 +1,64 @@
-main ApplicationMain
--macro openfl._internal.ExtraParams.include()
-cp /home/andreas/.haxe/lib/openfl/9,0,2/lib
-D openfl=9.0.2
--macro lime._internal.macros.DefineMacro.run()
-cp /home/andreas/.haxe/lib/lime/7,8,0/src
-D lime=7.8.0
-cp /home/andreas/.haxe/lib/actuate/1,8,9/src
-D actuate=1.8.9
-cp src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/application/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/assets/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/bitmapdata/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/displayobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/errors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/eventdispatcher/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/externalinterface/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filereference/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filters/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/geom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/graphics/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/input/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/loader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/movieclip/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/printing/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-cairo/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-canvas/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-core/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-dom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-flash/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/security/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sensors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/shader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sharedobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/socket/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sound/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/system/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/telemetry/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/textfield/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/tilemap/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlloader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlrequest/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlstream/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/utils/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/video/src
-D tools=7.8.0
-D lime-canvas
-D howlerjs
-D no-compilation
-D openfl-html5
-D lime-webgl
-D lime-dom
-D lime-howlerjs
-D lime-html5
-D html5
-D web
--remap flash:openfl
-js bin/html5/bin/FLWork.js
-cp bin/html5/haxe
-D html5
-debug

View File

@ -0,0 +1,67 @@
-main ApplicationMain
--macro openfl._internal.ExtraParams.include()
-cp /home/andreas/.haxe/lib/openfl/9,0,2/lib
-D openfl=9.0.2
--macro lime._internal.macros.DefineMacro.run()
-cp /home/andreas/.haxe/lib/lime/7,8,0/src
-D lime=7.8.0
-cp /home/andreas/.haxe/lib/actuate/1,8,9/src
-D actuate=1.8.9
-cp src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/application/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/assets/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/bitmapdata/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/displayobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/errors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/eventdispatcher/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/externalinterface/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filereference/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filters/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/geom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/graphics/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/input/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/loader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/movieclip/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/printing/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-cairo/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-canvas/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-core/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-dom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-flash/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/security/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sensors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/shader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sharedobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/socket/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sound/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/system/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/telemetry/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/textfield/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/tilemap/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlloader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlrequest/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlstream/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/utils/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/video/src
-D tools=7.8.0
-D lime-canvas
-D howlerjs
-D no-compilation
-D openfl-html5
-D lime-webgl
-D lime-dom
-D lime-howlerjs
-D lime-html5
-D html5
-D web
--remap flash:openfl
-js bin/html5/bin/FLWork.js
-cp bin/html5/haxe
-D html5
-dce full
-D final
-D js-flatten
-dce full

View File

@ -0,0 +1,63 @@
-main ApplicationMain
--macro openfl._internal.ExtraParams.include()
-cp /home/andreas/.haxe/lib/openfl/9,0,2/lib
-D openfl=9.0.2
--macro lime._internal.macros.DefineMacro.run()
-cp /home/andreas/.haxe/lib/lime/7,8,0/src
-D lime=7.8.0
-cp /home/andreas/.haxe/lib/actuate/1,8,9/src
-D actuate=1.8.9
-cp src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/application/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/assets/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/bitmapdata/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/displayobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/errors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/eventdispatcher/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/externalinterface/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filereference/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filters/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/geom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/graphics/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/input/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/loader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/movieclip/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/printing/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-cairo/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-canvas/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-core/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-dom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-flash/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/security/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sensors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/shader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sharedobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/socket/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sound/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/system/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/telemetry/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/textfield/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/tilemap/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlloader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlrequest/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlstream/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/utils/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/video/src
-D tools=7.8.0
-D lime-canvas
-D howlerjs
-D no-compilation
-D openfl-html5
-D lime-webgl
-D lime-dom
-D lime-howlerjs
-D lime-html5
-D html5
-D web
--remap flash:openfl
-js bin/html5/bin/FLWork.js
-cp bin/html5/haxe
-D html5

BIN
hGameTest/bin/linux/bin/FLWork Executable file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
{"name":null,"assets":"aoy4:pathy23:sprites%2Fcharacter.pngy4:sizei161y4:typey5:IMAGEy2:idR1gh","rootPath":"../","version":2,"libraryArgs":[],"libraryType":null}

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

View File

@ -0,0 +1,308 @@
package;
#if macro
import haxe.macro.Compiler;
import haxe.macro.Context;
import haxe.macro.Expr;
#end
@:access(lime.app.Application)
@:access(lime.system.System)
@:access(openfl.display.Stage)
@:dox(hide)
class ApplicationMain
{
#if !macro
public static function main()
{
lime.system.System.__registerEntryPoint("FLWork", create);
#if (js && html5)
#if (munit || utest)
lime.system.System.embed("FLWork", null, 320, 480);
#end
#else
create(null);
#end
}
public static function create(config):Void
{
var app = new openfl.display.Application();
ManifestResources.init(config);
app.meta["build"] = "41";
app.meta["company"] = "";
app.meta["file"] = "FLWork";
app.meta["name"] = "FLWork";
app.meta["packageName"] = "FLWork";
app.meta["version"] = "1.0.0";
#if !flash
var attributes:lime.ui.WindowAttributes = {
allowHighDPI: false,
alwaysOnTop: false,
borderless: false,
// display: 0,
element: null,
frameRate: 60,
#if !web fullscreen: false, #end
height: 480,
hidden: #if munit true #else false #end,
maximized: false,
minimized: false,
parameters: {},
resizable: true,
title: "FLWork",
width: 320,
x: null,
y: null,
};
attributes.context = {
antialiasing: 0,
background: null,
colorDepth: 32,
depth: true,
hardware: true,
stencil: true,
type: null,
vsync: false
};
if (app.window == null)
{
if (config != null)
{
for (field in Reflect.fields(config))
{
if (Reflect.hasField(attributes, field))
{
Reflect.setField(attributes, field, Reflect.field(config, field));
}
else if (Reflect.hasField(attributes.context, field))
{
Reflect.setField(attributes.context, field, Reflect.field(config, field));
}
}
}
#if sys
lime.system.System.__parseArguments(attributes);
#end
}
app.createWindow(attributes);
#elseif !air
app.window.context.attributes.background = null;
app.window.frameRate = 60;
#end
var preloader = getPreloader();
app.preloader.onProgress.add (function(loaded, total)
{
@:privateAccess preloader.update(loaded, total);
});
app.preloader.onComplete.add(function()
{
@:privateAccess preloader.start();
});
preloader.onComplete.add(start.bind(cast(app.window, openfl.display.Window).stage));
for (library in ManifestResources.preloadLibraries)
{
app.preloader.addLibrary(library);
}
for (name in ManifestResources.preloadLibraryNames)
{
app.preloader.addLibraryName(name);
}
app.preloader.load();
var result = app.exec();
#if (sys && !ios && !nodejs && !emscripten)
lime.system.System.exit(result);
#end
}
public static function start(stage:openfl.display.Stage):Void
{
#if flash
ApplicationMain.getEntryPoint();
#else
try {
ApplicationMain.getEntryPoint();
stage.dispatchEvent(new openfl.events.Event(openfl.events.Event.RESIZE, false, false));
if (stage.window.fullscreen)
{
stage.dispatchEvent(new openfl.events.FullScreenEvent(openfl.events.FullScreenEvent.FULL_SCREEN, false, false, true, true));
}
}
catch (e:Dynamic)
{
#if !display
stage.__handleError (e);
#end
}
#end
}
#end
macro public static function getEntryPoint()
{
var hasMain = false;
switch (Context.follow(Context.getType("Main")))
{
case TInst(t, params):
var type = t.get();
for (method in type.statics.get())
{
if (method.name == "main")
{
hasMain = true;
break;
}
}
if (hasMain)
{
return Context.parse("@:privateAccess Main.main()", Context.currentPos());
}
else if (type.constructor != null)
{
return macro
{
var current = stage.getChildAt (0);
if (current == null || !(current is openfl.display.DisplayObjectContainer))
{
current = new openfl.display.MovieClip();
stage.addChild(current);
}
new DocumentClass(cast current);
};
}
else
{
Context.fatalError("Main class \"Main\" has neither a static main nor a constructor.", Context.currentPos());
}
default:
Context.fatalError("Main class \"Main\" isn't a class.", Context.currentPos());
}
return null;
}
macro public static function getPreloader()
{
return macro
{
new openfl.display.Preloader(new openfl.display.Preloader.DefaultPreloader());
};
}
#if !macro
@:noCompletion @:dox(hide) public static function __init__()
{
var init = lime.app.Application;
#if neko
// Copy from https://github.com/HaxeFoundation/haxe/blob/development/std/neko/_std/Sys.hx#L164
// since Sys.programPath () isn't available in __init__
var sys_program_path = {
var m = neko.vm.Module.local().name;
try
{
sys.FileSystem.fullPath(m);
}
catch (e:Dynamic)
{
// maybe the neko module name was supplied without .n extension...
if (!StringTools.endsWith(m, ".n"))
{
try
{
sys.FileSystem.fullPath(m + ".n");
}
catch (e:Dynamic)
{
m;
}
}
else
{
m;
}
}
};
var loader = new neko.vm.Loader(untyped $loader);
loader.addPath(haxe.io.Path.directory(#if (haxe_ver >= 3.3) sys_program_path #else Sys.executablePath() #end));
loader.addPath("./");
loader.addPath("@executable_path/");
#end
}
#end
}
#if !macro
@:build(DocumentClass.build())
@:keep @:dox(hide) class DocumentClass extends Main {}
#else
class DocumentClass
{
macro public static function build():Array<Field>
{
var classType = Context.getLocalClass().get();
var searchTypes = classType;
while (searchTypes != null)
{
if (searchTypes.module == "openfl.display.DisplayObject" || searchTypes.module == "flash.display.DisplayObject")
{
var fields = Context.getBuildFields();
var method = macro
{
current.addChild(this);
super();
dispatchEvent(new openfl.events.Event(openfl.events.Event.ADDED_TO_STAGE, false, false));
}
fields.push({ name: "new", access: [ APublic ], kind: FFun({ args: [ { name: "current", opt: false, type: macro :openfl.display.DisplayObjectContainer, value: null } ], expr: method, params: [], ret: macro :Void }), pos: Context.currentPos() });
return fields;
}
if (searchTypes.superClass != null)
{
searchTypes = searchTypes.superClass.t.get();
}
else
{
searchTypes = null;
}
}
return null;
}
}
#end

View File

@ -0,0 +1,120 @@
package;
import haxe.io.Bytes;
import lime.utils.AssetBundle;
import lime.utils.AssetLibrary;
import lime.utils.AssetManifest;
import lime.utils.Assets;
#if sys
import sys.FileSystem;
#end
@:access(lime.utils.Assets)
@:keep @:dox(hide) class ManifestResources {
public static var preloadLibraries:Array<AssetLibrary>;
public static var preloadLibraryNames:Array<String>;
public static var rootPath:String;
public static function init (config:Dynamic):Void {
preloadLibraries = new Array ();
preloadLibraryNames = new Array ();
rootPath = null;
if (config != null && Reflect.hasField (config, "rootPath")) {
rootPath = Reflect.field (config, "rootPath");
}
if (rootPath == null) {
#if (ios || tvos || emscripten)
rootPath = "assets/";
#elseif android
rootPath = "";
#elseif console
rootPath = lime.system.System.applicationDirectory;
#else
rootPath = "./";
#end
}
#if (openfl && !flash && !display)
#end
var data, manifest, library, bundle;
#if kha
null
library = AssetLibrary.fromManifest (manifest);
Assets.registerLibrary ("null", library);
if (library != null) preloadLibraries.push (library);
else preloadLibraryNames.push ("null");
#else
Assets.libraryPaths["default"] = rootPath + "manifest/default.json";
library = Assets.getLibrary ("default");
if (library != null) preloadLibraries.push (library);
else preloadLibraryNames.push ("default");
#end
}
}
#if kha
null
#else
#if !display
#if flash
@:keep @:bind @:noCompletion #if display private #end class __ASSET__sprites_character_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } }
@:keep @:bind @:noCompletion #if display private #end class __ASSET__manifest_default_json extends null { }
#elseif (desktop || cpp)
#else
#end
#if (openfl && !flash)
#if html5
#else
#end
#end
#end
#end

View File

@ -0,0 +1,67 @@
-main ApplicationMain
--macro openfl._internal.ExtraParams.include()
-cp /home/andreas/.haxe/lib/openfl/9,0,2/lib
-D openfl=9.0.2
--macro lime._internal.macros.DefineMacro.run()
-cp /home/andreas/.haxe/lib/lime/7,8,0/src
-D lime=7.8.0
-cp /home/andreas/.haxe/lib/actuate/1,8,9/src
-D actuate=1.8.9
-cp src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/application/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/assets/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/bitmapdata/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/displayobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/errors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/eventdispatcher/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/externalinterface/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filereference/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filters/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/geom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/graphics/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/input/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/loader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/movieclip/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/printing/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-cairo/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-canvas/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-core/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-dom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-flash/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/security/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sensors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/shader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sharedobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/socket/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sound/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/system/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/telemetry/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/textfield/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/tilemap/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlloader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlrequest/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlstream/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/utils/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/video/src
-D lime-harfbuzz
-D lime-openal
-D tools=7.8.0
-D lime-cairo
-D lime-opengl
-D no-compilation
-D native
-D lime-curl
-D lime-native
-D lime-vorbis
-D openfl-native
-D lime-cffi
-D linux
-D desktop
--remap flash:openfl
-cpp bin/linux/obj/
-cp bin/linux/haxe
--macro keep("Main")
-debug

View File

@ -0,0 +1,67 @@
-main ApplicationMain
--macro openfl._internal.ExtraParams.include()
-cp /home/andreas/.haxe/lib/openfl/9,0,2/lib
-D openfl=9.0.2
--macro lime._internal.macros.DefineMacro.run()
-cp /home/andreas/.haxe/lib/lime/7,8,0/src
-D lime=7.8.0
-cp /home/andreas/.haxe/lib/actuate/1,8,9/src
-D actuate=1.8.9
-cp src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/application/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/assets/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/bitmapdata/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/displayobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/errors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/eventdispatcher/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/externalinterface/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filereference/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filters/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/geom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/graphics/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/input/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/loader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/movieclip/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/printing/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-cairo/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-canvas/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-core/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-dom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-flash/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/security/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sensors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/shader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sharedobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/socket/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sound/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/system/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/telemetry/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/textfield/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/tilemap/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlloader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlrequest/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlstream/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/utils/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/video/src
-D lime-harfbuzz
-D lime-openal
-D tools=7.8.0
-D lime-cairo
-D lime-opengl
-D no-compilation
-D native
-D lime-curl
-D lime-native
-D lime-vorbis
-D openfl-native
-D lime-cffi
-D linux
-D desktop
--remap flash:openfl
-cp bin/linux/haxe
-cpp bin/linux/obj/
--macro keep("Main")
-D final

View File

@ -0,0 +1,66 @@
-main ApplicationMain
--macro openfl._internal.ExtraParams.include()
-cp /home/andreas/.haxe/lib/openfl/9,0,2/lib
-D openfl=9.0.2
--macro lime._internal.macros.DefineMacro.run()
-cp /home/andreas/.haxe/lib/lime/7,8,0/src
-D lime=7.8.0
-cp /home/andreas/.haxe/lib/actuate/1,8,9/src
-D actuate=1.8.9
-cp src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/application/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/assets/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/bitmapdata/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/displayobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/errors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/eventdispatcher/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/externalinterface/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filereference/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/filters/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/geom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/graphics/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/input/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/loader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/movieclip/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/printing/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-cairo/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-canvas/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-core/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-dom/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-flash/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/renderer-stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/security/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sensors/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/shader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sharedobject/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/socket/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/sound/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/stage3d/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/system/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/telemetry/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/textfield/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/tilemap/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlloader/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlrequest/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/urlstream/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/utils/src
-cp /home/andreas/.haxe/lib/openfl/9,0,2/packages/video/src
-D lime-harfbuzz
-D lime-openal
-D tools=7.8.0
-D lime-cairo
-D lime-opengl
-D no-compilation
-D native
-D lime-curl
-D lime-native
-D lime-vorbis
-D openfl-native
-D lime-cffi
-D linux
-D desktop
--remap flash:openfl
-cp bin/linux/haxe
-cpp bin/linux/obj/
--macro keep("Main")

Binary file not shown.

View File

@ -0,0 +1 @@
36d29908e0e960ec10684a51dd05bce1

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
#ifndef HXCPP_CONFIG_INCLUDED
#define HXCPP_CONFIG_INCLUDED
#if !defined(HX_LINUX) && !defined(NO_HX_LINUX)
#define HX_LINUX
#endif
#if !defined(HXCPP_M64) && !defined(NO_HXCPP_M64)
#define HXCPP_M64
#endif
#if !defined(HXCPP_VISIT_ALLOCS) && !defined(NO_HXCPP_VISIT_ALLOCS)
#define HXCPP_VISIT_ALLOCS
#endif
#if !defined(HX_SMART_STRINGS) && !defined(NO_HX_SMART_STRINGS)
#define HX_SMART_STRINGS
#endif
#if !defined(HXCPP_API_LEVEL) && !defined(NO_HXCPP_API_LEVEL)
#define HXCPP_API_LEVEL 400
#endif
#if !defined(HXCPP_M64) && !defined(NO_HXCPP_M64)
#define HXCPP_M64
#endif
#include <hxcpp.h>
#endif

View File

@ -0,0 +1,44 @@
HXCPP_M64=1
actuate=1.8.9
desktop=1
haxe=4.0.5
haxe3=1
haxe4=1
haxe_ver=4.005
hxcpp_api_level=400
hxcpp_smart_strings=1
lime=7.8.0
lime-cairo=1
lime-cffi=1
lime-curl=1
lime-harfbuzz=1
lime-native=1
lime-openal=1
lime-opengl=1
lime-vorbis=1
lime_cairo=1
lime_cffi=1
lime_curl=1
lime_harfbuzz=1
lime_native=1
lime_openal=1
lime_opengl=1
lime_vorbis=1
linux=1
native=1
no-compilation=1
no_compilation=1
openfl=9.0.2
openfl-native=1
openfl_native=1
source-header=Generated by Haxe 4.0.5
static=1
target.name=cpp
target.static=true
target.sys=true
target.threaded=true
target.unicode=true
target.utf16=true
tools=7.8.0
utf16=1
hxcpp=/home/andreas/.haxe/lib/hxcpp/4,2,1/

View File

@ -0,0 +1,77 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_ApplicationMain
#define INCLUDED_ApplicationMain
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(ApplicationMain)
HX_DECLARE_CLASS2(lime,app,Application)
HX_DECLARE_CLASS2(lime,app,IModule)
HX_DECLARE_CLASS2(lime,app,Module)
HX_DECLARE_CLASS2(openfl,display,DisplayObject)
HX_DECLARE_CLASS2(openfl,display,DisplayObjectContainer)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS2(openfl,display,InteractiveObject)
HX_DECLARE_CLASS2(openfl,display,Stage)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
class HXCPP_CLASS_ATTRIBUTES ApplicationMain_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ApplicationMain_obj OBJ_;
ApplicationMain_obj();
public:
enum { _hx_ClassId = 0x4a39ff89 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="ApplicationMain")
{ 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,"ApplicationMain"); }
inline static hx::ObjectPtr< ApplicationMain_obj > __new() {
hx::ObjectPtr< ApplicationMain_obj > __this = new ApplicationMain_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< ApplicationMain_obj > __alloc(hx::Ctx *_hx_ctx) {
ApplicationMain_obj *__this = (ApplicationMain_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ApplicationMain_obj), false, "ApplicationMain"));
*(void **)__this = ApplicationMain_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ApplicationMain_obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
static void __init__();
::String __ToString() const { return HX_("ApplicationMain",89,ff,39,4a); }
static void __boot();
static void main();
static ::Dynamic main_dyn();
static void create( ::Dynamic config);
static ::Dynamic create_dyn();
static void start( ::openfl::display::Stage stage);
static ::Dynamic start_dyn();
};
#endif /* INCLUDED_ApplicationMain */

View File

@ -0,0 +1,77 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Date
#define INCLUDED_Date
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_03b6f5be6798d30f_26_new)
HX_DECLARE_CLASS0(Date)
class HXCPP_CLASS_ATTRIBUTES Date_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Date_obj OBJ_;
Date_obj();
public:
enum { _hx_ClassId = 0x2d3c824e };
void __construct(int year,int month,int day,int hour,int min,int sec);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Date")
{ 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,"Date"); }
inline static hx::ObjectPtr< Date_obj > __new(int year,int month,int day,int hour,int min,int sec) {
hx::ObjectPtr< Date_obj > __this = new Date_obj();
__this->__construct(year,month,day,hour,min,sec);
return __this;
}
inline static hx::ObjectPtr< Date_obj > __alloc(hx::Ctx *_hx_ctx,int year,int month,int day,int hour,int min,int sec) {
Date_obj *__this = (Date_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Date_obj), false, "Date"));
*(void **)__this = Date_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_03b6f5be6798d30f_26_new)
HXDLIN( 26) ( ( ::Date)(__this) )->mSeconds = ::__hxcpp_new_date(year,month,day,hour,min,sec);
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Date_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);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Date",4e,82,3c,2d); }
static ::Date fromTime(Float t);
static ::Dynamic fromTime_dyn();
static ::Date fromString(::String s);
static ::Dynamic fromString_dyn();
Float mSeconds;
Float getTime();
::Dynamic getTime_dyn();
virtual ::String toString();
::Dynamic toString_dyn();
};
#endif /* INCLUDED_Date */

View File

@ -0,0 +1,54 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_DocumentClass
#define INCLUDED_DocumentClass
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_Main
#include <Main.h>
#endif
HX_DECLARE_CLASS0(DocumentClass)
HX_DECLARE_CLASS0(Main)
HX_DECLARE_CLASS2(openfl,display,DisplayObject)
HX_DECLARE_CLASS2(openfl,display,DisplayObjectContainer)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS2(openfl,display,InteractiveObject)
HX_DECLARE_CLASS2(openfl,display,Sprite)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
class HXCPP_CLASS_ATTRIBUTES DocumentClass_obj : public ::Main_obj
{
public:
typedef ::Main_obj super;
typedef DocumentClass_obj OBJ_;
DocumentClass_obj();
public:
enum { _hx_ClassId = 0x3e03a6fd };
void __construct( ::openfl::display::DisplayObjectContainer current);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="DocumentClass")
{ 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,"DocumentClass"); }
static hx::ObjectPtr< DocumentClass_obj > __new( ::openfl::display::DisplayObjectContainer current);
static hx::ObjectPtr< DocumentClass_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display::DisplayObjectContainer current);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~DocumentClass_obj();
HX_DO_RTTI_ALL;
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("DocumentClass",fd,a6,03,3e); }
};
#endif /* INCLUDED_DocumentClass */

View File

@ -0,0 +1,85 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_EReg
#define INCLUDED_EReg
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_0f9ac110bd093a4e_28_new)
HX_DECLARE_CLASS0(EReg)
class HXCPP_CLASS_ATTRIBUTES EReg_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef EReg_obj OBJ_;
EReg_obj();
public:
enum { _hx_ClassId = 0x2dda4a0f };
void __construct(::String r,::String opt);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="EReg")
{ 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,"EReg"); }
inline static hx::ObjectPtr< EReg_obj > __new(::String r,::String opt) {
hx::ObjectPtr< EReg_obj > __this = new EReg_obj();
__this->__construct(r,opt);
return __this;
}
inline static hx::ObjectPtr< EReg_obj > __alloc(hx::Ctx *_hx_ctx,::String r,::String opt) {
EReg_obj *__this = (EReg_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(EReg_obj), true, "EReg"));
*(void **)__this = EReg_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_0f9ac110bd093a4e_28_new)
HXLINE( 29) ::Array< ::String > a = opt.split(HX_("g",67,00,00,00));
HXLINE( 30) ( ( ::EReg)(__this) )->global = (a->length > 1);
HXLINE( 31) if (( ( ::EReg)(__this) )->global) {
HXLINE( 32) opt = a->join(HX_("",00,00,00,00));
}
HXLINE( 33) ( ( ::EReg)(__this) )->r = _hx_regexp_new_options(r,opt);
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~EReg_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_("EReg",0f,4a,da,2d); }
::Dynamic r;
::String last;
bool global;
bool match(::String s);
::Dynamic match_dyn();
::String matched(int n);
::Dynamic matched_dyn();
::Dynamic matchedPos();
::Dynamic matchedPos_dyn();
bool matchSub(::String s,int pos,hx::Null< int > len);
::Dynamic matchSub_dyn();
};
#endif /* INCLUDED_EReg */

View File

@ -0,0 +1,66 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Game
#define INCLUDED_Game
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Game)
HX_DECLARE_CLASS2(lime,app,IModule)
HX_DECLARE_CLASS2(openfl,display,DisplayObject)
HX_DECLARE_CLASS2(openfl,display,DisplayObjectContainer)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS2(openfl,display,InteractiveObject)
HX_DECLARE_CLASS2(openfl,display,Sprite)
HX_DECLARE_CLASS2(openfl,display,Stage)
HX_DECLARE_CLASS2(openfl,events,Event)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
class HXCPP_CLASS_ATTRIBUTES Game_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Game_obj OBJ_;
Game_obj();
public:
enum { _hx_ClassId = 0x2f382012 };
void __construct( ::openfl::display::Stage _stage);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="Game")
{ 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,"Game"); }
static hx::ObjectPtr< Game_obj > __new( ::openfl::display::Stage _stage);
static hx::ObjectPtr< Game_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display::Stage _stage);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Game_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_("Game",12,20,38,2f); }
::openfl::display::Stage stage;
::openfl::display::Sprite player;
void onInit();
::Dynamic onInit_dyn();
void onEnterFrame( ::openfl::events::Event e);
::Dynamic onEnterFrame_dyn();
};
#endif /* INCLUDED_Game */

View File

@ -0,0 +1,58 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Lambda
#define INCLUDED_Lambda
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Lambda)
class HXCPP_CLASS_ATTRIBUTES Lambda_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Lambda_obj OBJ_;
Lambda_obj();
public:
enum { _hx_ClassId = 0x02196def };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Lambda")
{ 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,"Lambda"); }
inline static hx::ObjectPtr< Lambda_obj > __new() {
hx::ObjectPtr< Lambda_obj > __this = new Lambda_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Lambda_obj > __alloc(hx::Ctx *_hx_ctx) {
Lambda_obj *__this = (Lambda_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Lambda_obj), false, "Lambda"));
*(void **)__this = Lambda_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Lambda_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_("Lambda",27,a7,54,85); }
static ::cpp::VirtualArray array( ::Dynamic it);
static ::Dynamic array_dyn();
};
#endif /* INCLUDED_Lambda */

View File

@ -0,0 +1,58 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Main
#define INCLUDED_Main
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_display_Sprite
#include <openfl/display/Sprite.h>
#endif
HX_DECLARE_CLASS0(Main)
HX_DECLARE_CLASS2(openfl,display,DisplayObject)
HX_DECLARE_CLASS2(openfl,display,DisplayObjectContainer)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS2(openfl,display,InteractiveObject)
HX_DECLARE_CLASS2(openfl,display,Sprite)
HX_DECLARE_CLASS2(openfl,events,Event)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
class HXCPP_CLASS_ATTRIBUTES Main_obj : public ::openfl::display::Sprite_obj
{
public:
typedef ::openfl::display::Sprite_obj super;
typedef Main_obj OBJ_;
Main_obj();
public:
enum { _hx_ClassId = 0x332f6459 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="Main")
{ 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,"Main"); }
static hx::ObjectPtr< Main_obj > __new();
static hx::ObjectPtr< Main_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Main_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Main",59,64,2f,33); }
void onResize( ::openfl::events::Event event);
::Dynamic onResize_dyn();
};
#endif /* INCLUDED_Main */

View File

@ -0,0 +1,63 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_ManifestResources
#define INCLUDED_ManifestResources
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(ManifestResources)
HX_DECLARE_CLASS2(lime,utils,AssetLibrary)
class HXCPP_CLASS_ATTRIBUTES ManifestResources_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ManifestResources_obj OBJ_;
ManifestResources_obj();
public:
enum { _hx_ClassId = 0x56300e16 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="ManifestResources")
{ 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,"ManifestResources"); }
inline static hx::ObjectPtr< ManifestResources_obj > __new() {
hx::ObjectPtr< ManifestResources_obj > __this = new ManifestResources_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< ManifestResources_obj > __alloc(hx::Ctx *_hx_ctx) {
ManifestResources_obj *__this = (ManifestResources_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ManifestResources_obj), false, "ManifestResources"));
*(void **)__this = ManifestResources_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ManifestResources_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_("ManifestResources",16,0e,30,56); }
static ::Array< ::Dynamic> preloadLibraries;
static ::Array< ::String > preloadLibraryNames;
static ::String rootPath;
static void init( ::Dynamic config);
static ::Dynamic init_dyn();
};
#endif /* INCLUDED_ManifestResources */

View File

@ -0,0 +1,85 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Reflect
#define INCLUDED_Reflect
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Reflect)
class HXCPP_CLASS_ATTRIBUTES Reflect_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Reflect_obj OBJ_;
Reflect_obj();
public:
enum { _hx_ClassId = 0x0e2f4039 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Reflect")
{ 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,"Reflect"); }
inline static hx::ObjectPtr< Reflect_obj > __new() {
hx::ObjectPtr< Reflect_obj > __this = new Reflect_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Reflect_obj > __alloc(hx::Ctx *_hx_ctx) {
Reflect_obj *__this = (Reflect_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Reflect_obj), false, "Reflect"));
*(void **)__this = Reflect_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Reflect_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_("Reflect",1d,ac,7a,b6); }
static bool hasField( ::Dynamic o,::String field);
static ::Dynamic hasField_dyn();
static ::Dynamic field( ::Dynamic o,::String field);
static ::Dynamic field_dyn();
static void setField( ::Dynamic o,::String field, ::Dynamic value);
static ::Dynamic setField_dyn();
static ::Dynamic callMethod( ::Dynamic o, ::Dynamic func,::cpp::VirtualArray args);
static ::Dynamic callMethod_dyn();
static ::Array< ::String > fields( ::Dynamic o);
static ::Dynamic fields_dyn();
static bool isFunction( ::Dynamic f);
static ::Dynamic isFunction_dyn();
static int compare( ::Dynamic a, ::Dynamic b);
static ::Dynamic compare_dyn();
static bool compareMethods( ::Dynamic f1, ::Dynamic f2);
static ::Dynamic compareMethods_dyn();
static bool isObject( ::Dynamic v);
static ::Dynamic isObject_dyn();
static ::Dynamic makeVarArgs( ::Dynamic f);
static ::Dynamic makeVarArgs_dyn();
};
#endif /* INCLUDED_Reflect */

View File

@ -0,0 +1,80 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Std
#define INCLUDED_Std
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Std)
class HXCPP_CLASS_ATTRIBUTES Std_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Std_obj OBJ_;
Std_obj();
public:
enum { _hx_ClassId = 0x003f6083 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Std")
{ 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,"Std"); }
inline static hx::ObjectPtr< Std_obj > __new() {
hx::ObjectPtr< Std_obj > __this = new Std_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Std_obj > __alloc(hx::Ctx *_hx_ctx) {
Std_obj *__this = (Std_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Std_obj), false, "Std"));
*(void **)__this = Std_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Std_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_("Std",83,60,3f,00); }
static bool is( ::Dynamic v, ::Dynamic t);
static ::Dynamic is_dyn();
static ::Dynamic downcast( ::Dynamic value,hx::Class c);
static ::Dynamic downcast_dyn();
static ::Dynamic instance( ::Dynamic value,hx::Class c);
static ::Dynamic instance_dyn();
static ::String string( ::Dynamic s);
static ::Dynamic string_dyn();
static int _hx_int(Float x);
static ::Dynamic _hx_int_dyn();
static ::Dynamic parseInt(::String x);
static ::Dynamic parseInt_dyn();
static Float parseFloat(::String x);
static ::Dynamic parseFloat_dyn();
static int random(int x);
static ::Dynamic random_dyn();
static inline String string(String &s) { return s; }
};
#endif /* INCLUDED_Std */

View File

@ -0,0 +1,78 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_StringBuf
#define INCLUDED_StringBuf
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_7d06a5e189b00d33_35_new)
HX_DECLARE_CLASS0(StringBuf)
class HXCPP_CLASS_ATTRIBUTES StringBuf_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef StringBuf_obj OBJ_;
StringBuf_obj();
public:
enum { _hx_ClassId = 0x6983cac2 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="StringBuf")
{ 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,"StringBuf"); }
inline static hx::ObjectPtr< StringBuf_obj > __new() {
hx::ObjectPtr< StringBuf_obj > __this = new StringBuf_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< StringBuf_obj > __alloc(hx::Ctx *_hx_ctx) {
StringBuf_obj *__this = (StringBuf_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(StringBuf_obj), true, "StringBuf"));
*(void **)__this = StringBuf_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_7d06a5e189b00d33_35_new)
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~StringBuf_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_("StringBuf",c2,ca,83,69); }
::Array< ::String > b;
::Array< char > charBuf;
::String charBufAsString();
::Dynamic charBufAsString_dyn();
void flush();
::Dynamic flush_dyn();
int get_length();
::Dynamic get_length_dyn();
virtual ::String toString();
::Dynamic toString_dyn();
};
#endif /* INCLUDED_StringBuf */

View File

@ -0,0 +1,88 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_StringTools
#define INCLUDED_StringTools
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(StringTools)
class HXCPP_CLASS_ATTRIBUTES StringTools_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef StringTools_obj OBJ_;
StringTools_obj();
public:
enum { _hx_ClassId = 0x0363db6a };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="StringTools")
{ 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,"StringTools"); }
inline static hx::ObjectPtr< StringTools_obj > __new() {
hx::ObjectPtr< StringTools_obj > __this = new StringTools_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< StringTools_obj > __alloc(hx::Ctx *_hx_ctx) {
StringTools_obj *__this = (StringTools_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(StringTools_obj), false, "StringTools"));
*(void **)__this = StringTools_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~StringTools_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_("StringTools",6a,db,63,03); }
static ::String urlEncode(::String s);
static ::Dynamic urlEncode_dyn();
static ::String urlDecode(::String s);
static ::Dynamic urlDecode_dyn();
static bool startsWith(::String s,::String start);
static ::Dynamic startsWith_dyn();
static bool endsWith(::String s,::String end);
static ::Dynamic endsWith_dyn();
static bool isSpace(::String s,int pos);
static ::Dynamic isSpace_dyn();
static ::String ltrim(::String s);
static ::Dynamic ltrim_dyn();
static ::String rtrim(::String s);
static ::Dynamic rtrim_dyn();
static ::String trim(::String s);
static ::Dynamic trim_dyn();
static ::String lpad(::String s,::String c,int l);
static ::Dynamic lpad_dyn();
static ::String replace(::String s,::String sub,::String by);
static ::Dynamic replace_dyn();
static ::String hex(int n, ::Dynamic digits);
static ::Dynamic hex_dyn();
};
#endif /* INCLUDED_StringTools */

View File

@ -0,0 +1,79 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Sys
#define INCLUDED_Sys
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Sys)
class HXCPP_CLASS_ATTRIBUTES Sys_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Sys_obj OBJ_;
Sys_obj();
public:
enum { _hx_ClassId = 0x003f64ed };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Sys")
{ 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,"Sys"); }
inline static hx::ObjectPtr< Sys_obj > __new() {
hx::ObjectPtr< Sys_obj > __this = new Sys_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Sys_obj > __alloc(hx::Ctx *_hx_ctx) {
Sys_obj *__this = (Sys_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Sys_obj), false, "Sys"));
*(void **)__this = Sys_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Sys_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_("Sys",ed,64,3f,00); }
static void print( ::Dynamic v);
static ::Dynamic print_dyn();
static void println( ::Dynamic v);
static ::Dynamic println_dyn();
static ::Array< ::String > args();
static ::Dynamic args_dyn();
static ::String getEnv(::String s);
static ::Dynamic getEnv_dyn();
static void sleep(Float seconds);
static ::Dynamic sleep_dyn();
static ::String systemName();
static ::Dynamic systemName_dyn();
static int command(::String cmd,::Array< ::String > args);
static ::Dynamic command_dyn();
static void exit(int code);
static ::Dynamic exit_dyn();
};
#endif /* INCLUDED_Sys */

View File

@ -0,0 +1,92 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_Type
#define INCLUDED_Type
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Type)
HX_DECLARE_CLASS0(ValueType)
class HXCPP_CLASS_ATTRIBUTES Type_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Type_obj OBJ_;
Type_obj();
public:
enum { _hx_ClassId = 0x37e21eda };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Type")
{ 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,"Type"); }
inline static hx::ObjectPtr< Type_obj > __new() {
hx::ObjectPtr< Type_obj > __this = new Type_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Type_obj > __alloc(hx::Ctx *_hx_ctx) {
Type_obj *__this = (Type_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Type_obj), false, "Type"));
*(void **)__this = Type_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Type_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_("Type",da,1e,e2,37); }
static hx::Class getClass( ::Dynamic o);
static ::Dynamic getClass_dyn();
static hx::Class getSuperClass(hx::Class c);
static ::Dynamic getSuperClass_dyn();
static ::String getClassName(hx::Class c);
static ::Dynamic getClassName_dyn();
static ::String getEnumName(hx::Class e);
static ::Dynamic getEnumName_dyn();
static hx::Class resolveClass(::String name);
static ::Dynamic resolveClass_dyn();
static hx::Class resolveEnum(::String name);
static ::Dynamic resolveEnum_dyn();
static ::Dynamic createInstance(hx::Class cl,::cpp::VirtualArray args);
static ::Dynamic createInstance_dyn();
static ::Dynamic createEmptyInstance(hx::Class cl);
static ::Dynamic createEmptyInstance_dyn();
static ::Dynamic createEnum(hx::Class e,::String constr,::cpp::VirtualArray params);
static ::Dynamic createEnum_dyn();
static ::Array< ::String > getInstanceFields(hx::Class c);
static ::Dynamic getInstanceFields_dyn();
static ::Array< ::String > getEnumConstructs(hx::Class e);
static ::Dynamic getEnumConstructs_dyn();
static ::ValueType _hx_typeof( ::Dynamic v);
static ::Dynamic _hx_typeof_dyn();
};
#endif /* INCLUDED_Type */

View File

@ -0,0 +1,47 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_ValueType
#define INCLUDED_ValueType
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(ValueType)
class ValueType_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef ValueType_obj OBJ_;
public:
ValueType_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("ValueType",ab,8a,60,3b); }
::String __ToString() const { return HX_("ValueType.",23,cb,18,b9) + _hx_tag; }
static ::ValueType TBool;
static inline ::ValueType TBool_dyn() { return TBool; }
static ::ValueType TClass(hx::Class c);
static ::Dynamic TClass_dyn();
static ::ValueType TEnum(hx::Class e);
static ::Dynamic TEnum_dyn();
static ::ValueType TFloat;
static inline ::ValueType TFloat_dyn() { return TFloat; }
static ::ValueType TFunction;
static inline ::ValueType TFunction_dyn() { return TFunction; }
static ::ValueType TInt;
static inline ::ValueType TInt_dyn() { return TInt; }
static ::ValueType TNull;
static inline ::ValueType TNull_dyn() { return TNull; }
static ::ValueType TObject;
static inline ::ValueType TObject_dyn() { return TObject; }
static ::ValueType TUnknown;
static inline ::ValueType TUnknown_dyn() { return TUnknown; }
};
#endif /* INCLUDED_ValueType */

View File

@ -0,0 +1,51 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED___ASSET__manifest_default_json
#define INCLUDED___ASSET__manifest_default_json
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
HX_DECLARE_CLASS0(__ASSET__manifest_default_json)
HX_DECLARE_CLASS2(haxe,io,Bytes)
class HXCPP_CLASS_ATTRIBUTES __ASSET__manifest_default_json_obj : public ::haxe::io::Bytes_obj
{
public:
typedef ::haxe::io::Bytes_obj super;
typedef __ASSET__manifest_default_json_obj OBJ_;
__ASSET__manifest_default_json_obj();
public:
enum { _hx_ClassId = 0x784053a6 };
void __construct( ::Dynamic length,::Array< unsigned char > bytesData);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="__ASSET__manifest_default_json")
{ 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,"__ASSET__manifest_default_json"); }
static hx::ObjectPtr< __ASSET__manifest_default_json_obj > __new( ::Dynamic length,::Array< unsigned char > bytesData);
static hx::ObjectPtr< __ASSET__manifest_default_json_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic length,::Array< unsigned char > bytesData);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~__ASSET__manifest_default_json_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_("__ASSET__manifest_default_json",a6,53,40,78); }
static void __boot();
static ::String resourceName;
};
#endif /* INCLUDED___ASSET__manifest_default_json */

View File

@ -0,0 +1,63 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_cpp_Lib
#define INCLUDED_cpp_Lib
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(cpp,Lib)
namespace cpp{
class HXCPP_CLASS_ATTRIBUTES Lib_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Lib_obj OBJ_;
Lib_obj();
public:
enum { _hx_ClassId = 0x09f990c6 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="cpp.Lib")
{ 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,"cpp.Lib"); }
inline static hx::ObjectPtr< Lib_obj > __new() {
hx::ObjectPtr< Lib_obj > __this = new Lib_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Lib_obj > __alloc(hx::Ctx *_hx_ctx) {
Lib_obj *__this = (Lib_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Lib_obj), false, "cpp.Lib"));
*(void **)__this = Lib_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Lib_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_("Lib",25,07,3a,00); }
static ::Dynamic load(::String lib,::String prim,int nargs);
static ::Dynamic load_dyn();
static ::Dynamic loadLazy(::String lib,::String prim,int nargs);
static ::Dynamic loadLazy_dyn();
};
} // end namespace cpp
#endif /* INCLUDED_cpp_Lib */

View File

@ -0,0 +1,60 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_cpp_Prime
#define INCLUDED_cpp_Prime
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(cpp,Prime)
namespace cpp{
class HXCPP_CLASS_ATTRIBUTES Prime_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Prime_obj OBJ_;
Prime_obj();
public:
enum { _hx_ClassId = 0x5288a064 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="cpp.Prime")
{ 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,"cpp.Prime"); }
inline static hx::ObjectPtr< Prime_obj > __new() {
hx::ObjectPtr< Prime_obj > __this = new Prime_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Prime_obj > __alloc(hx::Ctx *_hx_ctx) {
Prime_obj *__this = (Prime_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Prime_obj), false, "cpp.Prime"));
*(void **)__this = Prime_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Prime_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_("Prime",1f,c7,b8,5b); }
static ::Dynamic _loadPrime(::String lib,::String prim,::String signature,hx::Null< bool > quietFail);
static ::Dynamic _loadPrime_dyn();
};
} // end namespace cpp
#endif /* INCLUDED_cpp_Prime */

View File

@ -0,0 +1,71 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_CallStack
#define INCLUDED_haxe_CallStack
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(StringBuf)
HX_DECLARE_CLASS1(haxe,CallStack)
HX_DECLARE_CLASS1(haxe,StackItem)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES CallStack_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef CallStack_obj OBJ_;
CallStack_obj();
public:
enum { _hx_ClassId = 0x6207a884 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.CallStack")
{ 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,"haxe.CallStack"); }
inline static hx::ObjectPtr< CallStack_obj > __new() {
hx::ObjectPtr< CallStack_obj > __this = new CallStack_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< CallStack_obj > __alloc(hx::Ctx *_hx_ctx) {
CallStack_obj *__this = (CallStack_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(CallStack_obj), false, "haxe.CallStack"));
*(void **)__this = CallStack_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~CallStack_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_("CallStack",aa,a1,1d,b2); }
static ::Array< ::Dynamic> exceptionStack();
static ::Dynamic exceptionStack_dyn();
static ::String toString(::Array< ::Dynamic> stack);
static ::Dynamic toString_dyn();
static void itemToString( ::StringBuf b, ::haxe::StackItem s);
static ::Dynamic itemToString_dyn();
static ::Array< ::Dynamic> makeStack( ::Dynamic s);
static ::Dynamic makeStack_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_CallStack */

View File

@ -0,0 +1,68 @@
// Generated by Haxe 4.1.5
#ifndef INCLUDED_haxe_Exception
#define INCLUDED_haxe_Exception
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,Exception)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES Exception_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef Exception_obj OBJ_;
Exception_obj();
public:
enum { _hx_ClassId = 0x677ddc49 };
void __construct(::String message, ::haxe::Exception previous, ::Dynamic native);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.Exception")
{ 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,"haxe.Exception"); }
static ::hx::ObjectPtr< Exception_obj > __new(::String message, ::haxe::Exception previous, ::Dynamic native);
static ::hx::ObjectPtr< Exception_obj > __alloc(::hx::Ctx *_hx_ctx,::String message, ::haxe::Exception previous, ::Dynamic native);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~Exception_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);
::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_("Exception",2f,f0,6c,eb); }
static ::haxe::Exception caught( ::Dynamic value);
static ::Dynamic caught_dyn();
static ::Dynamic thrown( ::Dynamic value);
static ::Dynamic thrown_dyn();
::String _hx___exceptionMessage;
::Array< ::String > _hx___nativeStack;
int _hx___skipStack;
::Dynamic _hx___nativeException;
::haxe::Exception _hx___previousException;
virtual ::Dynamic unwrap();
::Dynamic unwrap_dyn();
::Dynamic get_native();
::Dynamic get_native_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_Exception */

View File

@ -0,0 +1,35 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_IMap
#define INCLUDED_haxe_IMap
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES IMap_obj {
public:
typedef hx::Object super;
HX_DO_INTERFACE_RTTI;
void (hx::Object :: *_hx_set)( ::Dynamic k, ::Dynamic v);
static inline void set( ::Dynamic _hx_, ::Dynamic k, ::Dynamic v) {
(_hx_.mPtr->*( hx::interface_cast< ::haxe::IMap_obj *>(_hx_.mPtr->_hx_getInterface(0x09c2bd39)))->_hx_set)(k,v);
}
bool (hx::Object :: *_hx_exists)( ::Dynamic k);
static inline bool exists( ::Dynamic _hx_, ::Dynamic k) {
return (_hx_.mPtr->*( hx::interface_cast< ::haxe::IMap_obj *>(_hx_.mPtr->_hx_getInterface(0x09c2bd39)))->_hx_exists)(k);
}
bool (hx::Object :: *_hx_remove)( ::Dynamic k);
static inline bool remove( ::Dynamic _hx_, ::Dynamic k) {
return (_hx_.mPtr->*( hx::interface_cast< ::haxe::IMap_obj *>(_hx_.mPtr->_hx_getInterface(0x09c2bd39)))->_hx_remove)(k);
}
};
} // end namespace haxe
#endif /* INCLUDED_haxe_IMap */

View File

@ -0,0 +1,62 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_Log
#define INCLUDED_haxe_Log
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,Log)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES Log_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Log_obj OBJ_;
Log_obj();
public:
enum { _hx_ClassId = 0x0446b9f6 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.Log")
{ 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,"haxe.Log"); }
inline static hx::ObjectPtr< Log_obj > __new() {
hx::ObjectPtr< Log_obj > __this = new Log_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Log_obj > __alloc(hx::Ctx *_hx_ctx) {
Log_obj *__this = (Log_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Log_obj), false, "haxe.Log"));
*(void **)__this = Log_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Log_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_("Log",64,0c,3a,00); }
static void __boot();
static ::Dynamic trace;
static inline ::Dynamic &trace_dyn() {return trace; }
};
} // end namespace haxe
#endif /* INCLUDED_haxe_Log */

View File

@ -0,0 +1,70 @@
// Generated by Haxe 4.1.5
#ifndef INCLUDED_haxe_NativeStackTrace
#define INCLUDED_haxe_NativeStackTrace
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,NativeStackTrace)
HX_DECLARE_CLASS1(haxe,StackItem)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES NativeStackTrace_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef NativeStackTrace_obj OBJ_;
NativeStackTrace_obj();
public:
enum { _hx_ClassId = 0x3984963e };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.NativeStackTrace")
{ 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,"haxe.NativeStackTrace"); }
inline static ::hx::ObjectPtr< NativeStackTrace_obj > __new() {
::hx::ObjectPtr< NativeStackTrace_obj > __this = new NativeStackTrace_obj();
__this->__construct();
return __this;
}
inline static ::hx::ObjectPtr< NativeStackTrace_obj > __alloc(::hx::Ctx *_hx_ctx) {
NativeStackTrace_obj *__this = (NativeStackTrace_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(NativeStackTrace_obj), false, "haxe.NativeStackTrace"));
*(void **)__this = NativeStackTrace_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~NativeStackTrace_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_("NativeStackTrace",b4,5e,6d,3c); }
static void saveStack( ::Dynamic exception);
static ::Dynamic saveStack_dyn();
static ::Array< ::String > callStack();
static ::Dynamic callStack_dyn();
static ::Array< ::String > exceptionStack();
static ::Dynamic exceptionStack_dyn();
static ::Array< ::Dynamic> toHaxe(::Array< ::String > native,::hx::Null< int > skip);
static ::Dynamic toHaxe_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_NativeStackTrace */

View File

@ -0,0 +1,61 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_Resource
#define INCLUDED_haxe_Resource
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,Resource)
HX_DECLARE_CLASS2(haxe,io,Bytes)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES Resource_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Resource_obj OBJ_;
Resource_obj();
public:
enum { _hx_ClassId = 0x75b82b54 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.Resource")
{ 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,"haxe.Resource"); }
inline static hx::ObjectPtr< Resource_obj > __new() {
hx::ObjectPtr< Resource_obj > __this = new Resource_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Resource_obj > __alloc(hx::Ctx *_hx_ctx) {
Resource_obj *__this = (Resource_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Resource_obj), false, "haxe.Resource"));
*(void **)__this = Resource_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Resource_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_("Resource",ee,18,52,ec); }
static ::haxe::io::Bytes getBytes(::String name);
static ::Dynamic getBytes_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_Resource */

View File

@ -0,0 +1,84 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_Serializer
#define INCLUDED_haxe_Serializer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(StringBuf)
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS1(haxe,Serializer)
HX_DECLARE_CLASS2(haxe,ds,StringMap)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES Serializer_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Serializer_obj OBJ_;
Serializer_obj();
public:
enum { _hx_ClassId = 0x0866dbc4 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.Serializer")
{ 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,"haxe.Serializer"); }
static hx::ObjectPtr< Serializer_obj > __new();
static hx::ObjectPtr< Serializer_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Serializer_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);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, 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_("Serializer",b2,ca,d0,55); }
static void __boot();
static bool USE_CACHE;
static bool USE_ENUM_INDEX;
static ::String BASE64;
static ::Array< ::Dynamic> BASE64_CODES;
static ::String run( ::Dynamic v);
static ::Dynamic run_dyn();
::StringBuf buf;
::cpp::VirtualArray cache;
::haxe::ds::StringMap shash;
int scount;
bool useCache;
bool useEnumIndex;
virtual ::String toString();
::Dynamic toString_dyn();
void serializeString(::String s);
::Dynamic serializeString_dyn();
bool serializeRef( ::Dynamic v);
::Dynamic serializeRef_dyn();
void serializeFields( ::Dynamic v);
::Dynamic serializeFields_dyn();
void serialize( ::Dynamic v);
::Dynamic serialize_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_Serializer */

View File

@ -0,0 +1,41 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_StackItem
#define INCLUDED_haxe_StackItem
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,StackItem)
namespace haxe{
class StackItem_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef StackItem_obj OBJ_;
public:
StackItem_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("haxe.StackItem",13,26,c7,2d); }
::String __ToString() const { return HX_("StackItem.",73,53,dc,cb) + _hx_tag; }
static ::haxe::StackItem CFunction;
static inline ::haxe::StackItem CFunction_dyn() { return CFunction; }
static ::haxe::StackItem FilePos( ::haxe::StackItem s,::String file,int line, ::Dynamic column);
static ::Dynamic FilePos_dyn();
static ::haxe::StackItem LocalFunction( ::Dynamic v);
static ::Dynamic LocalFunction_dyn();
static ::haxe::StackItem Method(::String classname,::String method);
static ::Dynamic Method_dyn();
static ::haxe::StackItem Module(::String m);
static ::Dynamic Module_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_StackItem */

View File

@ -0,0 +1,66 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_SysTools
#define INCLUDED_haxe_SysTools
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,SysTools)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES SysTools_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef SysTools_obj OBJ_;
SysTools_obj();
public:
enum { _hx_ClassId = 0x5eccb454 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.SysTools")
{ 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,"haxe.SysTools"); }
inline static hx::ObjectPtr< SysTools_obj > __new() {
hx::ObjectPtr< SysTools_obj > __this = new SysTools_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< SysTools_obj > __alloc(hx::Ctx *_hx_ctx) {
SysTools_obj *__this = (SysTools_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(SysTools_obj), false, "haxe.SysTools"));
*(void **)__this = SysTools_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~SysTools_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_("SysTools",ee,a1,66,d5); }
static void __boot();
static ::Array< int > winMetaCharacters;
static ::String quoteUnixArg(::String argument);
static ::Dynamic quoteUnixArg_dyn();
static ::String quoteWinArg(::String argument,bool escapeMetaCharacters);
static ::Dynamic quoteWinArg_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_SysTools */

View File

@ -0,0 +1,101 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_Timer
#define INCLUDED_haxe_Timer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_102f69689d37b2bb_230_new)
HX_DECLARE_CLASS1(haxe,Timer)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES Timer_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Timer_obj OBJ_;
Timer_obj();
public:
enum { _hx_ClassId = 0x4623e5b7 };
void __construct(Float time);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.Timer")
{ 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,"haxe.Timer"); }
inline static hx::ObjectPtr< Timer_obj > __new(Float time) {
hx::ObjectPtr< Timer_obj > __this = new Timer_obj();
__this->__construct(time);
return __this;
}
inline static hx::ObjectPtr< Timer_obj > __alloc(hx::Ctx *_hx_ctx,Float time) {
Timer_obj *__this = (Timer_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Timer_obj), true, "haxe.Timer"));
*(void **)__this = Timer_obj::_hx_vtable;
haxe::Timer_obj::__alloc_dynamic_functions(_hx_ctx,__this);
{
HX_STACKFRAME(&_hx_pos_102f69689d37b2bb_230_new)
HXLINE( 231) ( ( ::haxe::Timer)(__this) )->mTime = time;
HXLINE( 232) ::haxe::Timer_obj::sRunningTimers->push(__this);
HXLINE( 233) Float _hx_tmp = ::haxe::Timer_obj::getMS();
HXDLIN( 233) ( ( ::haxe::Timer)(__this) )->mFireAt = (_hx_tmp + ( ( ::haxe::Timer)(__this) )->mTime);
HXLINE( 234) ( ( ::haxe::Timer)(__this) )->mRunning = true;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
static void __alloc_dynamic_functions(hx::Ctx *_hx_alloc,Timer_obj *_hx_obj);
//~Timer_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);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, 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_("Timer",a5,2f,63,a3); }
static void __boot();
static ::Array< ::Dynamic> sRunningTimers;
static ::haxe::Timer delay( ::Dynamic f,int time);
static ::Dynamic delay_dyn();
static Float getMS();
static ::Dynamic getMS_dyn();
static ::Dynamic measure( ::Dynamic f, ::Dynamic pos);
static ::Dynamic measure_dyn();
static Float stamp();
static ::Dynamic stamp_dyn();
Float mTime;
Float mFireAt;
bool mRunning;
::Dynamic run;
inline ::Dynamic &run_dyn() {return run; }
void stop();
::Dynamic stop_dyn();
void _hx___check(Float inTime);
::Dynamic _hx___check_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_Timer */

View File

@ -0,0 +1,83 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_Unserializer
#define INCLUDED_haxe_Unserializer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,Unserializer)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES Unserializer_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Unserializer_obj OBJ_;
Unserializer_obj();
public:
enum { _hx_ClassId = 0x7af2b435 };
void __construct(::String buf);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.Unserializer")
{ 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,"haxe.Unserializer"); }
static hx::ObjectPtr< Unserializer_obj > __new(::String buf);
static hx::ObjectPtr< Unserializer_obj > __alloc(hx::Ctx *_hx_ctx,::String buf);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Unserializer_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);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, 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_("Unserializer",4b,42,41,93); }
static void __boot();
static ::Dynamic DEFAULT_RESOLVER;
static ::String BASE64;
static ::Array< int > CODES;
static ::Array< int > initCodes();
static ::Dynamic initCodes_dyn();
static ::Dynamic run(::String v);
static ::Dynamic run_dyn();
::String buf;
int pos;
int length;
::cpp::VirtualArray cache;
::Array< ::String > scache;
::Dynamic resolver;
int readDigits();
::Dynamic readDigits_dyn();
Float readFloat();
::Dynamic readFloat_dyn();
void unserializeObject( ::Dynamic o);
::Dynamic unserializeObject_dyn();
::Dynamic unserializeEnum(hx::Class edecl,::String tag);
::Dynamic unserializeEnum_dyn();
::Dynamic unserialize();
::Dynamic unserialize_dyn();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_Unserializer */

View File

@ -0,0 +1,57 @@
// Generated by Haxe 4.1.5
#ifndef INCLUDED_haxe_ValueException
#define INCLUDED_haxe_ValueException
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_Exception
#include <haxe/Exception.h>
#endif
HX_DECLARE_CLASS1(haxe,Exception)
HX_DECLARE_CLASS1(haxe,ValueException)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES ValueException_obj : public ::haxe::Exception_obj
{
public:
typedef ::haxe::Exception_obj super;
typedef ValueException_obj OBJ_;
ValueException_obj();
public:
enum { _hx_ClassId = 0x0af01d58 };
void __construct( ::Dynamic value, ::haxe::Exception previous, ::Dynamic native);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.ValueException")
{ 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,"haxe.ValueException"); }
static ::hx::ObjectPtr< ValueException_obj > __new( ::Dynamic value, ::haxe::Exception previous, ::Dynamic native);
static ::hx::ObjectPtr< ValueException_obj > __alloc(::hx::Ctx *_hx_ctx, ::Dynamic value, ::haxe::Exception previous, ::Dynamic native);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~ValueException_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_("ValueException",be,0e,61,3f); }
::Dynamic value;
::Dynamic unwrap();
};
} // end namespace haxe
#endif /* INCLUDED_haxe_ValueException */

View File

@ -0,0 +1,79 @@
// Generated by Haxe 4.1.5
#ifndef INCLUDED_haxe__CallStack_CallStack_Impl_
#define INCLUDED_haxe__CallStack_CallStack_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(StringBuf)
HX_DECLARE_CLASS1(haxe,StackItem)
HX_DECLARE_CLASS2(haxe,_CallStack,CallStack_Impl_)
namespace haxe{
namespace _CallStack{
class HXCPP_CLASS_ATTRIBUTES CallStack_Impl__obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef CallStack_Impl__obj OBJ_;
CallStack_Impl__obj();
public:
enum { _hx_ClassId = 0x29a173d9 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe._CallStack.CallStack_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,"haxe._CallStack.CallStack_Impl_"); }
inline static ::hx::ObjectPtr< CallStack_Impl__obj > __new() {
::hx::ObjectPtr< CallStack_Impl__obj > __this = new CallStack_Impl__obj();
__this->__construct();
return __this;
}
inline static ::hx::ObjectPtr< CallStack_Impl__obj > __alloc(::hx::Ctx *_hx_ctx) {
CallStack_Impl__obj *__this = (CallStack_Impl__obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(CallStack_Impl__obj), false, "haxe._CallStack.CallStack_Impl_"));
*(void **)__this = CallStack_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~CallStack_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_("CallStack_Impl_",ca,79,56,8f); }
static ::Array< ::Dynamic> callStack();
static ::Dynamic callStack_dyn();
static ::Array< ::Dynamic> exceptionStack(::hx::Null< bool > fullStack);
static ::Dynamic exceptionStack_dyn();
static ::String toString(::Array< ::Dynamic> stack);
static ::Dynamic toString_dyn();
static ::Array< ::Dynamic> subtract(::Array< ::Dynamic> this1,::Array< ::Dynamic> stack);
static ::Dynamic subtract_dyn();
static bool equalItems( ::haxe::StackItem item1, ::haxe::StackItem item2);
static ::Dynamic equalItems_dyn();
static void itemToString( ::StringBuf b, ::haxe::StackItem s);
static ::Dynamic itemToString_dyn();
};
} // end namespace haxe
} // end namespace _CallStack
#endif /* INCLUDED_haxe__CallStack_CallStack_Impl_ */

View File

@ -0,0 +1,54 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe__Unserializer_DefaultResolver
#define INCLUDED_haxe__Unserializer_DefaultResolver
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,_Unserializer,DefaultResolver)
namespace haxe{
namespace _Unserializer{
class HXCPP_CLASS_ATTRIBUTES DefaultResolver_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef DefaultResolver_obj OBJ_;
DefaultResolver_obj();
public:
enum { _hx_ClassId = 0x2712964b };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe._Unserializer.DefaultResolver")
{ 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,"haxe._Unserializer.DefaultResolver"); }
static hx::ObjectPtr< DefaultResolver_obj > __new();
static hx::ObjectPtr< DefaultResolver_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~DefaultResolver_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("DefaultResolver",c7,41,4a,96); }
hx::Class resolveClass(::String name);
::Dynamic resolveClass_dyn();
hx::Class resolveEnum(::String name);
::Dynamic resolveEnum_dyn();
};
} // end namespace haxe
} // end namespace _Unserializer
#endif /* INCLUDED_haxe__Unserializer_DefaultResolver */

View File

@ -0,0 +1,64 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_crypto_Adler32
#define INCLUDED_haxe_crypto_Adler32
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,crypto,Adler32)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Input)
namespace haxe{
namespace crypto{
class HXCPP_CLASS_ATTRIBUTES Adler32_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Adler32_obj OBJ_;
Adler32_obj();
public:
enum { _hx_ClassId = 0x4f124546 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.crypto.Adler32")
{ 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,"haxe.crypto.Adler32"); }
static hx::ObjectPtr< Adler32_obj > __new();
static hx::ObjectPtr< Adler32_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Adler32_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);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Adler32",d5,1c,03,fd); }
static ::haxe::crypto::Adler32 read( ::haxe::io::Input i);
static ::Dynamic read_dyn();
int a1;
int a2;
void update( ::haxe::io::Bytes b,int pos,int len);
::Dynamic update_dyn();
bool equals( ::haxe::crypto::Adler32 a);
::Dynamic equals_dyn();
};
} // end namespace haxe
} // end namespace crypto
#endif /* INCLUDED_haxe_crypto_Adler32 */

View File

@ -0,0 +1,67 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_crypto_Base64
#define INCLUDED_haxe_crypto_Base64
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,crypto,Base64)
HX_DECLARE_CLASS2(haxe,io,Bytes)
namespace haxe{
namespace crypto{
class HXCPP_CLASS_ATTRIBUTES Base64_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Base64_obj OBJ_;
Base64_obj();
public:
enum { _hx_ClassId = 0x65bbd7fa };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.crypto.Base64")
{ 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,"haxe.crypto.Base64"); }
inline static hx::ObjectPtr< Base64_obj > __new() {
hx::ObjectPtr< Base64_obj > __this = new Base64_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Base64_obj > __alloc(hx::Ctx *_hx_ctx) {
Base64_obj *__this = (Base64_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Base64_obj), false, "haxe.crypto.Base64"));
*(void **)__this = Base64_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Base64_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_("Base64",af,71,bc,89); }
static void __boot();
static ::String CHARS;
static ::haxe::io::Bytes BYTES;
static ::haxe::io::Bytes decode(::String str,hx::Null< bool > complement);
static ::Dynamic decode_dyn();
};
} // end namespace haxe
} // end namespace crypto
#endif /* INCLUDED_haxe_crypto_Base64 */

View File

@ -0,0 +1,62 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_crypto_BaseCode
#define INCLUDED_haxe_crypto_BaseCode
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,crypto,BaseCode)
HX_DECLARE_CLASS2(haxe,io,Bytes)
namespace haxe{
namespace crypto{
class HXCPP_CLASS_ATTRIBUTES BaseCode_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef BaseCode_obj OBJ_;
BaseCode_obj();
public:
enum { _hx_ClassId = 0x234bc1a5 };
void __construct( ::haxe::io::Bytes base);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.crypto.BaseCode")
{ 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,"haxe.crypto.BaseCode"); }
static hx::ObjectPtr< BaseCode_obj > __new( ::haxe::io::Bytes base);
static hx::ObjectPtr< BaseCode_obj > __alloc(hx::Ctx *_hx_ctx, ::haxe::io::Bytes base);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~BaseCode_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_("BaseCode",fe,5d,c4,cf); }
::haxe::io::Bytes base;
int nbits;
::Array< int > tbl;
void initTable();
::Dynamic initTable_dyn();
::haxe::io::Bytes decodeBytes( ::haxe::io::Bytes b);
::Dynamic decodeBytes_dyn();
};
} // end namespace haxe
} // end namespace crypto
#endif /* INCLUDED_haxe_crypto_BaseCode */

View File

@ -0,0 +1,83 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_ds_ArraySort
#define INCLUDED_haxe_ds_ArraySort
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,ds,ArraySort)
namespace haxe{
namespace ds{
class HXCPP_CLASS_ATTRIBUTES ArraySort_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ArraySort_obj OBJ_;
ArraySort_obj();
public:
enum { _hx_ClassId = 0x7ffbe7fa };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.ds.ArraySort")
{ 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,"haxe.ds.ArraySort"); }
inline static hx::ObjectPtr< ArraySort_obj > __new() {
hx::ObjectPtr< ArraySort_obj > __this = new ArraySort_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< ArraySort_obj > __alloc(hx::Ctx *_hx_ctx) {
ArraySort_obj *__this = (ArraySort_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ArraySort_obj), false, "haxe.ds.ArraySort"));
*(void **)__this = ArraySort_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ArraySort_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_("ArraySort",77,e1,9c,37); }
static void sort(::cpp::VirtualArray a, ::Dynamic cmp);
static ::Dynamic sort_dyn();
static void rec(::cpp::VirtualArray a, ::Dynamic cmp,int from,int to);
static ::Dynamic rec_dyn();
static void doMerge(::cpp::VirtualArray a, ::Dynamic cmp,int from,int pivot,int to,int len1,int len2);
static ::Dynamic doMerge_dyn();
static void rotate(::cpp::VirtualArray a, ::Dynamic cmp,int from,int mid,int to);
static ::Dynamic rotate_dyn();
static int gcd(int m,int n);
static ::Dynamic gcd_dyn();
static int upper(::cpp::VirtualArray a, ::Dynamic cmp,int from,int to,int val);
static ::Dynamic upper_dyn();
static int lower(::cpp::VirtualArray a, ::Dynamic cmp,int from,int to,int val);
static ::Dynamic lower_dyn();
static void swap(::cpp::VirtualArray a,int i,int j);
static ::Dynamic swap_dyn();
};
} // end namespace haxe
} // end namespace ds
#endif /* INCLUDED_haxe_ds_ArraySort */

View File

@ -0,0 +1,110 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_ds_IntMap
#define INCLUDED_haxe_ds_IntMap
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_IMap
#include <haxe/IMap.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,IntMap)
namespace haxe{
namespace ds{
class HXCPP_CLASS_ATTRIBUTES IntMap_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef IntMap_obj OBJ_;
IntMap_obj();
public:
enum { _hx_ClassId = 0x50b86242 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.ds.IntMap")
{ 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,"haxe.ds.IntMap"); }
static hx::ObjectPtr< IntMap_obj > __new();
static hx::ObjectPtr< IntMap_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~IntMap_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);
void *_hx_getInterface(int inHash);
bool remove_5889326f( ::Dynamic k);
bool exists_5889326f( ::Dynamic k);
void set_41d0cb46( ::Dynamic k, ::Dynamic v);
::String __ToString() const { return HX_("IntMap",0d,a9,08,d3); }
::Dynamic h;
void set(int key, ::Dynamic value);
::Dynamic set_dyn();
::Dynamic get(int key);
::Dynamic get_dyn();
bool exists(int key);
::Dynamic exists_dyn();
bool remove(int key);
::Dynamic remove_dyn();
::Dynamic keys();
::Dynamic keys_dyn();
::Dynamic iterator();
::Dynamic iterator_dyn();
inline void set(int key, ::null value) { __int_hash_set(HX_MAP_THIS,key,value); }
inline void set(int key, bool value) { __int_hash_set(HX_MAP_THIS,key,value); }
inline void set(int key, char value) { __int_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(int key, unsigned char value) { __int_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(int key, signed char value) { __int_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(int key, short value) { __int_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(int key, unsigned short value) { __int_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(int key, int value) { __int_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(int key, unsigned int value) { __int_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(int key, float value) { __int_hash_set_float(HX_MAP_THIS,key,value); }
inline void set(int key, double value) { __int_hash_set_float(HX_MAP_THIS,key,value); }
inline void set(int key, ::String value) { __int_hash_set_string(HX_MAP_THIS,key,value); }
template<typename V, typename H>
inline void set(int key, const ::cpp::Struct<V,H> &value) {__int_hash_set(HX_MAP_THIS,key,value); }
template<typename F>
inline void set(int key, const ::cpp::Function<F> &value) {__int_hash_set(HX_MAP_THIS,key,value); }
template<typename V>
inline void set(int key, const ::cpp::Pointer<V> &value) {__int_hash_set(HX_MAP_THIS,key,(Dynamic)value ); }
template<typename VALUE>
inline void set(Dynamic &key, const VALUE &value) { set( (int)key, value ); }
inline bool get_bool(int key) { return __int_hash_get_bool(h,key); }
inline int get_int(int key) { return __int_hash_get_int(h,key); }
inline Float get_float(int key) { return __int_hash_get_float(h,key); }
inline String get_string(int key) { return __int_hash_get_string(h,key); }
};
} // end namespace haxe
} // end namespace ds
#endif /* INCLUDED_haxe_ds_IntMap */

View File

@ -0,0 +1,75 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_ds_List
#define INCLUDED_haxe_ds_List
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,ds,List)
HX_DECLARE_CLASS3(haxe,ds,_List,ListIterator)
HX_DECLARE_CLASS3(haxe,ds,_List,ListNode)
namespace haxe{
namespace ds{
class HXCPP_CLASS_ATTRIBUTES List_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef List_obj OBJ_;
List_obj();
public:
enum { _hx_ClassId = 0x57bbda73 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.ds.List")
{ 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,"haxe.ds.List"); }
static hx::ObjectPtr< List_obj > __new();
static hx::ObjectPtr< List_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~List_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_("List",7e,48,8c,32); }
::haxe::ds::_List::ListNode h;
::haxe::ds::_List::ListNode q;
int length;
void add( ::Dynamic item);
::Dynamic add_dyn();
void push( ::Dynamic item);
::Dynamic push_dyn();
::Dynamic pop();
::Dynamic pop_dyn();
void clear();
::Dynamic clear_dyn();
bool remove( ::Dynamic v);
::Dynamic remove_dyn();
::haxe::ds::_List::ListIterator iterator();
::Dynamic iterator_dyn();
};
} // end namespace haxe
} // end namespace ds
#endif /* INCLUDED_haxe_ds_List */

View File

@ -0,0 +1,102 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_ds_ObjectMap
#define INCLUDED_haxe_ds_ObjectMap
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_IMap
#include <haxe/IMap.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,ObjectMap)
namespace haxe{
namespace ds{
class HXCPP_CLASS_ATTRIBUTES ObjectMap_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ObjectMap_obj OBJ_;
ObjectMap_obj();
public:
enum { _hx_ClassId = 0x4a82dae8 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.ds.ObjectMap")
{ 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,"haxe.ds.ObjectMap"); }
static hx::ObjectPtr< ObjectMap_obj > __new();
static hx::ObjectPtr< ObjectMap_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ObjectMap_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);
void *_hx_getInterface(int inHash);
void set_41d0cb46( ::Dynamic k, ::Dynamic v);
::String __ToString() const { return HX_("ObjectMap",fd,a4,50,e5); }
::Dynamic h;
void set( ::Dynamic key, ::Dynamic value);
::Dynamic set_dyn();
::Dynamic get( ::Dynamic key);
::Dynamic get_dyn();
bool exists( ::Dynamic key);
::Dynamic exists_dyn();
bool remove( ::Dynamic key);
::Dynamic remove_dyn();
::Dynamic keys();
::Dynamic keys_dyn();
inline void set(Dynamic key, ::null value) { __object_hash_set(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, bool value) { __object_hash_set(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, char value) { __object_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, unsigned char value) { __object_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, signed char value) { __object_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, short value) { __object_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, unsigned short value) { __object_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, int value) { __object_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, unsigned int value) { __object_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, float value) { __object_hash_set_float(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, double value) { __object_hash_set_float(HX_MAP_THIS,key,value); }
inline void set(Dynamic key, ::String value) { __object_hash_set_string(HX_MAP_THIS,key,value); }
template<typename V, typename H>
inline void set(Dynamic key, const ::cpp::Struct<V,H> &value) {__object_hash_set(HX_MAP_THIS,key,value); }
template<typename V>
inline void set(Dynamic key, const ::cpp::Function<V> &value) {__object_hash_set(HX_MAP_THIS,key,(Dynamic)value ); }
template<typename V>
inline void set(Dynamic key, const ::cpp::Pointer<V> &value) {__object_hash_set(HX_MAP_THIS,key,(Dynamic)value ); }
inline bool get_bool(Dynamic key) { return __object_hash_get_bool(h,key); }
inline int get_int(Dynamic key) { return __object_hash_get_int(h,key); }
inline Float get_float(Dynamic key) { return __object_hash_get_float(h,key); }
inline String get_string(Dynamic key) { return __object_hash_get_string(h,key); }
};
} // end namespace haxe
} // end namespace ds
#endif /* INCLUDED_haxe_ds_ObjectMap */

View File

@ -0,0 +1,110 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_ds_StringMap
#define INCLUDED_haxe_ds_StringMap
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_IMap
#include <haxe/IMap.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,StringMap)
namespace haxe{
namespace ds{
class HXCPP_CLASS_ATTRIBUTES StringMap_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef StringMap_obj OBJ_;
StringMap_obj();
public:
enum { _hx_ClassId = 0x7fd15eaa };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.ds.StringMap")
{ 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,"haxe.ds.StringMap"); }
static hx::ObjectPtr< StringMap_obj > __new();
static hx::ObjectPtr< StringMap_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~StringMap_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);
void *_hx_getInterface(int inHash);
bool remove_5889326f( ::Dynamic k);
bool exists_5889326f( ::Dynamic k);
void set_41d0cb46( ::Dynamic k, ::Dynamic v);
::String __ToString() const { return HX_("StringMap",2b,12,8c,69); }
::Dynamic h;
void set(::String key, ::Dynamic value);
::Dynamic set_dyn();
::Dynamic get(::String key);
::Dynamic get_dyn();
bool exists(::String key);
::Dynamic exists_dyn();
bool remove(::String key);
::Dynamic remove_dyn();
::Dynamic keys();
::Dynamic keys_dyn();
::Dynamic iterator();
::Dynamic iterator_dyn();
inline void set(String key, ::null value) { __string_hash_set(HX_MAP_THIS,key,value); }
inline void set(String key, bool value) { __string_hash_set(HX_MAP_THIS,key,value); }
inline void set(String key, char value) { __string_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(String key, unsigned char value) { __string_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(String key, signed char value) { __string_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(String key, short value) { __string_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(String key, unsigned short value) { __string_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(String key, int value) { __string_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(String key, unsigned int value) { __string_hash_set_int(HX_MAP_THIS,key,value); }
inline void set(String key, float value) { __string_hash_set_float(HX_MAP_THIS,key,value); }
inline void set(String key, double value) { __string_hash_set_float(HX_MAP_THIS,key,value); }
inline void set(String key, ::String value) { __string_hash_set_string(HX_MAP_THIS,key,value); }
template<typename V, typename H>
inline void set(String key, const ::cpp::Struct<V,H> &value) {__string_hash_set(HX_MAP_THIS,key,value); }
template<typename V>
inline void set(String key, const ::cpp::Function<V> &value) {__string_hash_set(HX_MAP_THIS,key,(Dynamic)value ); }
template<typename V>
inline void set(String key, const ::cpp::Pointer<V> &value) {__string_hash_set(HX_MAP_THIS,key,(Dynamic)value ); }
template<typename VALUE>
inline void set(Dynamic &key, const VALUE &value) { set( (String)key, value ); }
inline bool get_bool(String key) { return __string_hash_get_bool(h,key); }
inline int get_int(String key) { return __string_hash_get_int(h,key); }
inline Float get_float(String key) { return __string_hash_get_float(h,key); }
inline String get_string(String key) { return __string_hash_get_string(h,key); }
};
} // end namespace haxe
} // end namespace ds
#endif /* INCLUDED_haxe_ds_StringMap */

View File

@ -0,0 +1,62 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_ds__List_ListIterator
#define INCLUDED_haxe_ds__List_ListIterator
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(haxe,ds,_List,ListIterator)
HX_DECLARE_CLASS3(haxe,ds,_List,ListNode)
namespace haxe{
namespace ds{
namespace _List{
class HXCPP_CLASS_ATTRIBUTES ListIterator_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ListIterator_obj OBJ_;
ListIterator_obj();
public:
enum { _hx_ClassId = 0x06484168 };
void __construct( ::haxe::ds::_List::ListNode head);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.ds._List.ListIterator")
{ 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,"haxe.ds._List.ListIterator"); }
static hx::ObjectPtr< ListIterator_obj > __new( ::haxe::ds::_List::ListNode head);
static hx::ObjectPtr< ListIterator_obj > __alloc(hx::Ctx *_hx_ctx, ::haxe::ds::_List::ListNode head);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ListIterator_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_("ListIterator",8c,fc,31,c4); }
::haxe::ds::_List::ListNode head;
bool hasNext();
::Dynamic hasNext_dyn();
::Dynamic next();
::Dynamic next_dyn();
};
} // end namespace haxe
} // end namespace ds
} // end namespace _List
#endif /* INCLUDED_haxe_ds__List_ListIterator */

View File

@ -0,0 +1,74 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_ds__List_ListNode
#define INCLUDED_haxe_ds__List_ListNode
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_33b72a992501f206_266_new)
HX_DECLARE_CLASS3(haxe,ds,_List,ListNode)
namespace haxe{
namespace ds{
namespace _List{
class HXCPP_CLASS_ATTRIBUTES ListNode_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ListNode_obj OBJ_;
ListNode_obj();
public:
enum { _hx_ClassId = 0x714cdb28 };
void __construct( ::Dynamic item, ::haxe::ds::_List::ListNode next);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.ds._List.ListNode")
{ 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,"haxe.ds._List.ListNode"); }
inline static hx::ObjectPtr< ListNode_obj > __new( ::Dynamic item, ::haxe::ds::_List::ListNode next) {
hx::ObjectPtr< ListNode_obj > __this = new ListNode_obj();
__this->__construct(item,next);
return __this;
}
inline static hx::ObjectPtr< ListNode_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic item, ::haxe::ds::_List::ListNode next) {
ListNode_obj *__this = (ListNode_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ListNode_obj), true, "haxe.ds._List.ListNode"));
*(void **)__this = ListNode_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_33b72a992501f206_266_new)
HXLINE( 267) ( ( ::haxe::ds::_List::ListNode)(__this) )->item = item;
HXLINE( 268) ( ( ::haxe::ds::_List::ListNode)(__this) )->next = next;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ListNode_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_("ListNode",a0,95,b0,02); }
::Dynamic item;
::haxe::ds::_List::ListNode next;
};
} // end namespace haxe
} // end namespace ds
} // end namespace _List
#endif /* INCLUDED_haxe_ds__List_ListNode */

View File

@ -0,0 +1,69 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_format_JsonParser
#define INCLUDED_haxe_format_JsonParser
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,format,JsonParser)
namespace haxe{
namespace format{
class HXCPP_CLASS_ATTRIBUTES JsonParser_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef JsonParser_obj OBJ_;
JsonParser_obj();
public:
enum { _hx_ClassId = 0x5b04dba4 };
void __construct(::String str);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.format.JsonParser")
{ 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,"haxe.format.JsonParser"); }
static hx::ObjectPtr< JsonParser_obj > __new(::String str);
static hx::ObjectPtr< JsonParser_obj > __alloc(hx::Ctx *_hx_ctx,::String str);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~JsonParser_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_("JsonParser",47,65,2e,25); }
::String str;
int pos;
::Dynamic doParse();
::Dynamic doParse_dyn();
::Dynamic parseRec();
::Dynamic parseRec_dyn();
::String parseString();
::Dynamic parseString_dyn();
void invalidChar();
::Dynamic invalidChar_dyn();
void invalidNumber(int start);
::Dynamic invalidNumber_dyn();
};
} // end namespace haxe
} // end namespace format
#endif /* INCLUDED_haxe_format_JsonParser */

View File

@ -0,0 +1,75 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_format_JsonPrinter
#define INCLUDED_haxe_format_JsonPrinter
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(StringBuf)
HX_DECLARE_CLASS2(haxe,format,JsonPrinter)
namespace haxe{
namespace format{
class HXCPP_CLASS_ATTRIBUTES JsonPrinter_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef JsonPrinter_obj OBJ_;
JsonPrinter_obj();
public:
enum { _hx_ClassId = 0x55464e91 };
void __construct( ::Dynamic replacer,::String space);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.format.JsonPrinter")
{ 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,"haxe.format.JsonPrinter"); }
static hx::ObjectPtr< JsonPrinter_obj > __new( ::Dynamic replacer,::String space);
static hx::ObjectPtr< JsonPrinter_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic replacer,::String space);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~JsonPrinter_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);
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_("JsonPrinter",72,68,9d,fd); }
static ::String print( ::Dynamic o, ::Dynamic replacer,::String space);
static ::Dynamic print_dyn();
::StringBuf buf;
::Dynamic replacer;
Dynamic replacer_dyn() { return replacer;}
::String indent;
bool pretty;
int nind;
void write( ::Dynamic k, ::Dynamic v);
::Dynamic write_dyn();
void classString( ::Dynamic v);
::Dynamic classString_dyn();
void fieldsString( ::Dynamic v,::Array< ::String > fields);
::Dynamic fieldsString_dyn();
void quote(::String s);
::Dynamic quote_dyn();
};
} // end namespace haxe
} // end namespace format
#endif /* INCLUDED_haxe_format_JsonPrinter */

View File

@ -0,0 +1,138 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_Bytes
#define INCLUDED_haxe_io_Bytes
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_38344beec7696400
#define INCLUDED_38344beec7696400
#include "cpp/Int64.h"
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Encoding)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES Bytes_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Bytes_obj OBJ_;
Bytes_obj();
public:
enum { _hx_ClassId = 0x5b931193 };
void __construct(int length,::Array< unsigned char > b);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.io.Bytes")
{ 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,"haxe.io.Bytes"); }
static hx::ObjectPtr< Bytes_obj > __new(int length,::Array< unsigned char > b);
static hx::ObjectPtr< Bytes_obj > __alloc(hx::Ctx *_hx_ctx,int length,::Array< unsigned char > b);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Bytes_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);
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_("Bytes",4b,78,c5,50); }
static ::haxe::io::Bytes alloc(int length);
static ::Dynamic alloc_dyn();
static ::haxe::io::Bytes ofString(::String s, ::haxe::io::Encoding encoding);
static ::Dynamic ofString_dyn();
static ::haxe::io::Bytes ofData(::Array< unsigned char > b);
static ::Dynamic ofData_dyn();
static ::haxe::io::Bytes ofHex(::String s);
static ::Dynamic ofHex_dyn();
static int fastGet(::Array< unsigned char > b,int pos);
static ::Dynamic fastGet_dyn();
int length;
::Array< unsigned char > b;
int get(int pos);
::Dynamic get_dyn();
void set(int pos,int v);
::Dynamic set_dyn();
void blit(int pos, ::haxe::io::Bytes src,int srcpos,int len);
::Dynamic blit_dyn();
void fill(int pos,int len,int value);
::Dynamic fill_dyn();
::haxe::io::Bytes sub(int pos,int len);
::Dynamic sub_dyn();
int compare( ::haxe::io::Bytes other);
::Dynamic compare_dyn();
Float getDouble(int pos);
::Dynamic getDouble_dyn();
Float getFloat(int pos);
::Dynamic getFloat_dyn();
void setDouble(int pos,Float v);
::Dynamic setDouble_dyn();
void setFloat(int pos,Float v);
::Dynamic setFloat_dyn();
int getUInt16(int pos);
::Dynamic getUInt16_dyn();
void setUInt16(int pos,int v);
::Dynamic setUInt16_dyn();
int getInt32(int pos);
::Dynamic getInt32_dyn();
cpp::Int64Struct getInt64(int pos);
::Dynamic getInt64_dyn();
void setInt32(int pos,int v);
::Dynamic setInt32_dyn();
void setInt64(int pos, cpp::Int64Struct v);
::Dynamic setInt64_dyn();
::String getString(int pos,int len, ::haxe::io::Encoding encoding);
::Dynamic getString_dyn();
::String readString(int pos,int len);
::Dynamic readString_dyn();
virtual ::String toString();
::Dynamic toString_dyn();
::String toHex();
::Dynamic toHex_dyn();
::Array< unsigned char > getData();
::Dynamic getData_dyn();
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_Bytes */

View File

@ -0,0 +1,57 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_BytesBuffer
#define INCLUDED_haxe_io_BytesBuffer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,BytesBuffer)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES BytesBuffer_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef BytesBuffer_obj OBJ_;
BytesBuffer_obj();
public:
enum { _hx_ClassId = 0x418818bb };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.io.BytesBuffer")
{ 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,"haxe.io.BytesBuffer"); }
static hx::ObjectPtr< BytesBuffer_obj > __new();
static hx::ObjectPtr< BytesBuffer_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~BytesBuffer_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_("BytesBuffer",ab,73,22,f6); }
::Array< unsigned char > b;
::haxe::io::Bytes getBytes();
::Dynamic getBytes_dyn();
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_BytesBuffer */

View File

@ -0,0 +1,65 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_BytesInput
#define INCLUDED_haxe_io_BytesInput
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_io_Input
#include <haxe/io/Input.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,BytesInput)
HX_DECLARE_CLASS2(haxe,io,Input)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES BytesInput_obj : public ::haxe::io::Input_obj
{
public:
typedef ::haxe::io::Input_obj super;
typedef BytesInput_obj OBJ_;
BytesInput_obj();
public:
enum { _hx_ClassId = 0x2a8878af };
void __construct( ::haxe::io::Bytes b, ::Dynamic pos, ::Dynamic len);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.io.BytesInput")
{ 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,"haxe.io.BytesInput"); }
static hx::ObjectPtr< BytesInput_obj > __new( ::haxe::io::Bytes b, ::Dynamic pos, ::Dynamic len);
static hx::ObjectPtr< BytesInput_obj > __alloc(hx::Ctx *_hx_ctx, ::haxe::io::Bytes b, ::Dynamic pos, ::Dynamic len);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~BytesInput_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_("BytesInput",bf,cb,76,e6); }
::Array< unsigned char > b;
int pos;
int len;
int totlen;
int readByte();
int readBytes( ::haxe::io::Bytes buf,int pos,int len);
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_BytesInput */

View File

@ -0,0 +1,37 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_Encoding
#define INCLUDED_haxe_io_Encoding
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Encoding)
namespace haxe{
namespace io{
class Encoding_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef Encoding_obj OBJ_;
public:
Encoding_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("haxe.io.Encoding",33,a6,6d,22); }
::String __ToString() const { return HX_("Encoding.",db,8b,f5,be) + _hx_tag; }
static ::haxe::io::Encoding RawNative;
static inline ::haxe::io::Encoding RawNative_dyn() { return RawNative; }
static ::haxe::io::Encoding UTF8;
static inline ::haxe::io::Encoding UTF8_dyn() { return UTF8; }
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_Encoding */

View File

@ -0,0 +1,67 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_Eof
#define INCLUDED_haxe_io_Eof
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_f9cd114f27426261_29_new)
HX_DECLARE_CLASS2(haxe,io,Eof)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES Eof_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Eof_obj OBJ_;
Eof_obj();
public:
enum { _hx_ClassId = 0x41324090 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.io.Eof")
{ 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,"haxe.io.Eof"); }
inline static hx::ObjectPtr< Eof_obj > __new() {
hx::ObjectPtr< Eof_obj > __this = new Eof_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Eof_obj > __alloc(hx::Ctx *_hx_ctx) {
Eof_obj *__this = (Eof_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Eof_obj), false, "haxe.io.Eof"));
*(void **)__this = Eof_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_f9cd114f27426261_29_new)
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Eof_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Eof",9c,bc,34,00); }
virtual ::String toString();
::Dynamic toString_dyn();
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_Eof */

View File

@ -0,0 +1,41 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_Error
#define INCLUDED_haxe_io_Error
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Error)
namespace haxe{
namespace io{
class Error_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef Error_obj OBJ_;
public:
Error_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("haxe.io.Error",68,16,01,55); }
::String __ToString() const { return HX_("Error.",86,f7,fc,85) + _hx_tag; }
static ::haxe::io::Error Blocked;
static inline ::haxe::io::Error Blocked_dyn() { return Blocked; }
static ::haxe::io::Error Custom( ::Dynamic e);
static ::Dynamic Custom_dyn();
static ::haxe::io::Error OutsideBounds;
static inline ::haxe::io::Error OutsideBounds_dyn() { return OutsideBounds; }
static ::haxe::io::Error Overflow;
static inline ::haxe::io::Error Overflow_dyn() { return Overflow; }
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_Error */

View File

@ -0,0 +1,75 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_FPHelper
#define INCLUDED_haxe_io_FPHelper
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_38344beec7696400
#define INCLUDED_38344beec7696400
#include "cpp/Int64.h"
#endif
HX_DECLARE_CLASS2(haxe,io,FPHelper)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES FPHelper_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef FPHelper_obj OBJ_;
FPHelper_obj();
public:
enum { _hx_ClassId = 0x349ee9e4 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.io.FPHelper")
{ 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,"haxe.io.FPHelper"); }
inline static hx::ObjectPtr< FPHelper_obj > __new() {
hx::ObjectPtr< FPHelper_obj > __this = new FPHelper_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< FPHelper_obj > __alloc(hx::Ctx *_hx_ctx) {
FPHelper_obj *__this = (FPHelper_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(FPHelper_obj), false, "haxe.io.FPHelper"));
*(void **)__this = FPHelper_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~FPHelper_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_("FPHelper",58,42,63,db); }
static Float i32ToFloat(int i);
static ::Dynamic i32ToFloat_dyn();
static int floatToI32(Float f);
static ::Dynamic floatToI32_dyn();
static Float i64ToDouble(int low,int high);
static ::Dynamic i64ToDouble_dyn();
static cpp::Int64Struct doubleToI64(Float v);
static ::Dynamic doubleToI64_dyn();
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_FPHelper */

View File

@ -0,0 +1,94 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_Input
#define INCLUDED_haxe_io_Input
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Encoding)
HX_DECLARE_CLASS2(haxe,io,Input)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES Input_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Input_obj OBJ_;
Input_obj();
public:
enum { _hx_ClassId = 0x5c18cd32 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.io.Input")
{ 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,"haxe.io.Input"); }
inline static hx::ObjectPtr< Input_obj > __new() {
hx::ObjectPtr< Input_obj > __this = new Input_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Input_obj > __alloc(hx::Ctx *_hx_ctx) {
Input_obj *__this = (Input_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Input_obj), false, "haxe.io.Input"));
*(void **)__this = Input_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Input_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Input",ea,33,4b,51); }
bool bigEndian;
virtual int readByte();
::Dynamic readByte_dyn();
virtual int readBytes( ::haxe::io::Bytes s,int pos,int len);
::Dynamic readBytes_dyn();
virtual void close();
::Dynamic close_dyn();
void readFullBytes( ::haxe::io::Bytes s,int pos,int len);
::Dynamic readFullBytes_dyn();
::haxe::io::Bytes read(int nbytes);
::Dynamic read_dyn();
::String readLine();
::Dynamic readLine_dyn();
int readInt16();
::Dynamic readInt16_dyn();
int readUInt16();
::Dynamic readUInt16_dyn();
int readInt32();
::Dynamic readInt32_dyn();
::String readString(int len, ::haxe::io::Encoding encoding);
::Dynamic readString_dyn();
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_Input */

View File

@ -0,0 +1,58 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_Output
#define INCLUDED_haxe_io_Output
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Output)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES Output_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Output_obj OBJ_;
Output_obj();
public:
enum { _hx_ClassId = 0x3473efad };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.io.Output")
{ 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,"haxe.io.Output"); }
inline static hx::ObjectPtr< Output_obj > __new() {
hx::ObjectPtr< Output_obj > __this = new Output_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Output_obj > __alloc(hx::Ctx *_hx_ctx) {
Output_obj *__this = (Output_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Output_obj), false, "haxe.io.Output"));
*(void **)__this = Output_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Output_obj();
HX_DO_RTTI_ALL;
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Output",21,83,15,41); }
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_Output */

View File

@ -0,0 +1,72 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_Path
#define INCLUDED_haxe_io_Path
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Path)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES Path_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Path_obj OBJ_;
Path_obj();
public:
enum { _hx_ClassId = 0x044b6ab5 };
void __construct(::String path);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.io.Path")
{ 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,"haxe.io.Path"); }
static hx::ObjectPtr< Path_obj > __new(::String path);
static hx::ObjectPtr< Path_obj > __alloc(hx::Ctx *_hx_ctx,::String path);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Path_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);
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_("Path",c5,11,2b,35); }
static ::String withoutDirectory(::String path);
static ::Dynamic withoutDirectory_dyn();
static ::String directory(::String path);
static ::Dynamic directory_dyn();
static ::String addTrailingSlash(::String path);
static ::Dynamic addTrailingSlash_dyn();
static ::String removeTrailingSlashes(::String path);
static ::Dynamic removeTrailingSlashes_dyn();
::String dir;
::String file;
::String ext;
bool backslash;
virtual ::String toString();
::Dynamic toString_dyn();
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_Path */

View File

@ -0,0 +1,78 @@
// Generated by Haxe 4.1.5
#ifndef INCLUDED_haxe_iterators_ArrayIterator
#define INCLUDED_haxe_iterators_ArrayIterator
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_4080537b5ff1f511_28_new)
HX_DECLARE_CLASS2(haxe,iterators,ArrayIterator)
namespace haxe{
namespace iterators{
class HXCPP_CLASS_ATTRIBUTES ArrayIterator_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef ArrayIterator_obj OBJ_;
ArrayIterator_obj();
public:
enum { _hx_ClassId = 0x189859c8 };
void __construct(::cpp::VirtualArray array);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.iterators.ArrayIterator")
{ 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,"haxe.iterators.ArrayIterator"); }
inline static ::hx::ObjectPtr< ArrayIterator_obj > __new(::cpp::VirtualArray array) {
::hx::ObjectPtr< ArrayIterator_obj > __this = new ArrayIterator_obj();
__this->__construct(array);
return __this;
}
inline static ::hx::ObjectPtr< ArrayIterator_obj > __alloc(::hx::Ctx *_hx_ctx,::cpp::VirtualArray array) {
ArrayIterator_obj *__this = (ArrayIterator_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(ArrayIterator_obj), true, "haxe.iterators.ArrayIterator"));
*(void **)__this = ArrayIterator_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_4080537b5ff1f511_28_new)
HXLINE( 30) ( ( ::haxe::iterators::ArrayIterator)(__this) )->current = 0;
HXLINE( 37) ( ( ::haxe::iterators::ArrayIterator)(__this) )->array = array;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~ArrayIterator_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_("ArrayIterator",87,84,c8,5d); }
::cpp::VirtualArray array;
int current;
bool hasNext();
::Dynamic hasNext_dyn();
::Dynamic next();
::Dynamic next_dyn();
};
} // end namespace haxe
} // end namespace iterators
#endif /* INCLUDED_haxe_iterators_ArrayIterator */

View File

@ -0,0 +1,31 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_lang_Iterable
#define INCLUDED_haxe_lang_Iterable
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,lang,Iterable)
HX_DECLARE_CLASS2(haxe,lang,Iterator)
namespace haxe{
namespace lang{
class HXCPP_CLASS_ATTRIBUTES Iterable_obj {
public:
typedef hx::Object super;
HX_DO_INTERFACE_RTTI;
static void __boot();
::Dynamic (hx::Object :: *_hx_iterator)();
static inline ::Dynamic iterator( ::Dynamic _hx_) {
return (_hx_.mPtr->*( hx::interface_cast< ::haxe::lang::Iterable_obj *>(_hx_.mPtr->_hx_getInterface(0x1f692be6)))->_hx_iterator)();
}
};
} // end namespace haxe
} // end namespace lang
#endif /* INCLUDED_haxe_lang_Iterable */

View File

@ -0,0 +1,34 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_lang_Iterator
#define INCLUDED_haxe_lang_Iterator
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,lang,Iterator)
namespace haxe{
namespace lang{
class HXCPP_CLASS_ATTRIBUTES Iterator_obj {
public:
typedef hx::Object super;
HX_DO_INTERFACE_RTTI;
static void __boot();
bool (hx::Object :: *_hx_hasNext)();
static inline bool hasNext( ::Dynamic _hx_) {
return (_hx_.mPtr->*( hx::interface_cast< ::haxe::lang::Iterator_obj *>(_hx_.mPtr->_hx_getInterface(0x1f76d722)))->_hx_hasNext)();
}
::Dynamic (hx::Object :: *_hx_next)();
static inline ::Dynamic next( ::Dynamic _hx_) {
return (_hx_.mPtr->*( hx::interface_cast< ::haxe::lang::Iterator_obj *>(_hx_.mPtr->_hx_getInterface(0x1f76d722)))->_hx_next)();
}
};
} // end namespace haxe
} // end namespace lang
#endif /* INCLUDED_haxe_lang_Iterator */

View File

@ -0,0 +1,40 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_zip_ExtraField
#define INCLUDED_haxe_zip_ExtraField
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,zip,ExtraField)
namespace haxe{
namespace zip{
class ExtraField_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef ExtraField_obj OBJ_;
public:
ExtraField_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("haxe.zip.ExtraField",df,af,f8,91); }
::String __ToString() const { return HX_("ExtraField.",c4,80,7a,63) + _hx_tag; }
static ::haxe::zip::ExtraField FInfoZipUnicodePath(::String name,int crc);
static ::Dynamic FInfoZipUnicodePath_dyn();
static ::haxe::zip::ExtraField FUnknown(int tag, ::haxe::io::Bytes bytes);
static ::Dynamic FUnknown_dyn();
static ::haxe::zip::ExtraField FUtf8;
static inline ::haxe::zip::ExtraField FUtf8_dyn() { return FUtf8; }
};
} // end namespace haxe
} // end namespace zip
#endif /* INCLUDED_haxe_zip_ExtraField */

View File

@ -0,0 +1,66 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_zip_HuffTools
#define INCLUDED_haxe_zip_HuffTools
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,IntMap)
HX_DECLARE_CLASS2(haxe,zip,HuffTools)
HX_DECLARE_CLASS2(haxe,zip,Huffman)
namespace haxe{
namespace zip{
class HXCPP_CLASS_ATTRIBUTES HuffTools_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef HuffTools_obj OBJ_;
HuffTools_obj();
public:
enum { _hx_ClassId = 0x10a15413 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.zip.HuffTools")
{ 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,"haxe.zip.HuffTools"); }
static hx::ObjectPtr< HuffTools_obj > __new();
static hx::ObjectPtr< HuffTools_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~HuffTools_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("HuffTools",2e,d1,43,79); }
int treeDepth( ::haxe::zip::Huffman t);
::Dynamic treeDepth_dyn();
::haxe::zip::Huffman treeCompress( ::haxe::zip::Huffman t);
::Dynamic treeCompress_dyn();
void treeWalk(::Array< ::Dynamic> table,int p,int cd,int d, ::haxe::zip::Huffman t);
::Dynamic treeWalk_dyn();
::haxe::zip::Huffman treeMake( ::haxe::ds::IntMap bits,int maxbits,int v,int len);
::Dynamic treeMake_dyn();
::haxe::zip::Huffman make(::Array< int > lengths,int pos,int nlengths,int maxbits);
::Dynamic make_dyn();
};
} // end namespace haxe
} // end namespace zip
#endif /* INCLUDED_haxe_zip_HuffTools */

View File

@ -0,0 +1,39 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_zip_Huffman
#define INCLUDED_haxe_zip_Huffman
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,zip,Huffman)
namespace haxe{
namespace zip{
class Huffman_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef Huffman_obj OBJ_;
public:
Huffman_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("haxe.zip.Huffman",38,d8,1f,47); }
::String __ToString() const { return HX_("Huffman.",81,94,1b,e3) + _hx_tag; }
static ::haxe::zip::Huffman Found(int i);
static ::Dynamic Found_dyn();
static ::haxe::zip::Huffman NeedBit( ::haxe::zip::Huffman left, ::haxe::zip::Huffman right);
static ::Dynamic NeedBit_dyn();
static ::haxe::zip::Huffman NeedBits(int n,::Array< ::Dynamic> table);
static ::Dynamic NeedBits_dyn();
};
} // end namespace haxe
} // end namespace zip
#endif /* INCLUDED_haxe_zip_Huffman */

View File

@ -0,0 +1,121 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_zip_InflateImpl
#define INCLUDED_haxe_zip_InflateImpl
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Input)
HX_DECLARE_CLASS2(haxe,zip,HuffTools)
HX_DECLARE_CLASS2(haxe,zip,Huffman)
HX_DECLARE_CLASS2(haxe,zip,InflateImpl)
HX_DECLARE_CLASS3(haxe,zip,_InflateImpl,State)
HX_DECLARE_CLASS3(haxe,zip,_InflateImpl,Window)
namespace haxe{
namespace zip{
class HXCPP_CLASS_ATTRIBUTES InflateImpl_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef InflateImpl_obj OBJ_;
InflateImpl_obj();
public:
enum { _hx_ClassId = 0x53e7f50c };
void __construct( ::haxe::io::Input i, ::Dynamic __o_header, ::Dynamic __o_crc);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.zip.InflateImpl")
{ 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,"haxe.zip.InflateImpl"); }
static hx::ObjectPtr< InflateImpl_obj > __new( ::haxe::io::Input i, ::Dynamic __o_header, ::Dynamic __o_crc);
static hx::ObjectPtr< InflateImpl_obj > __alloc(hx::Ctx *_hx_ctx, ::haxe::io::Input i, ::Dynamic __o_header, ::Dynamic __o_crc);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~InflateImpl_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);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, 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_("InflateImpl",e7,2e,f8,07); }
static void __boot();
static ::Array< int > LEN_EXTRA_BITS_TBL;
static ::Array< int > LEN_BASE_VAL_TBL;
static ::Array< int > DIST_EXTRA_BITS_TBL;
static ::Array< int > DIST_BASE_VAL_TBL;
static ::Array< int > CODE_LENGTHS_POS;
static ::haxe::zip::Huffman FIXED_HUFFMAN;
int nbits;
int bits;
::haxe::zip::_InflateImpl::State state;
bool isFinal;
::haxe::zip::Huffman huffman;
::haxe::zip::Huffman huffdist;
::haxe::zip::HuffTools htools;
int len;
int dist;
int needed;
::haxe::io::Bytes output;
int outpos;
::haxe::io::Input input;
::Array< int > lengths;
::haxe::zip::_InflateImpl::Window window;
::haxe::zip::Huffman buildFixedHuffman();
::Dynamic buildFixedHuffman_dyn();
int readBytes( ::haxe::io::Bytes b,int pos,int len);
::Dynamic readBytes_dyn();
int getBits(int n);
::Dynamic getBits_dyn();
bool getBit();
::Dynamic getBit_dyn();
int getRevBits(int n);
::Dynamic getRevBits_dyn();
void resetBits();
::Dynamic resetBits_dyn();
void addBytes( ::haxe::io::Bytes b,int p,int len);
::Dynamic addBytes_dyn();
void addByte(int b);
::Dynamic addByte_dyn();
void addDistOne(int n);
::Dynamic addDistOne_dyn();
void addDist(int d,int len);
::Dynamic addDist_dyn();
int applyHuffman( ::haxe::zip::Huffman h);
::Dynamic applyHuffman_dyn();
void inflateLengths(::Array< int > a,int max);
::Dynamic inflateLengths_dyn();
bool inflateLoop();
::Dynamic inflateLoop_dyn();
};
} // end namespace haxe
} // end namespace zip
#endif /* INCLUDED_haxe_zip_InflateImpl */

View File

@ -0,0 +1,76 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_zip_Reader
#define INCLUDED_haxe_zip_Reader
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(Date)
HX_DECLARE_CLASS2(haxe,ds,List)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Input)
HX_DECLARE_CLASS2(haxe,zip,Reader)
namespace haxe{
namespace zip{
class HXCPP_CLASS_ATTRIBUTES Reader_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Reader_obj OBJ_;
Reader_obj();
public:
enum { _hx_ClassId = 0x2836055e };
void __construct( ::haxe::io::Input i);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.zip.Reader")
{ 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,"haxe.zip.Reader"); }
static hx::ObjectPtr< Reader_obj > __new( ::haxe::io::Input i);
static hx::ObjectPtr< Reader_obj > __alloc(hx::Ctx *_hx_ctx, ::haxe::io::Input i);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Reader_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);
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_("Reader",63,19,26,31); }
static ::haxe::ds::List readZip( ::haxe::io::Input i);
static ::Dynamic readZip_dyn();
static ::haxe::io::Bytes unzip( ::Dynamic f);
static ::Dynamic unzip_dyn();
::haxe::io::Input i;
::Date readZipDate();
::Dynamic readZipDate_dyn();
::haxe::ds::List readExtraFields(int length);
::Dynamic readExtraFields_dyn();
::Dynamic readEntryHeader();
::Dynamic readEntryHeader_dyn();
::haxe::ds::List read();
::Dynamic read_dyn();
};
} // end namespace haxe
} // end namespace zip
#endif /* INCLUDED_haxe_zip_Reader */

View File

@ -0,0 +1,51 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_zip__InflateImpl_State
#define INCLUDED_haxe_zip__InflateImpl_State
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(haxe,zip,_InflateImpl,State)
namespace haxe{
namespace zip{
namespace _InflateImpl{
class State_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef State_obj OBJ_;
public:
State_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("haxe.zip._InflateImpl.State",a0,c2,8b,f6); }
::String __ToString() const { return HX_("State.",1d,4d,90,3a) + _hx_tag; }
static ::haxe::zip::_InflateImpl::State Block;
static inline ::haxe::zip::_InflateImpl::State Block_dyn() { return Block; }
static ::haxe::zip::_InflateImpl::State CData;
static inline ::haxe::zip::_InflateImpl::State CData_dyn() { return CData; }
static ::haxe::zip::_InflateImpl::State Crc;
static inline ::haxe::zip::_InflateImpl::State Crc_dyn() { return Crc; }
static ::haxe::zip::_InflateImpl::State Dist;
static inline ::haxe::zip::_InflateImpl::State Dist_dyn() { return Dist; }
static ::haxe::zip::_InflateImpl::State DistOne;
static inline ::haxe::zip::_InflateImpl::State DistOne_dyn() { return DistOne; }
static ::haxe::zip::_InflateImpl::State Done;
static inline ::haxe::zip::_InflateImpl::State Done_dyn() { return Done; }
static ::haxe::zip::_InflateImpl::State Flat;
static inline ::haxe::zip::_InflateImpl::State Flat_dyn() { return Flat; }
static ::haxe::zip::_InflateImpl::State Head;
static inline ::haxe::zip::_InflateImpl::State Head_dyn() { return Head; }
};
} // end namespace haxe
} // end namespace zip
} // end namespace _InflateImpl
#endif /* INCLUDED_haxe_zip__InflateImpl_State */

View File

@ -0,0 +1,77 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_zip__InflateImpl_Window
#define INCLUDED_haxe_zip__InflateImpl_Window
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,crypto,Adler32)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(haxe,zip,_InflateImpl,Window)
namespace haxe{
namespace zip{
namespace _InflateImpl{
class HXCPP_CLASS_ATTRIBUTES Window_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Window_obj OBJ_;
Window_obj();
public:
enum { _hx_ClassId = 0x021b9cf3 };
void __construct(bool hasCrc);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.zip._InflateImpl.Window")
{ 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,"haxe.zip._InflateImpl.Window"); }
static hx::ObjectPtr< Window_obj > __new(bool hasCrc);
static hx::ObjectPtr< Window_obj > __alloc(hx::Ctx *_hx_ctx,bool hasCrc);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Window_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_("Window",10,08,21,87); }
::haxe::io::Bytes buffer;
int pos;
::haxe::crypto::Adler32 crc;
void slide();
::Dynamic slide_dyn();
void addBytes( ::haxe::io::Bytes b,int p,int len);
::Dynamic addBytes_dyn();
void addByte(int c);
::Dynamic addByte_dyn();
int getLastChar();
::Dynamic getLastChar_dyn();
int available();
::Dynamic available_dyn();
::haxe::crypto::Adler32 checksum();
::Dynamic checksum_dyn();
};
} // end namespace haxe
} // end namespace zip
} // end namespace _InflateImpl
#endif /* INCLUDED_haxe_zip__InflateImpl_Window */

View File

@ -0,0 +1,78 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_ApplicationEventInfo
#define INCLUDED_lime__internal_backend_native_ApplicationEventInfo
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_1a94701d58bd3d3e_612_new)
HX_DECLARE_CLASS4(lime,_internal,backend,native,ApplicationEventInfo)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES ApplicationEventInfo_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ApplicationEventInfo_obj OBJ_;
ApplicationEventInfo_obj();
public:
enum { _hx_ClassId = 0x111de8fc };
void __construct( ::Dynamic type,hx::Null< int > __o_deltaTime);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.backend.native.ApplicationEventInfo")
{ 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,"lime._internal.backend.native.ApplicationEventInfo"); }
inline static hx::ObjectPtr< ApplicationEventInfo_obj > __new( ::Dynamic type,hx::Null< int > __o_deltaTime) {
hx::ObjectPtr< ApplicationEventInfo_obj > __this = new ApplicationEventInfo_obj();
__this->__construct(type,__o_deltaTime);
return __this;
}
inline static hx::ObjectPtr< ApplicationEventInfo_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic type,hx::Null< int > __o_deltaTime) {
ApplicationEventInfo_obj *__this = (ApplicationEventInfo_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ApplicationEventInfo_obj), false, "lime._internal.backend.native.ApplicationEventInfo"));
*(void **)__this = ApplicationEventInfo_obj::_hx_vtable;
{
int deltaTime = __o_deltaTime.Default(0);
HX_STACKFRAME(&_hx_pos_1a94701d58bd3d3e_612_new)
HXLINE( 613) ( ( ::lime::_internal::backend::native::ApplicationEventInfo)(__this) )->type = ( (int)(type) );
HXLINE( 614) ( ( ::lime::_internal::backend::native::ApplicationEventInfo)(__this) )->deltaTime = deltaTime;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ApplicationEventInfo_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("ApplicationEventInfo",58,f8,5f,3d); }
int deltaTime;
int type;
::lime::_internal::backend::native::ApplicationEventInfo clone();
::Dynamic clone_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_ApplicationEventInfo */

View File

@ -0,0 +1,75 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_ClipboardEventInfo
#define INCLUDED_lime__internal_backend_native_ClipboardEventInfo
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_45f117d879fd522d_635_new)
HX_DECLARE_CLASS4(lime,_internal,backend,native,ClipboardEventInfo)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES ClipboardEventInfo_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ClipboardEventInfo_obj OBJ_;
ClipboardEventInfo_obj();
public:
enum { _hx_ClassId = 0x1555697e };
void __construct( ::Dynamic type);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.backend.native.ClipboardEventInfo")
{ 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,"lime._internal.backend.native.ClipboardEventInfo"); }
inline static hx::ObjectPtr< ClipboardEventInfo_obj > __new( ::Dynamic type) {
hx::ObjectPtr< ClipboardEventInfo_obj > __this = new ClipboardEventInfo_obj();
__this->__construct(type);
return __this;
}
inline static hx::ObjectPtr< ClipboardEventInfo_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic type) {
ClipboardEventInfo_obj *__this = (ClipboardEventInfo_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(ClipboardEventInfo_obj), false, "lime._internal.backend.native.ClipboardEventInfo"));
*(void **)__this = ClipboardEventInfo_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_45f117d879fd522d_635_new)
HXDLIN( 635) ( ( ::lime::_internal::backend::native::ClipboardEventInfo)(__this) )->type = ( (int)(type) );
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ClipboardEventInfo_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("ClipboardEventInfo",12,75,f1,b4); }
int type;
::lime::_internal::backend::native::ClipboardEventInfo clone();
::Dynamic clone_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_ClipboardEventInfo */

View File

@ -0,0 +1,79 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_DropEventInfo
#define INCLUDED_lime__internal_backend_native_DropEventInfo
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_a21879e7650910f2_655_new)
HX_DECLARE_CLASS4(lime,_internal,backend,native,DropEventInfo)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES DropEventInfo_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef DropEventInfo_obj OBJ_;
DropEventInfo_obj();
public:
enum { _hx_ClassId = 0x7acc9e35 };
void __construct( ::Dynamic type,::String file);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime._internal.backend.native.DropEventInfo")
{ 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,"lime._internal.backend.native.DropEventInfo"); }
inline static hx::ObjectPtr< DropEventInfo_obj > __new( ::Dynamic type,::String file) {
hx::ObjectPtr< DropEventInfo_obj > __this = new DropEventInfo_obj();
__this->__construct(type,file);
return __this;
}
inline static hx::ObjectPtr< DropEventInfo_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic type,::String file) {
DropEventInfo_obj *__this = (DropEventInfo_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(DropEventInfo_obj), true, "lime._internal.backend.native.DropEventInfo"));
*(void **)__this = DropEventInfo_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_a21879e7650910f2_655_new)
HXLINE( 656) ( ( ::lime::_internal::backend::native::DropEventInfo)(__this) )->type = ( (int)(type) );
HXLINE( 657) ( ( ::lime::_internal::backend::native::DropEventInfo)(__this) )->file = file;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~DropEventInfo_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_("DropEventInfo",59,3b,00,66); }
::String file;
int type;
::lime::_internal::backend::native::DropEventInfo clone();
::Dynamic clone_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_DropEventInfo */

View File

@ -0,0 +1,87 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_GamepadEventInfo
#define INCLUDED_lime__internal_backend_native_GamepadEventInfo
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_d0c0bd38b1c3a1bc_680_new)
HX_DECLARE_CLASS4(lime,_internal,backend,native,GamepadEventInfo)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES GamepadEventInfo_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef GamepadEventInfo_obj OBJ_;
GamepadEventInfo_obj();
public:
enum { _hx_ClassId = 0x779d48ef };
void __construct( ::Dynamic type,hx::Null< int > __o_id,hx::Null< int > __o_button,hx::Null< int > __o_axis,hx::Null< Float > __o_value);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.backend.native.GamepadEventInfo")
{ 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,"lime._internal.backend.native.GamepadEventInfo"); }
inline static hx::ObjectPtr< GamepadEventInfo_obj > __new( ::Dynamic type,hx::Null< int > __o_id,hx::Null< int > __o_button,hx::Null< int > __o_axis,hx::Null< Float > __o_value) {
hx::ObjectPtr< GamepadEventInfo_obj > __this = new GamepadEventInfo_obj();
__this->__construct(type,__o_id,__o_button,__o_axis,__o_value);
return __this;
}
inline static hx::ObjectPtr< GamepadEventInfo_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic type,hx::Null< int > __o_id,hx::Null< int > __o_button,hx::Null< int > __o_axis,hx::Null< Float > __o_value) {
GamepadEventInfo_obj *__this = (GamepadEventInfo_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(GamepadEventInfo_obj), false, "lime._internal.backend.native.GamepadEventInfo"));
*(void **)__this = GamepadEventInfo_obj::_hx_vtable;
{
int id = __o_id.Default(0);
int button = __o_button.Default(0);
int axis = __o_axis.Default(0);
Float value = __o_value.Default(0);
HX_STACKFRAME(&_hx_pos_d0c0bd38b1c3a1bc_680_new)
HXLINE( 681) ( ( ::lime::_internal::backend::native::GamepadEventInfo)(__this) )->type = ( (int)(type) );
HXLINE( 682) ( ( ::lime::_internal::backend::native::GamepadEventInfo)(__this) )->id = id;
HXLINE( 683) ( ( ::lime::_internal::backend::native::GamepadEventInfo)(__this) )->button = button;
HXLINE( 684) ( ( ::lime::_internal::backend::native::GamepadEventInfo)(__this) )->axis = axis;
HXLINE( 685) ( ( ::lime::_internal::backend::native::GamepadEventInfo)(__this) )->axisValue = value;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~GamepadEventInfo_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("GamepadEventInfo",e7,80,29,66); }
int axis;
int button;
int id;
int type;
Float axisValue;
::lime::_internal::backend::native::GamepadEventInfo clone();
::Dynamic clone_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_GamepadEventInfo */

View File

@ -0,0 +1,90 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_JoystickEventInfo
#define INCLUDED_lime__internal_backend_native_JoystickEventInfo
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_21cd05885e6e0032_713_new)
HX_DECLARE_CLASS4(lime,_internal,backend,native,JoystickEventInfo)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES JoystickEventInfo_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef JoystickEventInfo_obj OBJ_;
JoystickEventInfo_obj();
public:
enum { _hx_ClassId = 0x599ac45c };
void __construct( ::Dynamic type,hx::Null< int > __o_id,hx::Null< int > __o_index,hx::Null< int > __o_value,hx::Null< Float > __o_x,hx::Null< Float > __o_y);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.backend.native.JoystickEventInfo")
{ 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,"lime._internal.backend.native.JoystickEventInfo"); }
inline static hx::ObjectPtr< JoystickEventInfo_obj > __new( ::Dynamic type,hx::Null< int > __o_id,hx::Null< int > __o_index,hx::Null< int > __o_value,hx::Null< Float > __o_x,hx::Null< Float > __o_y) {
hx::ObjectPtr< JoystickEventInfo_obj > __this = new JoystickEventInfo_obj();
__this->__construct(type,__o_id,__o_index,__o_value,__o_x,__o_y);
return __this;
}
inline static hx::ObjectPtr< JoystickEventInfo_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic type,hx::Null< int > __o_id,hx::Null< int > __o_index,hx::Null< int > __o_value,hx::Null< Float > __o_x,hx::Null< Float > __o_y) {
JoystickEventInfo_obj *__this = (JoystickEventInfo_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(JoystickEventInfo_obj), false, "lime._internal.backend.native.JoystickEventInfo"));
*(void **)__this = JoystickEventInfo_obj::_hx_vtable;
{
int id = __o_id.Default(0);
int index = __o_index.Default(0);
int value = __o_value.Default(0);
Float x = __o_x.Default(0);
Float y = __o_y.Default(0);
HX_STACKFRAME(&_hx_pos_21cd05885e6e0032_713_new)
HXLINE( 714) ( ( ::lime::_internal::backend::native::JoystickEventInfo)(__this) )->type = ( (int)(type) );
HXLINE( 715) ( ( ::lime::_internal::backend::native::JoystickEventInfo)(__this) )->id = id;
HXLINE( 716) ( ( ::lime::_internal::backend::native::JoystickEventInfo)(__this) )->index = index;
HXLINE( 717) ( ( ::lime::_internal::backend::native::JoystickEventInfo)(__this) )->eventValue = value;
HXLINE( 718) ( ( ::lime::_internal::backend::native::JoystickEventInfo)(__this) )->x = x;
HXLINE( 719) ( ( ::lime::_internal::backend::native::JoystickEventInfo)(__this) )->y = y;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~JoystickEventInfo_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("JoystickEventInfo",2c,09,a3,75); }
int id;
int index;
int type;
int eventValue;
Float x;
Float y;
::lime::_internal::backend::native::JoystickEventInfo clone();
::Dynamic clone_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_JoystickEventInfo */

View File

@ -0,0 +1,84 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_KeyEventInfo
#define INCLUDED_lime__internal_backend_native_KeyEventInfo
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_cef4a471e9b9c478_747_new)
HX_DECLARE_CLASS4(lime,_internal,backend,native,KeyEventInfo)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES KeyEventInfo_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef KeyEventInfo_obj OBJ_;
KeyEventInfo_obj();
public:
enum { _hx_ClassId = 0x792de4cd };
void __construct( ::Dynamic type,hx::Null< int > __o_windowID,hx::Null< int > __o_keyCode,hx::Null< int > __o_modifier);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.backend.native.KeyEventInfo")
{ 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,"lime._internal.backend.native.KeyEventInfo"); }
inline static hx::ObjectPtr< KeyEventInfo_obj > __new( ::Dynamic type,hx::Null< int > __o_windowID,hx::Null< int > __o_keyCode,hx::Null< int > __o_modifier) {
hx::ObjectPtr< KeyEventInfo_obj > __this = new KeyEventInfo_obj();
__this->__construct(type,__o_windowID,__o_keyCode,__o_modifier);
return __this;
}
inline static hx::ObjectPtr< KeyEventInfo_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic type,hx::Null< int > __o_windowID,hx::Null< int > __o_keyCode,hx::Null< int > __o_modifier) {
KeyEventInfo_obj *__this = (KeyEventInfo_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(KeyEventInfo_obj), false, "lime._internal.backend.native.KeyEventInfo"));
*(void **)__this = KeyEventInfo_obj::_hx_vtable;
{
int windowID = __o_windowID.Default(0);
int keyCode = __o_keyCode.Default(0);
int modifier = __o_modifier.Default(0);
HX_STACKFRAME(&_hx_pos_cef4a471e9b9c478_747_new)
HXLINE( 748) ( ( ::lime::_internal::backend::native::KeyEventInfo)(__this) )->type = ( (int)(type) );
HXLINE( 749) ( ( ::lime::_internal::backend::native::KeyEventInfo)(__this) )->windowID = windowID;
HXLINE( 750) ( ( ::lime::_internal::backend::native::KeyEventInfo)(__this) )->keyCode = keyCode;
HXLINE( 751) ( ( ::lime::_internal::backend::native::KeyEventInfo)(__this) )->modifier = modifier;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~KeyEventInfo_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("KeyEventInfo",29,38,a3,94); }
int keyCode;
int modifier;
int type;
int windowID;
::lime::_internal::backend::native::KeyEventInfo clone();
::Dynamic clone_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_KeyEventInfo */

View File

@ -0,0 +1,93 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_MouseEventInfo
#define INCLUDED_lime__internal_backend_native_MouseEventInfo
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_3eb566585b06ea2e_777_new)
HX_DECLARE_CLASS4(lime,_internal,backend,native,MouseEventInfo)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES MouseEventInfo_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef MouseEventInfo_obj OBJ_;
MouseEventInfo_obj();
public:
enum { _hx_ClassId = 0x4f065087 };
void __construct( ::Dynamic type,hx::Null< int > __o_windowID,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< int > __o_button,hx::Null< Float > __o_movementX,hx::Null< Float > __o_movementY);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="lime._internal.backend.native.MouseEventInfo")
{ 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,"lime._internal.backend.native.MouseEventInfo"); }
inline static hx::ObjectPtr< MouseEventInfo_obj > __new( ::Dynamic type,hx::Null< int > __o_windowID,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< int > __o_button,hx::Null< Float > __o_movementX,hx::Null< Float > __o_movementY) {
hx::ObjectPtr< MouseEventInfo_obj > __this = new MouseEventInfo_obj();
__this->__construct(type,__o_windowID,__o_x,__o_y,__o_button,__o_movementX,__o_movementY);
return __this;
}
inline static hx::ObjectPtr< MouseEventInfo_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic type,hx::Null< int > __o_windowID,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< int > __o_button,hx::Null< Float > __o_movementX,hx::Null< Float > __o_movementY) {
MouseEventInfo_obj *__this = (MouseEventInfo_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(MouseEventInfo_obj), false, "lime._internal.backend.native.MouseEventInfo"));
*(void **)__this = MouseEventInfo_obj::_hx_vtable;
{
int windowID = __o_windowID.Default(0);
Float x = __o_x.Default(0);
Float y = __o_y.Default(0);
int button = __o_button.Default(0);
Float movementX = __o_movementX.Default(0);
Float movementY = __o_movementY.Default(0);
HX_STACKFRAME(&_hx_pos_3eb566585b06ea2e_777_new)
HXLINE( 778) ( ( ::lime::_internal::backend::native::MouseEventInfo)(__this) )->type = ( (int)(type) );
HXLINE( 779) ( ( ::lime::_internal::backend::native::MouseEventInfo)(__this) )->windowID = 0;
HXLINE( 780) ( ( ::lime::_internal::backend::native::MouseEventInfo)(__this) )->x = x;
HXLINE( 781) ( ( ::lime::_internal::backend::native::MouseEventInfo)(__this) )->y = y;
HXLINE( 782) ( ( ::lime::_internal::backend::native::MouseEventInfo)(__this) )->button = button;
HXLINE( 783) ( ( ::lime::_internal::backend::native::MouseEventInfo)(__this) )->movementX = movementX;
HXLINE( 784) ( ( ::lime::_internal::backend::native::MouseEventInfo)(__this) )->movementY = movementY;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~MouseEventInfo_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("MouseEventInfo",e3,32,fc,30); }
int button;
Float movementX;
Float movementY;
int type;
int windowID;
Float x;
Float y;
::lime::_internal::backend::native::MouseEventInfo clone();
::Dynamic clone_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_MouseEventInfo */

View File

@ -0,0 +1,144 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_NativeApplication
#define INCLUDED_lime__internal_backend_native_NativeApplication
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,IntMap)
HX_DECLARE_CLASS2(haxe,ds,List)
HX_DECLARE_CLASS4(lime,_internal,backend,native,ApplicationEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,ClipboardEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,DropEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,GamepadEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,JoystickEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,KeyEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,MouseEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,NativeApplication)
HX_DECLARE_CLASS4(lime,_internal,backend,native,NativeCFFI)
HX_DECLARE_CLASS4(lime,_internal,backend,native,RenderEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,SensorEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,TextEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,TouchEventInfo)
HX_DECLARE_CLASS4(lime,_internal,backend,native,WindowEventInfo)
HX_DECLARE_CLASS2(lime,app,Application)
HX_DECLARE_CLASS2(lime,app,IModule)
HX_DECLARE_CLASS2(lime,app,Module)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES NativeApplication_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef NativeApplication_obj OBJ_;
NativeApplication_obj();
public:
enum { _hx_ClassId = 0x3c2383b5 };
void __construct( ::lime::app::Application parent);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime._internal.backend.native.NativeApplication")
{ 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,"lime._internal.backend.native.NativeApplication"); }
static hx::ObjectPtr< NativeApplication_obj > __new( ::lime::app::Application parent);
static hx::ObjectPtr< NativeApplication_obj > __alloc(hx::Ctx *_hx_ctx, ::lime::app::Application parent);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~NativeApplication_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);
static void __init__();
::String __ToString() const { return HX_("NativeApplication",d9,82,56,e0); }
static void __boot();
::lime::_internal::backend::native::ApplicationEventInfo applicationEventInfo;
::lime::_internal::backend::native::ClipboardEventInfo clipboardEventInfo;
::haxe::ds::IntMap currentTouches;
::lime::_internal::backend::native::DropEventInfo dropEventInfo;
::lime::_internal::backend::native::GamepadEventInfo gamepadEventInfo;
::lime::_internal::backend::native::JoystickEventInfo joystickEventInfo;
::lime::_internal::backend::native::KeyEventInfo keyEventInfo;
::lime::_internal::backend::native::MouseEventInfo mouseEventInfo;
::lime::_internal::backend::native::RenderEventInfo renderEventInfo;
::lime::_internal::backend::native::SensorEventInfo sensorEventInfo;
::lime::_internal::backend::native::TextEventInfo textEventInfo;
::lime::_internal::backend::native::TouchEventInfo touchEventInfo;
::haxe::ds::List unusedTouchesPool;
::lime::_internal::backend::native::WindowEventInfo windowEventInfo;
::Dynamic handle;
int pauseTimer;
::lime::app::Application parent;
bool toggleFullscreen;
void advanceTimer();
::Dynamic advanceTimer_dyn();
int exec();
::Dynamic exec_dyn();
void exit();
::Dynamic exit_dyn();
void handleApplicationEvent();
::Dynamic handleApplicationEvent_dyn();
void handleClipboardEvent();
::Dynamic handleClipboardEvent_dyn();
void handleDropEvent();
::Dynamic handleDropEvent_dyn();
void handleGamepadEvent();
::Dynamic handleGamepadEvent_dyn();
void handleJoystickEvent();
::Dynamic handleJoystickEvent_dyn();
void handleKeyEvent();
::Dynamic handleKeyEvent_dyn();
void handleMouseEvent();
::Dynamic handleMouseEvent_dyn();
void handleRenderEvent();
::Dynamic handleRenderEvent_dyn();
void handleSensorEvent();
::Dynamic handleSensorEvent_dyn();
void handleTextEvent();
::Dynamic handleTextEvent_dyn();
void handleTouchEvent();
::Dynamic handleTouchEvent_dyn();
void handleWindowEvent();
::Dynamic handleWindowEvent_dyn();
void updateTimer();
::Dynamic updateTimer_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_NativeApplication */

View File

@ -0,0 +1,138 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime__internal_backend_native_NativeAudioSource
#define INCLUDED_lime__internal_backend_native_NativeAudioSource
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,Timer)
HX_DECLARE_CLASS4(lime,_internal,backend,native,NativeAudioSource)
HX_DECLARE_CLASS2(lime,math,Vector4)
HX_DECLARE_CLASS2(lime,media,AudioSource)
HX_DECLARE_CLASS3(lime,media,vorbis,VorbisFile)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
namespace lime{
namespace _internal{
namespace backend{
namespace native{
class HXCPP_CLASS_ATTRIBUTES NativeAudioSource_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef NativeAudioSource_obj OBJ_;
NativeAudioSource_obj();
public:
enum { _hx_ClassId = 0x12c6bab6 };
void __construct( ::lime::media::AudioSource parent);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime._internal.backend.native.NativeAudioSource")
{ 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,"lime._internal.backend.native.NativeAudioSource"); }
static hx::ObjectPtr< NativeAudioSource_obj > __new( ::lime::media::AudioSource parent);
static hx::ObjectPtr< NativeAudioSource_obj > __alloc(hx::Ctx *_hx_ctx, ::lime::media::AudioSource parent);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~NativeAudioSource_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);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, 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_("NativeAudioSource",da,b9,f9,b6); }
static void __boot();
static int STREAM_BUFFER_SIZE;
static int STREAM_NUM_BUFFERS;
static int STREAM_TIMER_FREQUENCY;
::cpp::VirtualArray buffers;
bool completed;
int dataLength;
int format;
::Dynamic handle;
::Dynamic length;
int loops;
::lime::media::AudioSource parent;
bool playing;
::lime::math::Vector4 position;
int samples;
bool stream;
::haxe::Timer streamTimer;
::haxe::Timer timer;
void dispose();
::Dynamic dispose_dyn();
void init();
::Dynamic init_dyn();
void play();
::Dynamic play_dyn();
void pause();
::Dynamic pause_dyn();
::lime::utils::ArrayBufferView readVorbisFileBuffer( ::lime::media::vorbis::VorbisFile vorbisFile,int length);
::Dynamic readVorbisFileBuffer_dyn();
void refillBuffers(::cpp::VirtualArray buffers);
::Dynamic refillBuffers_dyn();
void stop();
::Dynamic stop_dyn();
void streamTimer_onRun();
::Dynamic streamTimer_onRun_dyn();
void timer_onRun();
::Dynamic timer_onRun_dyn();
int getCurrentTime();
::Dynamic getCurrentTime_dyn();
int setCurrentTime(int value);
::Dynamic setCurrentTime_dyn();
Float getGain();
::Dynamic getGain_dyn();
Float setGain(Float value);
::Dynamic setGain_dyn();
int getLength();
::Dynamic getLength_dyn();
int setLength(int value);
::Dynamic setLength_dyn();
int getLoops();
::Dynamic getLoops_dyn();
int setLoops(int value);
::Dynamic setLoops_dyn();
::lime::math::Vector4 getPosition();
::Dynamic getPosition_dyn();
::lime::math::Vector4 setPosition( ::lime::math::Vector4 value);
::Dynamic setPosition_dyn();
};
} // end namespace lime
} // end namespace _internal
} // end namespace backend
} // end namespace native
#endif /* INCLUDED_lime__internal_backend_native_NativeAudioSource */

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More