forked from Spireblight/STR-Spire-Mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change deck message format, add support for bottled relics, card prev…
…iew on other cards, optimize format - now the deck is represented as a list of indexes, and then each unique card is sent in a separate array - this allows for easy handling of card.cardsOnPreview even when it differs for unupgraded and upgraded versions - the exports now include information on whether a card is bottled - the order of properties in the card format has been changed in such a way to maximize the likelihood of having long substrings that are the same in many cards. Basically this specific order should result in shorter compressed messages than most other orders, based on prior probabilities of given values and also their relationships.
- Loading branch information
Showing
1 changed file
with
144 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters