本文整理汇总了C++中SetAmbientLight函数的典型用法代码示例。如果您正苦于以下问题:C++ SetAmbientLight函数的具体用法?C++ SetAmbientLight怎么用?C++ SetAmbientLight使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了SetAmbientLight函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: create
varargs static void create(int x, int y) {
SetNoReplace(1);
virt_land::create();
SetClimate("temperate");
SetAmbientLight(30);
SetLong("A featureless void.");
SetShort("an empty place");
AddExit("down", ROOM_START);
}
示例2: create
static void create() {
room::create();
SetClimate("outdoors");
SetAmbientLight(30);
SetShort("East Village Road");
SetNightLong("A lamp-lit long road going through the village. Town Hall is north. The main part of the town is west of here.");
SetDayLong("A long road going through the village. Town Hall is north. The main part of the town is west of here.");
SetItems(([
({ "office", "post office" }) : "Mail can be received and sent from the post office.",
示例3: create
static void create() {
room::create();
SetClimate("outdoors");
SetAmbientLight(30);
SetShort("Village Path");
SetNightLong("Still illuminated by lamp post, Village Road becomes less of a road here and more of a dirt path. The shore of the eastern sea is almost visible from here. The village schoolhouse is north, and the shore is east. The village stables are south.");
SetDayLong("As it travels from west to east, Village Road becomes less of a road here and more of a dirt path. The shore of the eastern sea is almost visible from here. The village schoolhouse is north, and the shore is east. The village stables are south.");
SetItems(([
({ "building", "schoolhouse", "school", "village school", "village schoolhouse" }) : "A small but well-kept wooden building where townsfolk and their children go to acquire knowledge.",
示例4: create
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("RoSE Guest Room");
SetLong( (:GuestRoom:) );
SetObviousExits("no exit");
SetNoModify(1);
}
示例5: create
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("The Adventurers' Guild");
SetLong("This small building is where adventurers can record their adventures and leave messages and announcements for other brave souls. This is also the place one can seek advancement, so if you deserve to be a higher level adventurer, asking the guild master for it will make it so. A scroll lists quests one may perform, and a sign contains some instructions. The Creator's Hall is south of here. A special skills training area is west. A conference room is east, where folks can discuss things in privacy.");
SetItems( ([
({ "list","scroll"}) : "A scroll hangs from the wall, listing "
"some adventures you can perform which may have rewards "
"for you.",
示例6: create
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("off the mortal coil");
SetLong( (:FunkyPic:) );
SetObviousExits("no exit");
set_heart_beat(10);
SetNoModify(1);
}
示例7: create
void create() {
room::create();
SetAmbientLight(30);
SetShort("An alcove");
SetLong("An alcove.");
SetClimate("indoors");
SetExits(([
"east" : "/domains/campus/room/stairwell2a",
]));
}
示例8: create
void create(){
::create();
SetAmbientLight(30);
SetShort("Harry's Pub");
SetLong("Harry's Pub is a simple place where lonely sailors pass the time away and talk about their homes. Known to serve some mean drinks and customers, the place is clean and spare, with few things to break over someone's head. A menu on the wall lists the available refreshments. There appears to be some kind of back room to the west.");
SetClimate("indoors");
SetItems( ([
({"wall", "walls"}) : "If only they could speak, eh?",
"menu" : "A menu you can read. Oddly it has as its logo a severed "+
"wolf's head on a stick.",
示例9: create
static void create() {
room::create();
SetClimate("temperate");
SetAmbientLight(30);
SetNightLight(20);
SetDayLight(30);
SetShort("%^B_BLACK%^%^WHITE%^ Southwest Side of Hill %^RESET%^");
SetLong(".");
SetItems(([
({ "root", "roots", "labyrinth" }) : "The roots snake and whorl all over the side of hill here. Clusters of flowers have grown up in some of the closed loops made by them. Another contains a small pool of water, where frogs seem to have taken up residence. You're sure you could sit here all day, trying to follow the path of the roots, and get nowhere.",
示例10: create
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("a tiny crawlspace");
SetLong("You are in a cramped little space beneath the stairs in the "+
"basement. It is dark, tight, and dirty in here.");
SetItems(([
({"crawlspace","space"}) : "You are in the space beneath stairs.",
"basement" : "The basement is just outside the crawlspace.",
"stairs" : "You're under them."]));
示例11: create
void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("The start room");
SetLong("The default start room. To enter "+
"a sample set of rooms, go down.");
SetExits( ([
"down" : "/domains/town/room/road",
]) );
}
示例12: create
static void create() {
room::create();
SetClimate("outdoors");
SetAmbientLight(30);
SetShort("Fort Road");
SetNightLong("You are on a road at the northern edge of the village. To the south is the heart of the town. The First Village Bank stands here on the east side of the road. To the west is the post office.");
SetDayLong("You are on a road running north and south. To the south is the heart of the town. To the north the road runs along a narrow ridge, leading up to what looks like a fortress. The First Village Bank stands here on the east side of the road. To the west is the post office.");
SetItems( ([
({"rubble","stone","stones","road"}) : "Looks like "
"the road is still being built. Further travel north "
"is impossible.",
示例13: create
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("a blue room");
SetLong("This is a blue room. Probability Lab 3 is west.");
SetExits( ([
"west" : "/domains/campus/room/plab"
]) );
SetDoor("west","/domains/campus/doors/blue_door3");
}
示例14: create
static void create() {
room::create();
SetClimate("indoors");
SetAmbientLight(30);
SetShort("a green room");
SetLong("This is a green room. Probability Lab 2 is east.");
SetExits( ([
"east" : "/domains/campus/room/plab2"
]) );
SetDoor("east","/domains/campus/doors/green_door2");
}
示例15: create
static void create() {
room::create();
SetClimate("outdoors");
SetAmbientLight(30);
SetShort("North Saquivor Road");
SetNightLong("Illuminated by lamplight here is Saquivor road, leading north-south through the village. To the east is the village pub, the legendary watering hole used by thousands of rogues, paladins, and everyone in between. The Healers' Guild is west. To the south is a major intersection. The road continues north into the gloom.");
SetDayLong("You are on Saquivor road, leading north-south through the village. To the east is the village pub, the legendary watering hole used by thousands of rogues, paladins, and everyone in between. The Healers' Guild is west, and to the north you can see a road leading up to the plateau where the Fortress on the Frontiers stands. To the south is a major intersection.");
SetItems( ([
({"pub","tavern","village pub"}) : "The is the town's "
"legendary watering hole, where refreshments are served "
"and tall tales are swapped.",