strings.h
author tron
Fri, 09 Sep 2005 07:08:27 +0000
changeset 2401 7e90848c440d
parent 2291 c142846954ee
child 2436 7d5df545bd5d
permissions -rw-r--r--
(svn r2927) Fix/remove stale information, line breaks, inform FreeBSD users about the required ports
/* $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