Talos Mud Development Blog

One mans quest to blog about Mud Development

Streets

leave a comment »

So streets are going to be the cornerstone of the urban setting of TalosMUD. Each Street is going to dynamically create the description of the ‘room’ based upon the street type, the buildings contained there. So Right Now we are adding the following functionality to the street_room.c:
//Prototypes:
//Sets:
void SetStreetName(string StreetName);
void SetStreetLights(int i);
void SetStreetWidth(int i);
void SetRoadType(int i);
void SetGuardRotation(int TimeInterval);
//Gets:
string GetStreetName();
int GetStreetLights();
int GetStreetWidth();
int GetRoadType();
int GetGuardRotation();

int DetermineWealth();
void AddBuilding(string Direction, string BuildingFileName);
void EstablishExits();
void GenerateDescription();
void EstablishLongs();

While we are on the topic of streets it is relevant to talk about what buildings are going to be. They are virtual constructs that will be the lifeblood of the city. The street will call the buildings to determine the descriptions and the longs of the ‘room’

Advertisements

Written by Troy

January 17, 2010 at 4:01 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: