beyond-all-reason / beyond-all-reason/RecoilEngine

Check AI interfaces for UnitDestroyed change

Open
#1,718 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

refactor
Dominant language
C++
Stars
683
Forks
293
Avg merge
3d 2h
Merged PRs (30d)
40

Description

See my unaddressed comment at https://github.com/beyond-all-reason/spring/pull/1669#discussion_r1739747047

  • if existing AIs (Circuit/Barbarian, etc) use the event, then won't they fail to build due to different function signature?
  • if they build correctly then was the correct function even modified?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the UnitDestroyed change discussed in pull request 1669 and inspect the existing AI interfaces, including Circuit and Barbarian, that use this event. Build those interfaces and compare their function signatures with the modified declaration; done means all affected AIs build correctly and the intended signature change is confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.