The first great Three Rings renaming. Cocktail changed to Narya, Cher

changed to Presents and Party changed to Crowd. Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@431 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-10-11 04:07:54 +00:00
parent ac477756ea
commit 8a4c46badc
170 changed files with 832 additions and 805 deletions
@@ -1,9 +1,9 @@
//
// $Id: LocationAdapter.java,v 1.1 2001/08/22 00:08:12 mdb Exp $
// $Id: LocationAdapter.java,v 1.2 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import com.threerings.cocktail.party.data.PlaceObject;
import com.threerings.crowd.data.PlaceObject;
/**
* The location adapter makes life easier for a class that really only
@@ -1,9 +1,9 @@
//
// $Id: LocationCodes.java,v 1.1 2001/10/01 22:14:55 mdb Exp $
// $Id: LocationCodes.java,v 1.2 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import com.threerings.cocktail.cher.client.InvocationCodes;
import com.threerings.presents.client.InvocationCodes;
/**
* Contains codes used by the location invocation services.
@@ -1,17 +1,17 @@
//
// $Id: LocationDirector.java,v 1.10 2001/10/05 23:57:26 mdb Exp $
// $Id: LocationDirector.java,v 1.11 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import java.util.ArrayList;
import java.util.List;
import com.threerings.cocktail.cher.client.*;
import com.threerings.cocktail.cher.dobj.*;
import com.threerings.presents.client.*;
import com.threerings.presents.dobj.*;
import com.threerings.cocktail.party.Log;
import com.threerings.cocktail.party.data.*;
import com.threerings.cocktail.party.util.PartyContext;
import com.threerings.crowd.Log;
import com.threerings.crowd.data.*;
import com.threerings.crowd.util.CrowdContext;
/**
* The location director provides a means by which entities on the client
@@ -23,7 +23,7 @@ import com.threerings.cocktail.party.util.PartyContext;
public class LocationDirector
implements ClientObserver, Subscriber
{
public LocationDirector (PartyContext ctx)
public LocationDirector (CrowdContext ctx)
{
// keep this around for later
_ctx = ctx;
@@ -341,7 +341,7 @@ public class LocationDirector
}
/** The context through which we access needed services. */
protected PartyContext _ctx;
protected CrowdContext _ctx;
/** Our location observer list. */
protected List _observers = new ArrayList();
@@ -1,9 +1,9 @@
//
// $Id: LocationObserver.java,v 1.3 2001/08/02 04:59:54 mdb Exp $
// $Id: LocationObserver.java,v 1.4 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import com.threerings.cocktail.party.data.PlaceObject;
import com.threerings.crowd.data.PlaceObject;
/**
* The location observer interface makes it possible for entities to be
@@ -1,11 +1,11 @@
//
// $Id: LocationService.java,v 1.3 2001/10/02 02:07:50 mdb Exp $
// $Id: LocationService.java,v 1.4 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import com.threerings.cocktail.cher.client.Client;
import com.threerings.cocktail.cher.client.InvocationDirector;
import com.threerings.cocktail.party.Log;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationDirector;
import com.threerings.crowd.Log;
/**
* The location services provide a mechanism by which the client can
@@ -1,18 +1,18 @@
//
// $Id: OccupantManager.java,v 1.5 2001/10/02 02:07:50 mdb Exp $
// $Id: OccupantManager.java,v 1.6 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import java.util.ArrayList;
import java.util.Iterator;
import com.samskivert.util.HashIntMap;
import com.threerings.cocktail.cher.dobj.*;
import com.threerings.presents.dobj.*;
import com.threerings.cocktail.party.Log;
import com.threerings.cocktail.party.data.OccupantInfo;
import com.threerings.cocktail.party.data.PlaceObject;
import com.threerings.cocktail.party.util.PartyContext;
import com.threerings.crowd.Log;
import com.threerings.crowd.data.OccupantInfo;
import com.threerings.crowd.data.PlaceObject;
import com.threerings.crowd.util.CrowdContext;
/**
* The occupant manager listens for occupants of places to enter and exit,
@@ -41,7 +41,7 @@ public class OccupantManager
/**
* Constructs a new occupant manager with the supplied context.
*/
public OccupantManager (PartyContext ctx)
public OccupantManager (CrowdContext ctx)
{
// register ourselves as a location observer
ctx.getLocationDirector().addLocationObserver(this);
@@ -1,9 +1,9 @@
//
// $Id: OccupantObserver.java,v 1.1 2001/08/20 20:54:56 mdb Exp $
// $Id: OccupantObserver.java,v 1.2 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import com.threerings.cocktail.party.data.OccupantInfo;
import com.threerings.crowd.data.OccupantInfo;
/**
* An entity that is interested in hearing about bodies that enter and
@@ -1,14 +1,14 @@
//
// $Id: PlaceController.java,v 1.3 2001/10/09 17:20:03 mdb Exp $
// $Id: PlaceController.java,v 1.4 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import java.awt.event.ActionEvent;
import com.samskivert.swing.Controller;
import com.threerings.cocktail.party.data.PlaceConfig;
import com.threerings.cocktail.party.data.PlaceObject;
import com.threerings.cocktail.party.util.PartyContext;
import com.threerings.crowd.data.PlaceConfig;
import com.threerings.crowd.data.PlaceObject;
import com.threerings.crowd.util.CrowdContext;
/**
* Controls the user interface that is used to display a place. When the
@@ -32,7 +32,7 @@ public abstract class PlaceController
* @param ctx the client context.
* @param config the place configuration for this place.
*/
public void init (PartyContext ctx, PlaceConfig config)
public void init (CrowdContext ctx, PlaceConfig config)
{
// keep these around
_ctx = ctx;
@@ -92,7 +92,7 @@ public abstract class PlaceController
}
/** A reference to the active client context. */
protected PartyContext _ctx;
protected CrowdContext _ctx;
/** A reference to our place configuration. */
protected PlaceConfig _config;
@@ -1,9 +1,9 @@
//
// $Id: PlaceView.java,v 1.4 2001/10/06 00:24:46 mdb Exp $
// $Id: PlaceView.java,v 1.5 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import com.threerings.cocktail.party.data.PlaceObject;
import com.threerings.crowd.data.PlaceObject;
/**
* This interface provides a convenient means for decoupling user
@@ -35,7 +35,7 @@ import com.threerings.cocktail.party.data.PlaceObject;
* of place entering and exiting by virtue of the single dispatching
* calls. It is useful to note that place-sensitive user interface
* elements will also generally need a reference to the {@link
* com.threerings.cocktail.party.util.PartyContext} derivative in use by
* com.threerings.crowd.util.CrowdContext} derivative in use by
* the client, but those are best supplied at construct time.
*/
public interface PlaceView
@@ -1,12 +1,12 @@
//
// $Id: PlaceViewUtil.java,v 1.2 2001/10/05 23:57:26 mdb Exp $
// $Id: PlaceViewUtil.java,v 1.3 2001/10/11 04:07:51 mdb Exp $
package com.threerings.cocktail.party.client;
package com.threerings.crowd.client;
import java.awt.Container;
import com.threerings.cocktail.party.Log;
import com.threerings.cocktail.party.data.PlaceObject;
import com.threerings.crowd.Log;
import com.threerings.crowd.data.PlaceObject;
/**
* Provides a mechanism for dispatching notifications to all user