mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-15 04:14:34 +00:00
Merge branch 'master' into doc_pause_menu
This commit is contained in:
commit
631f6d203d
130 changed files with 2747 additions and 2299 deletions
|
@ -1,4 +1,5 @@
|
|||
#include "global.h"
|
||||
#include "quake.h"
|
||||
#include "vt.h"
|
||||
|
||||
void* D_8012D1F0 = NULL;
|
||||
|
@ -256,7 +257,7 @@ void Play_Init(GameState* thisx) {
|
|||
this->activeCamId = CAM_ID_MAIN;
|
||||
func_8005AC48(&this->mainCamera, 0xFF);
|
||||
Sram_Init(this, &this->sramCtx);
|
||||
func_80112098(this);
|
||||
Regs_InitData(this);
|
||||
Message_Init(this);
|
||||
GameOver_Init(this);
|
||||
SfxSource_InitAll(this);
|
||||
|
@ -1182,11 +1183,11 @@ void Play_Draw(PlayState* this) {
|
|||
|
||||
if ((HREG(80) != 10) || (HREG(83) != 0)) {
|
||||
if ((this->skyboxCtx.unk_140 != 0) && (GET_ACTIVE_CAM(this)->setting != CAM_SET_PREREND_FIXED)) {
|
||||
Vec3f sp74;
|
||||
Vec3f quakeOffset;
|
||||
|
||||
Camera_GetSkyboxOffset(&sp74, GET_ACTIVE_CAM(this));
|
||||
SkyboxDraw_Draw(&this->skyboxCtx, gfxCtx, this->skyboxId, 0, this->view.eye.x + sp74.x,
|
||||
this->view.eye.y + sp74.y, this->view.eye.z + sp74.z);
|
||||
Camera_GetQuakeOffset(&quakeOffset, GET_ACTIVE_CAM(this));
|
||||
SkyboxDraw_Draw(&this->skyboxCtx, gfxCtx, this->skyboxId, 0, this->view.eye.x + quakeOffset.x,
|
||||
this->view.eye.y + quakeOffset.y, this->view.eye.z + quakeOffset.z);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue