1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00
psyced/world/net/include/text.h

21 lines
360 B
C
Raw Normal View History

#ifndef _INCLUDE_TEXT_H
#define _INCLUDE_TEXT_H
#ifndef __PIKE__
#ifndef NO_INHERIT
virtual inherit NET_PATH "textc";
#endif
// #ifndef DEBUG
#if 1
# define T(mc, fmt) \
((objectp(_tob) && member(_tdb, mc)) ? _tdb[mc] : getText(mc, fmt))
#else
# define T(mc, fmt) \
S("\n<<< %O >>>\n%s", _tdb, getText(mc, fmt))
#endif
// #endif
#endif // __PIKE__
#endif