beyond-all-reason / beyond-all-reason/RecoilEngine
Autohost interface: add "label" event
- Dominant language
- C++
- Stars
- 679
- Forks
- 290
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 40
Description
https://github.com/beyond-all-reason/spring/blob/BAR105/rts/Net/AutohostInterface.cpp
There is a "player chat" event (id 13), but it doesn't handle labels, which can also contain text and are often used like chat. The request is to add a "player added label with text" event.
Some remarks:
* my use case only cares about labels with text, but empty labels should probably produce an event as well (no reason not to).
* labels are a specific form of scribblings (line drawings) but I am not requesting scribblings to produce an event.
Contributor guide
Research direction
Start in rts/Net/AutohostInterface.cpp, linked from the issue, and inspect the existing player chat event with id 13 alongside label handling. Trace how labels are represented and emitted, then verify that text and empty labels produce a player-label event while scribblings do not. Done means the autohost interface exposes the requested label event consistently with the existing chat event.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100