Skip to content

Texture loading fixes#170

Merged
encounter merged 14 commits into
encounter:mainfrom
PJB3005:26-05-10-texture-replacement-png
May 13, 2026
Merged

Texture loading fixes#170
encounter merged 14 commits into
encounter:mainfrom
PJB3005:26-05-10-texture-replacement-png

Conversation

@PJB3005
Copy link
Copy Markdown
Contributor

@PJB3005 PJB3005 commented May 10, 2026

Fixes #119

For arb textures it's just making sure the file parsing can handle them. Idk if we need to do something special for it.

Note I did not, at all, attempt to fix the build to locate zlib correctly. I have no idea how to, and if it were up to me I'd just say throw everything out use vcpkg.

Fixes encounter#119

For arb textures it's just making sure the file parsing can handle them. Idk if we need to do something special for it.
Comment thread lib/gfx/png_io.cpp Outdated
Comment thread extern/CMakeLists.txt Outdated
PJB3005 added 4 commits May 11, 2026 21:39
Some of Henriko's textures (like the cuttable grass) rely on this.

The mipmap bool is no longer part of the runtime key.
Might as well? Helped me debug some stuff
@PJB3005 PJB3005 changed the title Implement PNG & arb texture replacements Texture loading fixes May 11, 2026
@PJB3005
Copy link
Copy Markdown
Contributor Author

PJB3005 commented May 11, 2026

Well this works now. We still need to figure out how to make the build work though.

@encounter encounter merged commit f7f3d52 into encounter:main May 13, 2026
6 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.

Texture replacement needs PNG support

2 participants