Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Position independence] False positives in master.lib GRCG function c…
…alls Yup, function parameters that can clearly be identified as coordinates are by far the fastest way to raise the calculated position independence percentage. Kinda makes it sound like useless work, which I'm only doing because it's dictated by some counting algorithm on a website, but decompilation will want to un-hex all of these values anyway. We're merely doing that right now, across all games. Part of P0058, funded by -Tom-.
- Loading branch information
Showing
15 changed files
with
316 additions
and
592 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,5 @@ typedef enum { | |
OVERLAP_CLEAR = 1, | ||
OVERLAP_OR = 0 | ||
} sprite16_overlap_t; | ||
|
||
#define SPRITE16_RES_Y 200 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ SPRITE16_SET_MASK = 8 | |
|
||
OVERLAP_CLEAR = 1 | ||
OVERLAP_OR = 0 | ||
|
||
SPRITE16_RES_Y = 200 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#define PLAYFIELD_X (32) | ||
#define PLAYFIELD_Y (16) | ||
#define PLAYFIELD_W (384) | ||
#define PLAYFIELD_H (368) | ||
|
||
#define PLAYFIELD_LEFT (PLAYFIELD_X) | ||
#define PLAYFIELD_TOP (PLAYFIELD_Y) | ||
#define PLAYFIELD_RIGHT (PLAYFIELD_X + PLAYFIELD_W) | ||
#define PLAYFIELD_BOTTOM (PLAYFIELD_Y + PLAYFIELD_H) | ||
|
||
#define PLAYFIELD_VRAM_X (PLAYFIELD_X / 8) | ||
#define PLAYFIELD_VRAM_W (PLAYFIELD_W / 8) | ||
#define PLAYFIELD_VRAM_RIGHT (PLAYFIELD_RIGHT / 8) | ||
|
||
#define PLAYFIELD_TRAM_X (PLAYFIELD_X / 8) | ||
#define PLAYFIELD_TRAM_W (PLAYFIELD_W / 8) | ||
#define PLAYFIELD_TRAM_RIGHT (PLAYFIELD_RIGHT / 8) |
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
Oops, something went wrong.