mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Reimplement Bounding Box calculation using the software renderer.
This commit is contained in:
parent
b7aed97508
commit
2d4b7e3f3f
13 changed files with 602 additions and 672 deletions
|
@ -18,10 +18,10 @@ enum
|
|||
PE_ALPHAREAD = 0x08, // Alpha Read
|
||||
PE_CTRL_REGISTER = 0x0a, // Control
|
||||
PE_TOKEN_REG = 0x0e, // Token
|
||||
PE_BBOX_LEFT = 0x10, // Flip Left
|
||||
PE_BBOX_RIGHT = 0x12, // Flip Right
|
||||
PE_BBOX_TOP = 0x14, // Flip Top
|
||||
PE_BBOX_BOTTOM = 0x16, // Flip Bottom
|
||||
PE_BBOX_LEFT = 0x10, // Bounding Box Left Pixel
|
||||
PE_BBOX_RIGHT = 0x12, // Bounding Box Right Pixel
|
||||
PE_BBOX_TOP = 0x14, // Bounding Box Top Pixel
|
||||
PE_BBOX_BOTTOM = 0x16, // Bounding Box Bottom Pixel
|
||||
|
||||
// NOTE: Order not verified
|
||||
// These indicate the number of quads that are being used as input/output for each particular stage
|
||||
|
@ -63,8 +63,4 @@ void SetToken(const u16 _token, const int _bSetTokenAcknowledge);
|
|||
void SetFinish();
|
||||
UPEAlphaReadReg GetAlphaReadMode();
|
||||
|
||||
// Bounding box functionality. Paper Mario (both) are a couple of the few games that use it.
|
||||
extern u16 bbox[4];
|
||||
extern bool bbox_active;
|
||||
|
||||
} // end of namespace PixelEngine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue