objnames.cc File Reference

#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)


Function Documentation

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]

Definition at line 57 of file objnames.cc.

Referenced by Game_object::get_name().

int snprintf ( char *  ,
size_t  ,
const char *  ,
  ... 
)


Generated on Mon Jul 9 14:45:21 2007 for ExultEngine by  doxygen 1.5.1