Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hack to load sprites from TGA #11

Merged
merged 1 commit into from
Jun 7, 2018
Merged

Add hack to load sprites from TGA #11

merged 1 commit into from
Jun 7, 2018

Conversation

JayFoxRox
Copy link
Owner

@JayFoxRox JayFoxRox commented May 28, 2018

This is pretty broken:

  • The game uses the texture size to calculate texture coordinates or something = I found no way of raising the resolution without changing sprite sizes.
  • There's probably a rather low limit on the number of TGA based sprites, so not all sprites can be replaced.
  • I'm not sure if the TGA sprites get free'd correctly, as there might be a different free() function involved for them.

So in order to make this any useful, more work has to be done (which can be in a follow-up PR).

@JayFoxRox JayFoxRox merged commit 1e673f1 into master Jun 7, 2018
@JayFoxRox JayFoxRox deleted the tga-sprites branch June 7, 2018 17:21
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.

None yet

1 participant