strings.h
author Darkvater
Sat, 11 Nov 2006 09:47:44 +0000
changeset 5071 e28106dfcb6f
parent 4912 0f51b47cb983
child 5108 aeaef6fe53b7
permissions -rw-r--r--
(svn r7129) -Codechange: Get rid of a global variable that only sets a window's number.
/* $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, const char* last);

extern char _userstring[128];

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

#endif /* STRINGS_H */