strings.h
author tron
Sat, 10 Sep 2005 15:52:19 +0000
changeset 2411 8c239fc63cf7
parent 2291 c142846954ee
child 2436 7d5df545bd5d
permissions -rw-r--r--
(svn r2937) Add sprites for {, |, } and ~
/* $Id$ */

#ifndef STRINGS_H
#define STRINGS_H

static inline char* InlineString(char* buf, uint16 string)
{
	*buf++ = '\x81';
	*buf++ = string & 0xFF;
	*buf++ = string >> 8;
	return buf;
}

char *GetString(char *buffr, uint16 string);
char *GetStringWithArgs(char *buffr, uint string, const int32 *argv);

extern char _userstring[128];

void InjectDParam(int amount);
int32 GetParamInt32(void);

#endif