mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-25 05:04:07 +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
@@ -28,7 +28,7 @@
|
||||
#include "road_internal.h" /* For drawing catenary/checking road removal */
|
||||
#include "autoslope.h"
|
||||
#include "water.h"
|
||||
#include "strings_internal.h"
|
||||
#include "strings_func.h"
|
||||
#include "clear_func.h"
|
||||
#include "timer/timer_game_calendar.h"
|
||||
#include "vehicle_func.h"
|
||||
|
||||
Reference in New Issue
Block a user