Custom Equip/Char Screen Image
v1.0.0 *** FOR ToME v1.3.1 ***
Okay, this was just a whimsy from just disliking having to choose between custom images looking good in the main game or looking good in the equip screen and character screen, but generally not both.
This is just a primitive override that allows using a slightly larger image in equipment and character screens. It might just be having a high res screen, but it felt like too dramatic
a difference there and just a normally squished feel with lots of empty space. Basically, instead of doubling a low-res image, it can take a higher res one. 128x256, 64x128 or 128x128 seems to
work well. I use 128x256.
Also adjusts the default layout and size to desquishify non-custom ones in the inventory as well. I think at some point they may have looked like this anyway, but back to filling the space fully.
To use:
When using a custom image, have a second one right by it with _large (Example: test.png and test_large.png). If so, it will be used when appropriate.
Tested only on 1.3.1 with resolutions from 800x600 to 2200xsomethingsomething, but odds are its pretty backwards compatible for some large range of versions back.
Also tested with Marson's UI mod. Worked fine with that too.
Superloads:
mod/dialog/charactersheet.lua
engine/Entity.lua
Engine/ui/equipdoll.lua