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

Add synced `Spring.IsPaused`

Open
#800 0 comments 0 reactions 0 assignees View on GitHub
area: Lua API enhancement good first issue
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

Pause state seems to be synced, but its getter is tied to `Spring.GetGameSpeed`, which is unsynced because of gamespeed. The request is to add `Spring.IsPaused() -> bool` which would be synced. Perhaps gamespeed could also be made synced, in which case there wouldn't need to be a split, but that is not in the scope of this request.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing Spring.GetGameSpeed getter and the pause-state handling it relies on. Add the requested synced Spring.IsPaused() -> bool entry point without expanding the scope to syncing gamespeed; done means callers can obtain pause state through the new synced API.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.