mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 10:22:39 +01:00
Codechange: Use std::array as simple string parameter container.
ArrayStringParameters contains extra state that is used when formatting strings which isn't needed when creating parameter lists. MakeParameters() now returns a std::array which contains only the parameter data. This simpler container is more widely available than before.
This commit is contained in:
committed by
Peter Nelson
parent
fb70a7fe7e
commit
be00fd4447
@@ -25,7 +25,7 @@
|
||||
#include "newgrf_industrytiles.h"
|
||||
#include "autoslope.h"
|
||||
#include "water.h"
|
||||
#include "strings_internal.h"
|
||||
#include "strings_func.h"
|
||||
#include "window_func.h"
|
||||
#include "vehicle_func.h"
|
||||
#include "sound_func.h"
|
||||
|
||||
Reference in New Issue
Block a user