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

Merge for wine addon #1

Merged
merged 12 commits into from
Aug 4, 2024
Merged

Merge for wine addon #1

merged 12 commits into from
Aug 4, 2024

Commits on Aug 1, 2024

  1. Refactor nofFarmhand work start handling

    Translate comments and improve naming and comments
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e49168f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7c20d0 View commit details
    Browse the repository at this point in the history
  3. Remove IsPointAvailable from nofFarmhand

    Only used in one place and includes costly PointQuality calculation
    which needs to happen twice due to this.
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    2b185e1 View commit details
    Browse the repository at this point in the history
  4. Add GetPointQuality with isBeforeWork

    Easier handling for derived classes that need to check for available
    wares.
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    9278469 View commit details
    Browse the repository at this point in the history
  5. Refactor BurnedWarehous leave handling

    Translate comments and use `static_vector` instead of array and size
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    fc214fb View commit details
    Browse the repository at this point in the history
  6. Fix direction handling in BurnedWarehouse

    The startDirection was added to a valid direction which may result in an
    invalid direction.
    Use a random index instead.
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    b7191ff View commit details
    Browse the repository at this point in the history
  7. Optimize for few people in burned warehouse

    Skip loop iteration if there are no people of a job.
    This also avoids asyncs when adding/removing jobs and improves speed by
    not calling RANDOM_RAND in that case.
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4c70585 View commit details
    Browse the repository at this point in the history
  8. Revert "Fix replay"

    This reverts commit b30e4ec.
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e5de134 View commit details
    Browse the repository at this point in the history
  9. Update test replays

    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    96693e2 View commit details
    Browse the repository at this point in the history
  10. Check that replay is not newer than supported

    We only provide backwards compatibility. So we need to reject any newer
    version to avoid corrupting memory due to unexpected changes.
    Flamefire committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    67d57c9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    829673c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    532f147 View commit details
    Browse the repository at this point in the history