#include <cstdio>
#include "objs.h"
#include "game.h"
#include "items.h"
#include "gamewin.h"
#include "actors.h"
Include dependency graph for objnames.cc:
Go to the source code of this file.
Namespaces | |
namespace | std |
Functions | |
int | snprintf (char *, size_t, const char *,...) |
static void | get_singular_name (const char *name, string &output_name) |
static void | get_plural_name (const char *name, int quantity, string &output_name) |
static void get_plural_name | ( | const char * | name, | |
int | quantity, | |||
string & | output_name | |||
) | [static] |
Definition at line 102 of file objnames.cc.
References snprintf.
Referenced by Game_object::get_name().
static void get_singular_name | ( | const char * | name, | |
string & | output_name | |||
) | [static] |
int snprintf | ( | char * | , | |
size_t | , | |||
const char * | , | |||
... | ||||
) |