mirror of https://github.com/OpenRCT2/OpenRCT2.git
Rename CHAT_INPUT_SIZE to kChatInputSize
This commit is contained in:
parent
c264ec1077
commit
140e17029d
|
@ -104,7 +104,7 @@ static Widget _windowServerStartWidgets[] = {
|
||||||
WindowStartTextbox(*this, widgetIndex, STR_STRING, _description, MAX_SERVER_DESCRIPTION_LENGTH);
|
WindowStartTextbox(*this, widgetIndex, STR_STRING, _description, MAX_SERVER_DESCRIPTION_LENGTH);
|
||||||
break;
|
break;
|
||||||
case WIDX_GREETING_INPUT:
|
case WIDX_GREETING_INPUT:
|
||||||
WindowStartTextbox(*this, widgetIndex, STR_STRING, _greeting, CHAT_INPUT_SIZE);
|
WindowStartTextbox(*this, widgetIndex, STR_STRING, _greeting, kChatInputSize);
|
||||||
break;
|
break;
|
||||||
case WIDX_PASSWORD_INPUT:
|
case WIDX_PASSWORD_INPUT:
|
||||||
WindowStartTextbox(*this, widgetIndex, STR_STRING, _password, 32);
|
WindowStartTextbox(*this, widgetIndex, STR_STRING, _password, 32);
|
||||||
|
@ -259,7 +259,7 @@ static Widget _windowServerStartWidgets[] = {
|
||||||
char _port[7];
|
char _port[7];
|
||||||
char _name[65];
|
char _name[65];
|
||||||
char _description[MAX_SERVER_DESCRIPTION_LENGTH];
|
char _description[MAX_SERVER_DESCRIPTION_LENGTH];
|
||||||
char _greeting[CHAT_INPUT_SIZE];
|
char _greeting[kChatInputSize];
|
||||||
char _password[33];
|
char _password[33];
|
||||||
static void ScenarioSelectCallback(const utf8* path)
|
static void ScenarioSelectCallback(const utf8* path)
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|
||||||
constexpr int8_t kChatHistorySize = 10;
|
constexpr int8_t kChatHistorySize = 10;
|
||||||
#define CHAT_INPUT_SIZE 1024
|
constexpr int16_t kChatInputSize = 1024;
|
||||||
#define CHAT_MAX_MESSAGE_LENGTH 200
|
#define CHAT_MAX_MESSAGE_LENGTH 200
|
||||||
#define CHAT_MAX_WINDOW_WIDTH 600
|
#define CHAT_MAX_WINDOW_WIDTH 600
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue