mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
reorder manually-constructed ranking data
This commit is contained in:
parent
b133f925e6
commit
8954d28dc4
@ -32,7 +32,7 @@ typedef struct PlanetStats {
|
||||
|
||||
#define PLANET_STATS(hitCount, planetId, peppyAlive, falcoAlive, slippyAlive) \
|
||||
(hitCount > 255 ? hitCount - 256 : hitCount), \
|
||||
((planetId << 4) | ((hitCount > 255 ? 1 : 0) << 3) | (peppyAlive << 2) | (falcoAlive << 1) | (slippyAlive))
|
||||
((planetId) | ((hitCount > 255 ? 1 : 0) << 4) | (peppyAlive << 5) | (falcoAlive << 6) | (slippyAlive << 7))
|
||||
|
||||
typedef struct SaveData {
|
||||
/* 0x00 */ PlanetData planet[16];
|
||||
|
Loading…
Reference in New Issue
Block a user