Files
@ r7252:82731da63b3f
Branch filter:
Location: cpp/openttd-patchpack/source/src/strings.h - annotation
r7252:82731da63b3f
416 B
text/x-c
(svn r10555) -Codechange/Fix: add a soft limit of 4096 "entities" in a station's waiting queue and a hard limit of 32768 so (malicious) people cannot cause a "denial of service" attack by filling cargo lists.
r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6420:01087f989fd1 r6420:01087f989fd1 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6247:96e840dbefcc r5475:3f5cd13d1b63 r6320:13e912591069 r6320:13e912591069 r6320:13e912591069 r6793:8878760b0aca r6793:8878760b0aca r5475:3f5cd13d1b63 | /* $Id$ */
/** @file strings.h */
#ifndef STRINGS_H
#define STRINGS_H
char *InlineString(char *buf, uint16 string);
char *GetString(char *buffr, uint16 string, const char* last);
extern char _userstring[128];
void InjectDParam(int amount);
int32 GetParamInt32();
bool ReadLanguagePack(int index);
void InitializeLanguagePacks();
int CDECL StringIDSorter(const void *a, const void *b);
#endif /* STRINGS_H */
|