something icon indicating copy to clipboard operation
something copied to clipboard

move tiles srcrect dimention to config.vars

Open rexim opened this issue 5 years ago • 1 comments

introduced in #117

That may require add a new type to the config file.

Might be a good opportunity to simplify adding new types to the system.

rexim avatar Jun 28 '20 09:06 rexim

Currently srcrect dimention is defined like this: https://github.com/tsoding/something/blob/17f33281e1f074df8743d507219477721e1d05de/src/something_item.cpp#L44 And you would like it to be defined something like this? https://github.com/tsoding/something/blob/17f33281e1f074df8743d507219477721e1d05de/assets/config.vars#L83-L86

ITEM_HEALTH_TEXTURE_SRCRECT : rect = {0, 0, 64, 64}

kolumb avatar Aug 16 '20 16:08 kolumb