4 | SetDParam(0, STR_AI_CONFIG_GAMESCRIPT);
| 4 | StringID _param[] = { STR_AI_CONFIG_GAMESCRIPT, STR_AI_CONFIG_NONE, STR_AI_CONFIG_AI };
|
---|
5 | change_width = max(change_width, GetStringBoundingBox(change).width);
| 5 | for (int i = 0; i < 3; i++) {
|
---|
6 | SetDParam(0, STR_AI_CONFIG_NONE);
| 6 | SetDParam(0, _param[i]);
|
---|
7 | change_width = max(change_width, GetStringBoundingBox(change).width);
| 7 | change_width = max(change_width, GetStringBoundingBox(change).width);
|
---|
8 | SetDParam(0, STR_AI_CONFIG_AI);
| 8 | }
|
---|
9 | change_width = max(change_width, GetStringBoundingBox(change).width);
| | |
---|