summaryrefslogtreecommitdiff
path: root/strings.h
blob: 2114a1062dae8cb922045db787692a232f592721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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);
void InjectDParam(int amount);
int32 GetParamInt32(void);
uint GetCurrentCurrencyRate(void);

#endif