Files
@ r5352:64720e7993a1
Branch filter:
Location: cpp/openttd-patchpack/source/newgrf_text.h - annotation
r5352:64720e7993a1
540 B
text/x-c
(svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3601:85f189a0e58b r3821:e56e6e9edcad r3601:85f189a0e58b r4912:d420151de4c6 r3601:85f189a0e58b r3601:85f189a0e58b r5228:68969c6ab65b r3601:85f189a0e58b r3601:85f189a0e58b | /* $Id$ */
#ifndef NEWGRF_TEXT_H
#define NEWGRF_TEXT_H
/** @file
* Header of Action 04 "universal holder" structure and functions
*/
StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string);
StringID GetGRFStringID(uint32 grfid, uint16 stringid);
char *GetGRFString(char *buff, uint16 stringid, const char* last);
void CleanUpStrings(void);
void SetCurrentGrfLangID(const char *iso_name);
char *TranslateTTDPatchCodes(const char *str);
#endif /* NEWGRF_TEXT_H */
|