Skip to content

Issue #6 Piece movement animation & #9 menu persistence - #13

Merged
dderevjanik merged 3 commits into
OpenCol:mainfrom
rossdrew:fix/popup-control-indexing
Oct 31, 2026
Merged

dderevjanik merged 3 commits into
OpenCol:mainfrom
rossdrew:fix/popup-control-indexing

Conversation

@rossdrew

@rossdrew rossdrew commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Pieces appear to move too fast on modern, higher processing machines.

Fixes #6
Fixes #9

…n modern higher processing machines

- Also the cofiguration of 'fast slide' in the game menu wasn't persisting
@rossdrew rossdrew changed the title #6 Pieces no longer move too fast across the map #6 Piece movement animation & menu persistence Oct 29, 2026
@rossdrew rossdrew changed the title #6 Piece movement animation & menu persistence Issue #6 Piece movement animation & menu persistence Oct 29, 2026
@rossdrew rossdrew changed the title Issue #6 Piece movement animation & menu persistence Issue #6 Piece movement animation & #9 menu persistence Oct 29, 2026
@dderevjanik

Copy link
Copy Markdown
Contributor

Thanks, @rossdrew! The void * control arrays were the real cause of #9: in C, &popup->checks[i] moved i bytes, not i checkboxes, so every checkbox after the first read garbage.

I pushed one small commit on top: tools/gen_headers.py now declares port_slide_step in include/gen/colonization.h (the gate's include/gen current check failed without it), so the local extern in MapWin_SlideIcon.c is gone. For next time, run python3 tools/gen_headers.py after adding a new function, or python3 tools/gate.py, which runs that check.

Verified locally: it builds, the import and header checks pass, AUTO01 is 121 of 121 checkpoints in lockstep, and the map, colony and about sessions pass. Merging.

@dderevjanik
dderevjanik merged commit cffd056 into OpenCol:main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom House check boxes will not allow deslecting resources. Unit's move too quickly

2 participants