compile.c

tmi2_fluffos_v2/lib/std/virtual/compile.c · 334 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

/* support for virtual object servers -- Truilkan@TMI 92/05 */

int query_prevent_shadow()
{
   return 1;
}

object compile_object(string s)
{
   object obj;
   string *tmp;

   seteuid(getuid(this_object()));
   obj = new(file_name(this_object()));
   tmp = explode(s,"/");
   obj->initialize(tmp[sizeof(tmp) - 1]);
   return obj;
}

Site Stats

Snippets: 1791
Codebases: 571