|
@@ -5,17 +5,18 @@
|
|
|
* This file implements a linked-lists of townname generators,
|
|
|
* holding everything that the newgrf action 0F will send over to OpenTTD.
|
|
|
*/
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "table/strings.h"
|
|
|
#include "newgrf_townname.h"
|
|
|
#include "core/alloc_func.hpp"
|
|
|
#include "string_func.h"
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
|
|
|
static GRFTownName *_grf_townnames = NULL;
|
|
|
|
|
|
GRFTownName *GetGRFTownName(uint32 grfid)
|
|
|
{
|
|
|
GRFTownName *t = _grf_townnames;
|
|
|
for (; t != NULL; t = t->next) {
|