Skip to content

bugfix(gui): Checkboxes and slider blocks no longer draw offset or notched - #651

Closed
tintinhamans wants to merge 10 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/go/fix/checkbox-slider-art
Closed

tintinhamans wants to merge 10 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/go/fix/checkbox-slider-art

Conversation

@tintinhamans

@tintinhamans tintinhamans commented Oct 24, 2026 •

Copy link
Copy Markdown

Merge after #648.

Shell checkboxes draw about 1 source pixel up and left of their row, and filled slider blocks have a 2x2 transparent notch. This redefines the affected images in ZZ_GeneralsOnline_CheckboxSliderArt.INI with a fixed 16x16 GeneralsOnline_CheckboxSliderArt.tga.

Data only, shipped in GeneralsOnline_Core.big.

Tested at 2560x1440: checkbox offset -2.5 px to 0.0, notched slider blocks 91 of 91 to 0.

xezon added 7 commits October 24, 2026 23:10
…ile::getFileInfo(), StdBIGFile::getFileInfo() (TheSuperHackers#3415)

(cherry picked from commit b805c12)
…File (TheSuperHackers#3505)

Both classes are identical apart from their name and contain no platform specific code.
Nothing in them depends on the BIG format either: they open a file from an offset and a
size inside the archive file. ArchiveFile takes over their functions and is no longer an
abstract class.

(cherry picked from commit 52a777a)
…ystem into BIGFileSystem (TheSuperHackers#3505)

Both classes are identical apart from their name and go through the local file system
for all file access. The one class that remains sits next to ArchiveFileSystem in
Core/GameEngine.

(cherry picked from commit e4b4d1e)
…e loadBigFilesFromDirectory (TheSuperHackers#3505)

loadMods refers to BIG files, which nothing else in ArchiveFileSystem does. It becomes a
virtual function that BIGFileSystem implements. loadBigFilesFromDirectory is renamed to
loadArchiveFilesFromDirectory, because the base class is not tied to one archive format.

(cherry picked from commit f299561)
@tintinhamans
tintinhamans force-pushed the arctic/go/fix/checkbox-slider-art branch from 14451c9 to 9244531 Compare October 24, 2026 22:07
@tintinhamans

Copy link
Copy Markdown
Author

Folded into #655.

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.

2 participants