Angband
Functions
source.c File Reference

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

#include "source.h"

Functions

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)
 

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

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