⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nightfile.c

📁 早期freebsd实现
💻 C
📖 第 1 页 / 共 4 页
字号:
/* * Copyright (c) 1983, 1993 *	The Regents of the University of California.  All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *	This product includes software developed by the University of *	California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */#ifndef lintstatic char sccsid[] = "@(#)nightfile.c	8.1 (Berkeley) 5/31/93";#endif /* not lint */#include "externs.h"struct room nightfile[] = {	{ 0 },	{ "You are in the main hangar.",	5, 2, 9, 3, 3, 1, 0, 0,"This is a huge bay where many fighters and cargo craft lie.  Alarms are \n\sounding and fighter pilots are running to their ships.  Above is a gallery\n\overlooking the bay. The scream of turbo engines is coming from +. The rest\n\of the hangar is +. There is an exit +.*\n" },	{ "This is the landing bay.",	1, 0, 10, 0, 0, 0, 0, 0,"Ships are landing here, some heavily damaged. Enemy fighters continually\n\strafe this vulnerable port. The main hangar is +, *\n\There is an exit +.*\n" },	{ "You are in the gallery.",	4, 0, 0, 0, 0, 0, 1, 0,"From here a view of the entire landing bay reveals that our battlestar\n\is near destruction. Fires are spreading out of control and laser blasts\n\lick at the shadows. The control room is +. ***\n" },	{ "You are in the control room.",	0, 3, 0, 0, 0, 0, 5, 0,"Several frantic technicians are flipping switches wildly but otherwise\n\this room seems fairly deserted.  A weapons locker has been left open.\n\A staircase leads down. * There is a way -. **        \n" },	{ "This is the launch room.",	6, 1, 7, 0, 4, 1, 0, 0,"From the launch tubes here fighters blast off into space. Only one is left,\n\and it is guarded by two fierce men. A staircase leads up from here.\n\There is a cluttered workbench +. From the main hangar come sounds of great\n\explosions.  The main hangar is +. The viper launch tubes are to the -.*\n" },	{ "You are at the workbench.",	0, 5, 7, 0, 0, 0, 0, 0,"Strange and unwieldy tools are arranged here including a lunch box \n\and pneumatic wrenches and turbo sprocket rockets.*\n\The launch room is +. The remaining viper is +.*\n" },	{ "You are in the viper launch tube.",	0, 5, 0, 5, 32, 0, 0, 0,"The two guards are eyeing you warily! ****\n" },	{ "This is a walk in closet.",	22, 0, 0, 0, 0, 0, 0, 0,"A wardrobe of immense magnitude greets the eye.  Furs and robes of kings\n\hang on rack after rack.  Silken gowns, capes woven with spun gold, and \n\delicate synthetic fabrics are stowed here.  The bedroom is +.***\n" },	{ "You are in a wide hallway leading to the main hangar.",	0, 0, 11, 1, 0, 0, 0, 0,"The walls and ceiling here have been blasted through in several places.\n\It looks as if quite a battle has been fought for possession of the landing bay\n\Gaping corpses litter the floor.**  The hallway continues +.\n\The main hangar is +.\n" },	{ "You are in a wide hallway leading to the landing bay.",	0, 0, 12, 2, 0, 0, 0, 0,"Most of the men and supplies needed in the main hangar come through this\n\corridor, but the wounded are forced to use it too. It very dank and\n\crowded here, and the floor is slippery with blood.**\n\The hallway continues -. The landing bay is +.\n" },	{ "The hallway is very congested with rubble here.",	0, 0, 0, 9, 13, 1, 0, 0,"It is too choked with broken steel girders and other debris to continue\n\on much farther. Above, the ceiling has caved in and it is possible to \n\climb up. There is not much chance to go -, -, or -.\n\But the hallway seems clearer +.\n" },	{ "A wide hallway and a more narrow walkway meet here.",	14, 15, 0, 10, 0, 0, 0, 0,"The intersection is crowded with the many wounded who have come up\n\the wide hallway and continued +. The walkway is less crowded +.\n\The wide hallway goes *-.\n" },	{ "You are in what was once an elegant stateroom.",	16, 0, 0, 0, 0, 0, 11, 0,"Whoever lived in this stateroom, he and his female companion\n\were mercilessly slain in their sleep. Clothes, trinkets and personal\n\belongings are scattered all across the floor. Through a hole in the\n\collapsed floor I can see a hallway below.  A door is +.***\n" },	{ "You're at the entrance to the sick bay.",	17, 12, 18, 0, 0, 0, 0, 0,"The wounded are entering the sick bay in loudly moaning files.\n\The walkway continues - and +. A doctor is motioning for you to \n\come to the -. *\n" },	{ "You're in the walkway.",	12, 19, 0, 0, 0, 0, 0, 0,"Most of the men and supplies were coming from the armory. The walkway\n\continues -. The armory is +.**\n" },	{ "These are the executive suites of the battlestar.",	20, 13, 21, 22, 23, 1, 24, 0,"Luxurious staterooms carpeted with crushed velvet and adorned with beaten\n\gold open onto this parlor. A wide staircase with ivory banisters leads\n\up or down. This parlor leads into a hallway +. The bridal suite is +.\n\Other rooms lie - and +.\n" },	{ "You're in a long dimly lit hallway.",	0, 14, 25, 0, 0, 0, 0, 0,"This part of the walkway is deserted. There is a dead end +. The\n\entrance to the sickbay is +. The walkway turns sharply -.*\n" },	{ "This is the sick bay.",	0, 0, 0, 14, 0, 0, 0, 0,"Sinister nurses with long needles and pitiful aim probe the depths of suffering\n\here. Only the mortally wounded receive medical attention on a battlestar,\n\but afterwards they are thrown into the incinerators along with the rest.**\n\Nothing but death and suffering +.  The walkway is +.\n" },	{ "You're in the armory.",	15, 26, 0, 0, 0, 0, 0, 0,"An armed guard is stationed here 365 sectars a yarn to protect the magazine.\n\The walkway is +. The magazine is +.**\n" },	{ "The hallway ends here at the presidential suite.",	27, 16, 0, 0, 0, 0, 0, 0,"The door to this suite is made from solid magnesium, and the entryway is\n\inlaid with diamonds and fire opals. The door is ajar +. The hallway\n\goes -.**\n" },	{ "This is the maid's utility room.",	0, 0, 0, 16, 0, 0, 0, 0,"What a gruesome sight! The maid has been brutally drowned in a bucket of\n\Pine Sol and repeatedly stabbed in the back with a knife.***\n\The hallway is +.\n" },	{ "This is a luxurious stateroom.",	0, 8, 16, 0, 0, 0, 0, 0,"The floor is carpeted with a soft animal fur and the great wooden furniture\n\is inlaid with strips of platinum and gold.  Electronic equipment built\n\into the walls and ceiling is flashing wildly.  The floor shudders and\n\the sounds of dull explosions rumble though the room.  From a window in\n\the wall + comes a view of darkest space.  There is a small adjoining\n\room +, and a doorway +.*\n" },	{ "You are at the entrance to the dining hall.",	0, 0, 28, 0, 0, 0, 16, 0,"A wide staircase with ebony banisters leads down here.**\n\The dining hall is to the -.*\n" },	{ "This was once the first class lounge.",	0, 0, 29, 0, 16, 1, 0, 0,"There is much rubble and destruction here that was not apparent elsewhere.\n\The walls and ceilings have broken in in some places. A staircase with\n\red coral banisters leads up. It is impossible to go - or -.\n\It seems a little clearer +.*\n" },	{ "You are in a narrow stairwell.",	0, 17, 0, 0, 30, 1, 0, 0,"These dusty and decrepit stairs lead up.  There is no way -.  The\n\hallway turns sharply -.**\n" },	{ "You are in the magazine.",	19, 0, 0, 0, 0, 0, 0, 0,"Rows and rows of neatly stacked ammunition for laser pistols and grenade\n\launchers are here. The armory is +.***\n" },	{ "You're in the presidential suite.",	0, 20, 0, 0, 0, 0, 0, 0,"Apparently the president has been assassinated. A scorched figure lies\n\face downward on the carpet clutching his chest.*\n\The hallway leads -.**\n" },	{ "You are in the dining hall.",	0, 30, 31, 23, 0, 0, 0, 0,"This was the seen of a mass suicide. Hundreds of ambassadors and assorted\n\dignitaries sit slumped over their breakfast cereal. I suppose the news\n\of the cylon attack killed them. There is a strange chill in this room.  I\n\would not linger here. * The kitchen is +. Entrances + and +.\n" },	{ "The debris is very thick here.",	0, 11, 0, 24, 0, 0, 0, 0,"Broken furniture, fallen girders, and other rubble block the way.\n\There is not much chance to continue -, -, or -.\n\It would be best to go -.\n" },	{ "You are in the kitchen.",	28, 0, 0, 0, 0, 0, 0, 0,"This room is full of shining stainless steel and burnished bronze cookware. An \n\assortment of tropical fruits and vegetables as well as fine meats and cheeses \n\lies on a sterling platter. The chef, unfortunately, has been skewered like a \n\side of beef. The dining room is +. ** There is a locked door +.\n" },	{ "You are in an arched entry leading to the dining room.",	0, 0, 0, 28, 0, 0, 0, 0,"The door leading out is bolted shut from the outside and is very strong.***\n\The dining room is +.\n" },	{ "You are in space.",	33, 34, 35, 36, 37, 1, 33, 1,"****\n" },	{ "You are in space.",	38, 32, 39, 40, 41, 1, 42, 1,"****\n" },	{ "You are in space.",	32, 44, 45, 46, 47, 1, 48, 1,"****\n" },	{ "You are in space.",	40, 45, 49, 32, 50, 1, 51, 1,"****\n" },	{ "You are in space.",	41, 46, 32, 52, 53, 1, 54, 1,"****\n" },	{ "You are in space.",	42, 47, 50, 53, 55, 1, 32, 1,"****\n" },	{ "You are in space.",	43, 48, 51, 54, 32, 1, 56, 1,"****\n" },	{ "You are in space.",	57, 33, 40, 41, 42, 1, 43, 1,"****\n" },	{ "You are in space.",	39, 35, 57, 33, 58, 1, 59, 1,"****\n" },	{ "You are in space.",	39, 36, 33, 59, 60, 1, 61, 1,"****\n" },	{ "You are in space.",	39, 37, 58, 60, 62, 1, 33, 1,"****\n" },	{ "You are in space.",	39, 38, 59, 61, 33, 1, 63, 1,"****\n" },	{ "You are in space.",	34, 64, 45, 46, 47, 1, 48, 1,"****\n" },	{ "You are in space.",	35, 44, 49, 34, 50, 1, 51, 1,"****\n" },	{ "You are in space.",	36, 44, 34, 52, 53, 1, 54, 1,"****\n" },	{ "You are in space.",	37, 44, 50, 53, 55, 1, 34, 1,"****\n" },	{ "You are in space.",	38, 44, 51, 54, 34, 1, 56, 1,"****\n" },	{ "You are in space.",	49, 49, 52, 35, 49, 1, 49, 1,"****\n" },	{ "You are in space.",	58, 47, 49, 37, 55, 1, 35, 1,"****\n" },	{ "You are in space.",	59, 48, 49, 38, 35, 1, 56, 1,"****\n" },	{ "You are in space.",	52, 52, 36, 49, 52, 1, 52, 1,"****\n" },	{ "You are in space.",	60, 46, 37, 52, 55, 1, 36, 1,"****\n" },	{ "You are in space.",	61, 48, 38, 52, 36, 1, 56, 1,"****\n" },	{ "You are in space.",	62, 55, 55, 55, 56, 1, 37, 1,"****\n" },	{ "You are in space.",	56, 56, 56, 56, 38, 1, 55, 1,"****\n" },	{ "You are in space.",	65, 39, 57, 57, 57, 1, 57, 1,"****\n" },	{ "You are in space.",	39, 50, 49, 42, 62, 1, 40, 1,"****\n" },	{ "You are in space.",	39, 51, 49, 43, 40, 1, 63, 1,"****\n" },	{ "You are in space.",	39, 53, 43, 59, 62, 1, 41, 1,"****\n" },	{ "You are in space.",	39, 54, 43, 59, 41, 1, 56, 1,"****\n" },	{ "You are in space.",	39, 55, 62, 62, 56, 1, 42, 1,"****\n" },	{ "You are in space.",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -