Updated to reflect changes to resource manager.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1596 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-07-19 20:13:30 +00:00
parent 9f641c5796
commit ef41daa34f
8 changed files with 22 additions and 22 deletions
@@ -1,5 +1,5 @@
//
// $Id: CharSpriteViz.java,v 1.1 2002/06/26 23:53:07 mdb Exp $
// $Id: CharSpriteViz.java,v 1.2 2002/07/19 20:13:29 shaper Exp $
package com.threerings.cast;
@@ -102,8 +102,8 @@ public class CharSpriteViz extends JPanel
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
try {
ResourceManager rmgr = new ResourceManager(
"rsrc", null, "config/resource/manager.properties");
ResourceManager rmgr = new ResourceManager("rsrc");
rmgr.initBundles(null, "config/resource/manager.properties", null);
ImageManager imgr = new ImageManager(rmgr, frame);
ComponentRepository crepo =
new BundledComponentRepository(rmgr, imgr, "components");
@@ -1,5 +1,5 @@
//
// $Id: TestApp.java,v 1.14 2002/06/19 23:24:19 mdb Exp $
// $Id: TestApp.java,v 1.15 2002/07/19 20:13:29 shaper Exp $
package com.threerings.cast.builder;
@@ -27,8 +27,8 @@ public class TestApp
_frame.setSize(800, 600);
SwingUtil.centerWindow(_frame);
ResourceManager rmgr = new ResourceManager(
"rsrc", null, "config/resource/manager.properties");
ResourceManager rmgr = new ResourceManager("rsrc");
rmgr.initBundles(null, "config/resource/manager.properties", null);
ImageManager imgr = new ImageManager(rmgr, _frame);
ComponentRepository crepo =
@@ -1,5 +1,5 @@
//
// $Id: BundledComponentRepositoryTest.java,v 1.6 2002/02/09 07:50:04 mdb Exp $
// $Id: BundledComponentRepositoryTest.java,v 1.7 2002/07/19 20:13:29 shaper Exp $
package com.threerings.cast.bundle;
@@ -22,8 +22,8 @@ public class BundledComponentRepositoryTest extends TestCase
public void runTest ()
{
try {
ResourceManager rmgr = new ResourceManager(
"rsrc", null, "config/resource/manager.properties");
ResourceManager rmgr = new ResourceManager("rsrc");
rmgr.initBundles(null, "config/resource/manager.properties", null);
ImageManager imgr = new ImageManager(rmgr, null);
BundledComponentRepository repo =
new BundledComponentRepository(rmgr, imgr, "components");