shout_curse.c

final_realms_fluffos_v1/lib/std/curses/shout_curse.c · 386 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

#define NO_SHOUT "/std/curses/shadows/no_shout_sh"

void player_start(object target)
{
  object shad;
  if(target->noshout_on()) return;
  shad = clone_object(NO_SHOUT);
  shad->setup_noshout(target);
}

int prevent_remove(object target, object remover)
{
  if(!remover) return 0;
  return !remover->query_creator();
}

void player_quit(object target)
{
  target->destruct_noshout();
}

Site Stats

Snippets: 1791
Codebases: 571