church.c-Dateireferenz

#include <properties.h>
Include-Abhängigkeitsdiagramm für church.c:

gehe zum Quellcode dieser Datei

Funktionen

 create ()
 open ()
 pray ()

Variablen

inherit std room

Dokumentation der Funktionen

create (  ) 

Definiert in Zeile 5 der Datei church.c.

Benutzt AddCmd(), AddDetail(), create(), P_INT_LONG, P_INT_SHORT, P_LIGHT und SetProp().

00006 {
00007   ::create();
00008   SetProp(P_LIGHT,1);
00009   SetProp(P_INT_SHORT,"Village church");
00010   SetProp(P_INT_LONG,
00011    "You are in the local village church.\nThere is a huge pit in the center,\n" +
00012                  "and a door in the west wall. There is a button beside the door.\n"+
00013    "This church has the service of reviving ghosts. Dead people come\n"+
00014    "to the church and pray.\n"+
00015    "There is a clock on the wall.\n"+
00016    "There is an exit to south.\n");
00017   AddDetail("pit","In the middle of the church is a deep pit.\n"+
00018         "It was used for sacrifice in the old times, but nowadays\n" +
00019         "it is only left for tourists to look at.\n");
00020   AddDetail(({"elevator","door","button"}),
00021             "The elevator doesn't work any more. It must be a relict from another time,\n"+
00022             "a long-gone time, as this whole building.\n");
00023   AddDetail("clock","The clock shows this game hasn't been rebooted for centuries. Time is\n"+
00024                     "standing still in this strange room.\n");
00025   AddCmd("pray","pray");
00026   AddCmd("open","open");
00027   AddCmd("push","open");
00028 }

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

open (  ) 

Definiert in Zeile 30 der Datei church.c.

Benutzt notify_fail().

00031 {
00032   notify_fail("The elevetor doesn't work anymore, sorry.\n");
00033   return 0;
00034 }

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

pray (  ) 

Definiert in Zeile 36 der Datei church.c.

00037 {
00038   write("The gods this church was built for have died an extremly long time ago.\n");
00039   return 1;
00040 }


Variablen-Dokumentation

inherit std room

Definiert in Zeile 1 der Datei church.c.

Erzeugt am Thu Jun 3 14:41:01 2010 für MorgenGrauen Mudlib von  doxygen 1.6.3