mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
More various labellings (#446)
* bumble * rumble done basically * printf is looking better now too * racer stuff * model offsets * two wave things * obj id * fix object ids * randomly remembered to fix alignment on these * fix ids part 2 * format * fix warning * identify baseline table * boss race IDs * lots of hud * last of the current feasible hud stuff * Update README.md * this name * neat * I randomly remembered why this exists * anti tamper define * object elevation * ai nodes * particle emitters * objects * spectate cams * gost * michael bay * door * okay thats enough * gost * fix build errors * format * Update include/level_object_entries.h Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com> * Update src/objects.c Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com> --------- Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
This commit is contained in:
@@ -973,11 +973,13 @@ void func_8006807C(Gfx **dlist, MatrixS **mtx) {
|
||||
*/
|
||||
void viewport_rsp_set(Gfx **dlist, s32 width, s32 height, s32 posX, s32 posY) {
|
||||
s32 tempWidth = (get_filtered_cheats() & CHEAT_MIRRORED_TRACKS) ? -width : width;
|
||||
#ifdef ANTI_TAMPER
|
||||
// Antipiracy measure. Flips the screen upside down.
|
||||
if (gAntiPiracyViewport) {
|
||||
height = -height;
|
||||
tempWidth = -width;
|
||||
}
|
||||
#endif
|
||||
if (!(gScreenViewports[gActiveCameraID].flags & VIEWPORT_EXTRA_BG)) {
|
||||
gViewportStack[gActiveCameraID].vp.vtrans[0] = posX * 4;
|
||||
gViewportStack[gActiveCameraID].vp.vtrans[1] = posY * 4;
|
||||
|
||||
Reference in New Issue
Block a user