Talk:Plan for raising sprite frame limits

From OHRRPGCE-Wiki

Jump to: navigation, search

Bob the Hamster: I had originally thought that a total overhaul of sprite storage lumps would be mandatory before we could increase sprite frame limits, but now that upgrade() works in both game and custom, we can increase the sprite frame limits in the same way we increase the size of other binary records, using new entries in BINSIZE.BIN and a bit in FIXBITS.BIN to trigger any initialization of the new frames. A clean-up of the sprite format would still be desirable, but it is a goal that we can pursue separately from the plan for raising sprite frame limits

Raekuul: If we clean up the code first, wouldn't adding new frames be easier? And would a blank frame default to the walk frame, or would there be an option to mimic old behavior?

Bob the Hamster: Code cleanup is always a good thing, but changing a storage format requires careful thought to avoid painful backwards compatibility problems. I'm not sure yet how we will handle blank new frames, but yes, supporting the old behavior is essential.

Personal tools