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 large CharSet support #1067

Merged
merged 1 commit into from
Oct 30, 2016
Merged

Add large CharSet support #1067

merged 1 commit into from
Oct 30, 2016

Conversation

fdelapena
Copy link
Contributor

This recovers large CharSet support removed since #137 fix,
allowing CharSet files starting with a dollar sign to be
calculated by 4x2 SpriteSets. This differs from VX Ace behavior.
The purpose of using large 4x2 spritesets instead individual
spritesets like VX Ace does is to keep reduced file access
on games wanting to use multiple large characters.
Also keeps code lesser complicated for this custom feature.

Test case to use with the PR:
largecharset.zip

@Ghabry
Copy link
Member

Ghabry commented Oct 30, 2016

Works for me and looks funny ;). More serious: This is a minimal change and conflicts with existing games are very unlikely. To break, the game must use a file with incorrect pixelsize and a $-prefix.

screenshot_0screenshot_1

@Ghabry
Copy link
Member

Ghabry commented Oct 30, 2016

As mentiomed in chat output.h is a useless include but is probably a problem in general in the codebase ;)

@carstene1ns
Copy link
Member

Yeah, I would have run include-what-you-use already to fix cases like this, but this tool is soo broken... 👎

This recovers large CharSet support removed since #137 fix,
allowing CharSet files starting with a dollar sign to be
calculated by 4x2 SpriteSets. This differs from VX Ace behavior.
The purpose of using large 4x2 spritesets instead individual
spritesets like VX Ace does is to keep reduced file access
on games wanting to use multiple large characters.
Also keeps code lesser complicated for this custom feature.
@Ghabry Ghabry merged commit 7586d67 into EasyRPG:master Oct 30, 2016
@fdelapena fdelapena deleted the large_charset branch October 31, 2016 16:18
Ghabry added a commit to libretro/easyrpg-libretro that referenced this pull request May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants