From 3af27931faebab374c9cd736f4ceb5d1faa587f2 Mon Sep 17 00:00:00 2001 From: XxXAdvisaryXxX Date: Thu, 9 Apr 2026 12:47:50 -0700 Subject: [PATCH 1/3] Add BRAZIL to EWorldLocation enumeration --- utils/worldfetcher.simba | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/worldfetcher.simba b/utils/worldfetcher.simba index a2894f9a..42a36d97 100644 --- a/utils/worldfetcher.simba +++ b/utils/worldfetcher.simba @@ -73,7 +73,7 @@ EWorldLocation = enum(GERMANY, UNITED_KINGDOM, UNITED_STATES, AUSTRALIA); ``` An enumeration representing the geographical location of world servers. *) - EWorldLocation = enum(GERMANY, UNITED_KINGDOM, UNITED_STATES, AUSTRALIA); + EWorldLocation = enum(GERMANY, UNITED_KINGDOM, UNITED_STATES, AUSTRALIA ,BRAZIL); (* ## type EWorldSort @@ -181,6 +181,7 @@ begin 'UNITED KINGDOM': Result := EWorldLocation.UNITED_KINGDOM; 'UNITED STATES': Result := EWorldLocation.UNITED_STATES; 'AUSTRALIA': Result := EWorldLocation.AUSTRALIA; + 'BRAZIL' : Result := EWorldLocation.BRAZIL; else begin Result := EWorldLocation(Random(0, Ord(High(EWorldLocation)))); From 5761b5c13401567b082bd4b24e4fd33ecaa6627a Mon Sep 17 00:00:00 2001 From: XxXAdvisaryXxX Date: Thu, 9 Apr 2026 13:07:10 -0700 Subject: [PATCH 2/3] Add BRAZIL to EWorldLocation enumeration --- utils/worldfetcher.simba | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/worldfetcher.simba b/utils/worldfetcher.simba index 42a36d97..de233a9a 100644 --- a/utils/worldfetcher.simba +++ b/utils/worldfetcher.simba @@ -69,11 +69,11 @@ An enumeration representing world activity categories. (* ## type EWorldLocation ```pascal -EWorldLocation = enum(GERMANY, UNITED_KINGDOM, UNITED_STATES, AUSTRALIA); +EWorldLocation = enum(GERMANY, UNITED_KINGDOM, UNITED_STATES, AUSTRALIA, BRAZIL); ``` An enumeration representing the geographical location of world servers. *) - EWorldLocation = enum(GERMANY, UNITED_KINGDOM, UNITED_STATES, AUSTRALIA ,BRAZIL); + EWorldLocation = enum(GERMANY, UNITED_KINGDOM, UNITED_STATES, AUSTRALIA, BRAZIL); (* ## type EWorldSort @@ -181,7 +181,7 @@ begin 'UNITED KINGDOM': Result := EWorldLocation.UNITED_KINGDOM; 'UNITED STATES': Result := EWorldLocation.UNITED_STATES; 'AUSTRALIA': Result := EWorldLocation.AUSTRALIA; - 'BRAZIL' : Result := EWorldLocation.BRAZIL; + 'BRAZIL': Result := EWorldLocation.BRAZIL; else begin Result := EWorldLocation(Random(0, Ord(High(EWorldLocation)))); From 8b522205727da3f7a2129e21d61be8d27e12600d Mon Sep 17 00:00:00 2001 From: Torwent Date: Fri, 10 Apr 2026 22:25:46 +0200 Subject: [PATCH 3/3] Update profile_form.simba --- utils/forms/profile_form.simba | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/forms/profile_form.simba b/utils/forms/profile_form.simba index eb3d9d6c..55f2e455 100644 --- a/utils/forms/profile_form.simba +++ b/utils/forms/profile_form.simba @@ -560,9 +560,9 @@ Converts a world location enum to its display string. *) function TProfileForm.GetLocationString(loc: EWorldLocation): String; const - LOCATION_NAMES: array [EWorldLocation] of String = ['Germany', 'UK', 'USA', 'Australia']; + NAMES: TStringArray = ['Germany', 'UK', 'USA', 'Australia']; begin - Result := LOCATION_NAMES[loc]; + Result := NAMES[loc]; end; (* @@ -574,9 +574,9 @@ Converts a world type enum to its display string. *) function TProfileForm.GetTypeString(worldType: EWorldType): String; const - TYPE_NAMES: array [EWorldType] of String = ['F2P', 'Members']; + NAMES: TStringArray = ['F2P', 'Members']; begin - Result := TYPE_NAMES[worldType]; + Result := NAMES[worldType]; end;