strings.h
author bjarni
Tue, 02 Aug 2005 20:14:23 +0000
changeset 2273 95dd61d9ca47
parent 2202 2d6c235d53cc
child 2291 2b064aa97f91
permissions -rw-r--r--
(svn r2795) -Fix: [Clone vehilcle] all error messages should now tell the right vehicle type (chrishuebsch)
/* $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);
uint GetCurrentCurrencyRate(void);

#endif