#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"
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 ADDINCONTAINER *(bp->con+bp->num-1) = |
#define BPCREALL { bp->num++; bp->con = (struct item*)realloc((void*)bp->con, bp->num*sizeof(struct item)); } |
void create_remains | ( | struct cell * | level, | |
int | class, | |||
int | id, | |||
int | idx | |||
) |
char give_general_symbol | ( | int | class | ) |