View Issue Details

IDProjectCategoryLast Update
0027741Heart Of The MachineGUIMay 1, 2023 2:31 pm
ReporterChris_McElligottPark Assigned ToDraco18s  
Status resolvedResolutionfixed 
Summary0027741: Todo: the control group buttons on the dispatch screen.
DescriptionIn the codebase: "todo dispatch memory"
TagsNo tags attached.

Activities

Chris_McElligottPark

Apr 26, 2023 7:41 pm

administrator   ~0067592

Basically, we have buttons with the number 1-10 on them. These correspond to SavedUnits entries in DispatchStoredData. These are like control groups in RTS games.

Right now the buttons just sit there and have a tooltip that says coming soon. They do show their number, but that's about it. So, todo items:

1. If no entry is there in SavedUnits for the entry in question, then have the number show with gray text instead of white.

2. If we click (any click) any empty slot when we have some units selected (entries in DispatchLogic.UnitsToSend -- and that means that one of the entries is actually above 0, not that there are entries -- there may be some entries, all of which are 0), then we should save a copy of the numbers from UnitsToSend into the proper array index of SavedUnits .

3. If a slot is filled, then left-clicking should copy from SavedUnits to UnitsToSend and then call DispatchLogic.RecalculateUnitData().

4. If a slot is filled, then right-clicking when we have some units selected should overwrite the existing SavedUnits with the current UnitsToSend. There should be a modal popup yes/no making sure they are sure.

5. The tooltips should explain how to use this, as appropriate, if the slot is empty or filled. So one set of instructions for empty, one set for filled.

Draco18s

May 1, 2023 2:31 pm

manager   ~0067644

Updated for next build

Issue History

Date Modified Username Field Change
Apr 24, 2023 7:19 pm Chris_McElligottPark New Issue
Apr 26, 2023 7:36 pm Chris_McElligottPark Assigned To => Draco18s
Apr 26, 2023 7:36 pm Chris_McElligottPark Status new => assigned
Apr 26, 2023 7:41 pm Chris_McElligottPark Note Added: 0067592
May 1, 2023 2:31 pm Draco18s Status assigned => resolved
May 1, 2023 2:31 pm Draco18s Resolution open => fixed
May 1, 2023 2:31 pm Draco18s Note Added: 0067644