Commit Graph

9 Commits

Author SHA1 Message Date
997aecf9f8 Prefix all getters with "get"
Rename bare-noun value accessors to start with "get", per the coding
guideline that a getter's name should begin with "get". Covers simple
nullary accessors across the simulation, balancing, and UI layers
(e.g. currentTick -> getCurrentTick, config -> getConfig,
buildings/belts/ships/scraps/admin, threatLevel, artifactCount,
tilePx, viewportRect, Hasher::value -> getValue, Formula::source ->
getSource).

Left untouched by design: boolean predicates (is*/has*/can*),
verb-named lookups/computations (find*/compute*/peek*/create*),
coordinate transforms, and existing set*-prefixed setters. Test-only
helpers and std/toml++ accessors (optional::value, parse_error::source)
were deliberately not renamed.

Builds clean; all 406 test cases (3222 assertions) pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-19 16:19:28 +02:00
9573b9789a change repair_tool application and add beams for salvager and repair_tool 2026-06-19 21:15:47 +02:00
5317f35198 switch to using own event system 2026-06-13 17:52:22 +02:00
49f7129bd5 schematic selection dialog 2026-06-13 14:19:51 +02:00
7e0104e9b8 fix config data paths 2026-04-29 21:32:32 +02:00
fb83db98ab rename blueprint to schematic 2026-04-26 21:00:55 +02:00
fff5d43352 make tests run again 2026-04-24 20:30:20 +02:00
498b97db20 implement waves 2026-04-20 14:10:01 +02:00
ffe69f08b5 implement simulation shell 2026-04-19 15:49:18 +02:00