Opened 3 years ago

Last modified 3 years ago

#6104 new enhancement

Allow to reorder a production queue.

Reported by: Freagarach Owned by:
Priority: If Time Permits Milestone: Backlog
Component: UI & Simulation Keywords:
Cc: Patch:

Description

It would be nice to e.g. drag and drop items. Use case(s):

  • Started producing a batch of slaves but need soldiers now, add soldiers to the front of the queue, whilst keeping the progress of the slaves.
  • Started a lengthy upgrade, but we need a different one pronto, shift one from the middle of the queue to the front.

Change History (4)

comment:1 by Freagarach, 3 years ago

In 25064:

Clean up SpawnUnits in ProductionQueue.

Have an entity cache per item (refs. #6104) (which means it doesn't need to be created at init; refs. #5979).
Cache the PQ-position instead of querying it for every spawned entity.
One could use any arbitrary player for spawning entities now, increasing mod support.

Differential revision: D3669
Comment by: @wraitii

comment:2 by Freagarach, 3 years ago

severity: medium

(I'm working on pushing an item to the front when using the corresponding hotkey when queuing.)

comment:3 by Freagarach, 3 years ago

Phab:D4241 for allowing to push an item to the front of the queue.

comment:4 by Freagarach, 3 years ago

In 25958:

Allow to push items to the front of the ProductionQueue.

Refs. #6104
Differential revision: https://code.wildfiregames.com/D4241
Comments by: @bb, @Langbart, @Stan

Note: See TracTickets for help on using tickets.