Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature command queue after morph commands #257

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from

Commits on Sep 5, 2022

  1. Remove command priority system

    This was resulting in non-intuitive and surprising behaviour when queuing
    commands. Removing this system results in Megaglest behaving more like
    other RTS games.
    
    For instance, the following are now possible and weren't previously:
    - Queuing multiple attack ground commands to move along a specific path
    attacking all enemies on the way.
    - Queuing attack ground followed by hold position, which is a sensible
      thing to do if you want a unit to guard a specific area.
    - Queuing a move command followed by a produce command, if you want to
      have your summoner summon a daemon at a specific location.
    
    The behaviour of queuing the stop command is unchanged, and commands that
    must be the last in the queue, such as morphing, are still properly replaced when something
    else is queued.
    Banestorm authored and pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    35ff020 View commit details
    Browse the repository at this point in the history
  2. feat: allow queue after Morph commands

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    0b1dcc7 View commit details
    Browse the repository at this point in the history
  3. fix: checkCommand + TODO

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    37b6fbb View commit details
    Browse the repository at this point in the history
  4. fix: non-targed commands + TODO

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    d2d6910 View commit details
    Browse the repository at this point in the history
  5. feat: gui hotkey released

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    35f7558 View commit details
    Browse the repository at this point in the history
  6. refactor: correct tabs

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    c9c1adf View commit details
    Browse the repository at this point in the history
  7. fix: non-targed commands

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    22a2abd View commit details
    Browse the repository at this point in the history
  8. fix: add check,

     if(unitType != NULL && ct->getClass() == ccBuild)
    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    d2fbc3f View commit details
    Browse the repository at this point in the history
  9. fix: Morph Queue

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    3e58c7d View commit details
    Browse the repository at this point in the history
  10. feat: custom UnitType,

    for unit->computeCommandType
    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    60d8bf7 View commit details
    Browse the repository at this point in the history
  11. fix: auto command for morph queue

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    8bc5abb View commit details
    Browse the repository at this point in the history
  12. fix: add check

    pavanvo committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    8d141ca View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. fix: add param nextUnitTypeId

     to NetworkCommand class to prevent collision morph with build
    pavanvo committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    a1a93ae View commit details
    Browse the repository at this point in the history
  2. fix: switch nextUnitTypeId from unitTypeId

    pavanvo committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    e7cf0a0 View commit details
    Browse the repository at this point in the history
  3. fix: usabillity

    pavanvo committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    204bac4 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. fix: restoring a bit of priority system

    pavanvo committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    b270d83 View commit details
    Browse the repository at this point in the history
  2. fix: command priority system

    pavanvo committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    84e0e0a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. feat: disable stop command if queue-key presed

    pavanvo committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    d5ac512 View commit details
    Browse the repository at this point in the history