Esempio n. 1
0
    void DebugActor::initialize()
    {
        if (resSystem)
            return;

        log::messageln("DebugActor::initialize");

        zp.setPrefix("system/");
        zp.add(system_data, system_size);

        file::mount(&zp);
        resSystem = new Resources;
        resSystem->loadXML("system/res.xml", ResourcesLoadOptions().prebuiltFolder("system"));
    }
Esempio n. 2
0
	void DebugActor::initialize()
	{
		if (resSystem)
			return;

		spActor a = new MaskedSprite;

		zp.setPrefix("system/");
		zp.add(system_data, system_size);

		file::mount(&zp);
		resSystem = new Resources;
		resSystem->loadXML("system/res.xml", 0, true, false, "system");
		//

		//log::messageln("initialized DebugActor");
	}