Example #1
0
 public static void main()
 {
     unchecked {
         global::haxe.Log.trace.__hx_invoke2_o(default(double), "#START", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "main", "Test", "src/Test.hx" }, new int[] { 1981972957 }, new double[] { ((double)(5)) }));
         global::TestControl sm = new global::TestControl();
         sm.Run();
         global::haxe.Log.trace.__hx_invoke2_o(default(double), "#END", default(double), new global::haxe.lang.DynamicObject(new int[] { 302979532, 1547539107, 1648581351 }, new object[] { "main", "Test", "src/Test.hx" }, new int[] { 1981972957 }, new double[] { ((double)(8)) }));
     }
 }
Example #2
0
    protected static void __hx_ctor__TestControl(global::TestControl __hx_this)
    {
        unchecked {
            __hx_this.m_callstack_level = 0;
            __hx_this.MAX_CALLSTACK     = 10;
            {
                __hx_this.m_curfunc  = global::TestControl_STATE.none;
                __hx_this.m_nextfunc = global::TestControl_STATE.none;
                global::Array <object> _g = new global::Array <object>(new object[] {});
                {
                    int _g1 = 0;
                    int _g2 = __hx_this.MAX_CALLSTACK;
                    while ((_g1 < _g2))
                    {
                        int i = _g1++;
                        _g.push(global::TestControl_STATE.none);
                    }
                }

                __hx_this.m_callstacks = _g;
                global::haxe.ds.EnumValueMap <object, object> _g3 = new global::haxe.ds.EnumValueMap <object, object>();
                _g3.@set(global::TestControl_STATE.S_0000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0000", 42918572))));
                _g3.@set(global::TestControl_STATE.S_0001, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0001", 42918573))));
                _g3.@set(global::TestControl_STATE.S_0002, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0002", 42918574))));
                _g3.@set(global::TestControl_STATE.S_0003, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0003", 42918575))));
                _g3.@set(global::TestControl_STATE.S_0004, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0004", 42918576))));
                _g3.@set(global::TestControl_STATE.S_0005, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0005", 42918577))));
                _g3.@set(global::TestControl_STATE.S_0006, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0006", 42918578))));
                _g3.@set(global::TestControl_STATE.S_0007, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0007", 42918579))));
                _g3.@set(global::TestControl_STATE.S_0008, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0008", 42918580))));
                _g3.@set(global::TestControl_STATE.S_END, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_END", 155323023))));
                _g3.@set(global::TestControl_STATE.S_GSB000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_GSB000", 1395622150))));
                _g3.@set(global::TestControl_STATE.S_LOP000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_LOP000", 245299599))));
                _g3.@set(global::TestControl_STATE.S_LOP000_Check____, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_LOP000_Check____", 943573240))));
                _g3.@set(global::TestControl_STATE.S_LOP000_Next____, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_LOP000_Next____", 656521411))));
                _g3.@set(global::TestControl_STATE.S_RET000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_RET000", 895889723))));
                _g3.@set(global::TestControl_STATE.S_RET001, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_RET001", 895889724))));
                _g3.@set(global::TestControl_STATE.S_SBS000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_SBS000", 1625594232))));
                _g3.@set(global::TestControl_STATE.S_SBS001, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_SBS001", 1625594233))));
                _g3.@set(global::TestControl_STATE.S_START, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_START", 2035708950))));
                _g3.@set(global::TestControl_STATE.S_WAIT1SEC, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_WAIT1SEC", 1294696833))));
                {
                    global::haxe.lang.Function @value = null;
                    _g3.@set(global::TestControl_STATE.unknown, @value);
                }

                __hx_this.m_funcmap = _g3;
            }
        }
    }