backpack.c File Reference

#include <libintl.h>
#include <locale.h>
#include "backpack.h"
#include "item.h"
#include "cell.h"
#include "player.h"
#include "main.h"
#include "npc.h"
#include <stdlib.h>
#include "genmacro.h"
Include dependency graph for backpack.c:
This graph shows which files directly or indirectly include this file:

Defines

#define BPCREALL   { bp->num++; bp->con = (struct item*)realloc((void*)bp->con, bp->num*sizeof(struct item)); }
#define ADDINCONTAINER   *(bp->con+bp->num-1) =

Functions

char give_general_symbol (int class)
void create_remains (struct cell *level, int class, int id, int idx)
void put_item_on_floor (struct cell *c, struct item itm)

Define Documentation

#define ADDINCONTAINER   *(bp->con+bp->num-1) =
#define BPCREALL   { bp->num++; bp->con = (struct item*)realloc((void*)bp->con, bp->num*sizeof(struct item)); }

Function Documentation

void create_remains ( struct cell level,
int  class,
int  id,
int  idx 
)

Here is the call graph for this function:

char give_general_symbol ( int  class  ) 
void put_item_on_floor ( struct cell c,
struct item  itm 
)

Here is the call graph for this function:

Generated on Mon Nov 15 10:26:42 2010 for Tales of Paraverse by  doxygen 1.6.3