* Caching functions decide if we get random tile
We might not always want to.
* The caching functions don't need to return images
* Cache all frames of animated tiles
Also some error checking
* Update animations before drawing floors
* Fix missing frame
Animate from index 0 to 9
* Update refs
* Only render visible regions
This will need tweaking later to ensure there are no tiles popping in or
out of from regions coming in and out of view.
* Temp hack for act5 lava palette
* Don't call GetTile from the render functions.
Don't bother trying to render uncached tiles.
* Added back randomization code
* Update refs
* Fix random tiles selection.
No sorting the input, no selecting 0 probability tiles if there are
other options.
* Switch items to dynamic load with a common struct, add misc.txt loading
* Update Ebiten Reference
* Switch references to point to D2Shared
* Migrate part 2