2003scape / rsc-c

🍫 runescape classic client ported to C
GNU Affero General Public License v3.0
74 stars 16 forks source link

dynamically create texture atlases #50

Open misterhat opened 10 months ago

misterhat commented 10 months ago

instead of using https://github.com/2003scape/rsc-c/blob/master/texture-pack/texture-pack.js to create atlases ahead of time, utilize https://github.com/vonhoff/maxrect-c (which uses a ported implementation of the JS packer) and the sprites within the jag cache files to populate atlases on game load. we already create textures dynamically since sleep words, minimap and login scene sprites all require that behaviour.

alarixnia commented 3 weeks ago

high priority for sundae