(svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
each STR_ entry. This avoids the need for a cast to StringID in some places and thus better type-safety.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include "stdafx.h"
|
||||
#define VARDEF
|
||||
#include "string.h"
|
||||
#include "table/strings.h"
|
||||
#include "debug.h"
|
||||
#include "driver.h"
|
||||
#include "saveload.h"
|
||||
@@ -15,6 +14,7 @@
|
||||
#include "helpers.hpp"
|
||||
|
||||
#include "openttd.h"
|
||||
#include "table/strings.h"
|
||||
#include "strings.h"
|
||||
#include "bridge_map.h"
|
||||
#include "functions.h"
|
||||
|
Reference in New Issue
Block a user