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

Allow escaping of texture names when passed as an argument to a modifier #4499

Closed
wants to merge 2 commits into from

Conversation

sfan5
Copy link
Member

@sfan5 sfan5 commented Sep 3, 2016

As requested by @t4im 😃

out.reserve(str.size());
while (1) {
cpos = str.find_first_of(esc, pos);
if(cpos == std::string::npos) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space

@est31
Copy link
Contributor

est31 commented Sep 5, 2016

👍

@paramat
Copy link
Contributor

paramat commented Sep 5, 2016

Seems useful so i approve of the feature. I won't code review as you have the necessary approval and i'm not too good with this type of code (and i'm busy with other dev).

@t4im
Copy link
Contributor

t4im commented Sep 6, 2016

Just to show some examples, what this enables.

Automatically generated group inventory images (which is, why this came up):
group_dye
group_tree

Isometric inventory images:
isoart

These being texturepack aware and independent of texturepack resolution.

[please squash when merging]
@paramat
Copy link
Contributor

paramat commented Sep 14, 2016

b77cee1

@paramat paramat closed this Sep 14, 2016
@sfan5 sfan5 deleted the texescape branch September 17, 2016 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants