Skip to content

Add Home Cell and Theme keys to Basic Options window#232

Merged
Rampastring merged 4 commits into
CnCNet:masterfrom
JoyfulShush:additional-basic-elements
May 7, 2025
Merged

Add Home Cell and Theme keys to Basic Options window#232
Rampastring merged 4 commits into
CnCNet:masterfrom
JoyfulShush:additional-basic-elements

Conversation

@JoyfulShush
Copy link
Copy Markdown
Contributor

Adds two new keys to the Basic Options window:

  • Home Cell - used to specify which waypoint the mission starts the camera in. Number between 0-699.
  • Theme - used to specify which music theme, if any, the mission starts in. Can be added and removed at will.

image

Additionally, changes the text in the Place Waypoints from 0-99 to 0-699, as we now support 700 waypoints.

Comment thread src/TSMapEditor/Config/UI/Windows/PlaceWaypointWindow.ini Outdated
Comment thread src/TSMapEditor/Config/UI/Windows/BasicSectionConfigWindow.ini Outdated
Copy link
Copy Markdown
Member

@Rampastring Rampastring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good aside from defining btnApply as a field.

private XNACheckBox chkTiberiumDeathToVisceroid;
private XNACheckBox chkFreeRadar;
private XNACheckBox chkRequiredAddOn;
private EditorButton btnApply;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can see, there is no reason for us to define btnApply as a field as it is only used in Initialize, where it was previously fetched and used. It has no reason to exist elsewhere. Was there a reason why you added it here?

@Rampastring Rampastring merged commit 2ecb92a into CnCNet:master May 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants