summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-12 11:21:28 +0000
committertruelight <truelight@openttd.org>2005-01-12 11:21:28 +0000
commita243285af4aa15923c5f2905a01a101603f72517 (patch)
tree23a6d3557feb58903656bb5447653052cda86af7 /ttd.c
parentff23795f5be95d273c2168d71cbc25fa7fff1c3e (diff)
downloadopenttd-a243285af4aa15923c5f2905a01a101603f72517.tar.xz
(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
dynamic arrays
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ttd.c b/ttd.c
index 24eb645fa..d90a66aec 100644
--- a/ttd.c
+++ b/ttd.c
@@ -26,6 +26,7 @@
#include "console.h"
#include "screenshot.h"
#include "network.h"
+#include "signs.h"
#include <stdarg.h>
@@ -44,7 +45,6 @@ void DeleteAllPlayerStations();
extern void SetDifficultyLevel(int mode, GameOptions *gm_opt);
extern void DoStartupNewPlayer(bool is_ai);
-extern void UpdateAllSignVirtCoords();
extern void ShowOSErrorBox(const char *buf);
void redsq_debug(int tile);
@@ -496,6 +496,8 @@ static void InitializeDynamicVariables(void)
_industries_size = lengthof(_industries);
_industry_sort = NULL;
+
+ _sign_size = lengthof(_sign_list);
}
static void UnInitializeDynamicVariables(void)
@@ -1263,7 +1265,7 @@ bool AfterLoadGame(uint version)
{
Window *w;
ViewPort *vp;
-
+
// in version 2.1 of the savegame, town owner was unified.
if (version <= 0x200) {
ConvertTownOwner();