shadow.c

ds2.1.1/lib/lib/shadow.c · 352 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <dirs.h>

object shadowed;

int eventShadow(object ob){
    shadow(ob);
    shadowed = ob;
    return 1;
}

int wtf(){
    return 42;
}

mixed GetShadowed(){
    return shadow(shadowed,0);
}

string GetShadowedName(){
    return shadowed->GetName();
}

object GetShadowedObject(){
    return shadowed;
}



//void create(){};

Site Stats

Snippets: 1791
Codebases: 571