Example #1
0
    private void InitializeRune()
    {
        anIntArray1232 = new int[32];
        int a = 2;

        for (int k = 0; k < 32; k++)
        {
            anIntArray1232 [k] = a - 1;
            a += a;
        }
        signlink.storeid = 0;
        signlink.run();
        for (int i = 0; i < 5; i++)
        {
            decompressors [i] = new Decompressor(signlink.cache_dat, signlink.cache_idx [i], i + 1);
        }
        StreamLoader streamLoader_6 = streamLoaderForName(5, "update list",
                                                          "versionlist");

        onDemandFetcher = new OnDemandFetcher();
        onDemandFetcher.start(streamLoader_6);

        StreamLoader streamLoader = streamLoaderForName(2, "config", "config");

        RS2Sharp.Animation.unpackConfig(streamLoader);
        //RS2Sharp.Texture.method368(streamLoader_3);
        RS2Sharp.Texture.method372(0.80000000000000004D);
        RS2Sharp.Texture.method367();
        ItemDef.unpackConfig(streamLoader);
        EntityDef.unpackConfig(streamLoader);
        IDK.unpackConfig(streamLoader);
        SpotAnim.unpackConfig(streamLoader);
        Varp.unpackConfig(streamLoader);
        VarBit.unpackConfig(streamLoader);
        ObjectDef.unpackConfig(streamLoader);
        Flo.unpackConfig(streamLoader);
        OverLayFlo317.unpackConfig(streamLoader);
        Model.initialize(65535, onDemandFetcher);
        initialized = true;
    }