source.c File Reference

Type that allows various different origins for an effect. More...

#include "source.h"


struct source source_none (void)
struct source source_trap (struct trap *trap)
struct source source_monster (int who)
struct source source_player (void)
struct source source_object (struct object *object)
struct source source_chest_trap (struct chest_trap *chest_trap)

Detailed Description

Type that allows various different origins for an effect.

Copyright (c) 2016 Andi Sidwell

This work is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation, version 2, or

b) the "Angband licence": This software may be copied and distributed for educational, research, and not for profit purposes provided that this copyright and statement are included in all such copies. Other copyrights may also apply.

Function Documentation

◆ source_chest_trap()

struct source source_chest_trap ( struct chest_trap chest_trap)

◆ source_monster()

struct source source_monster ( int  who)

◆ source_none()

struct source source_none ( void  )

◆ source_object()

struct source source_object ( struct object object)

◆ source_player()

struct source source_player ( void  )

◆ source_trap()

struct source source_trap ( struct trap trap)