mirror of
https://github.com/zeldaret/tp
synced 2026-07-03 04:53:19 -04:00
Resolve all gameInfo fakematches (#2995)
* Clean up various inlines/fakematches/comments * Copy OptRuby inline name from TWW debug * Resolve all dEvt_control_c related fakematches, return pointer instead of reference * Fix some more missing inline usages
This commit is contained in:
@@ -415,7 +415,7 @@ void dKyr_sun_move() {
|
||||
}
|
||||
|
||||
void dKyr_rain_init() {
|
||||
camera_class* camera = g_dComIfG_gameInfo.play.mCameraInfo[0].mCamera;
|
||||
camera_class* camera = (camera_class*)dComIfGp_getCamera(0);
|
||||
g_env_light.mpRainPacket->mpTex = (u8*)dComIfG_getObjectRes("Always", 0x4a);
|
||||
g_env_light.mpRainPacket->mpTex2 = (u8*)dComIfG_getObjectRes("Always", 0x57);
|
||||
g_env_light.mpRainPacket->mCamEyePos = camera->lookat.eye;
|
||||
@@ -1224,7 +1224,7 @@ void dKyr_housi_move() {
|
||||
}
|
||||
|
||||
void dKyr_snow_init() {
|
||||
camera_class* camera = g_dComIfG_gameInfo.play.mCameraInfo[0].mCamera;
|
||||
camera_class* camera = (camera_class*)dComIfGp_getCamera(0);
|
||||
g_env_light.mpSnowPacket = new (32) dKankyo_snow_Packet();
|
||||
|
||||
if (g_env_light.mpSnowPacket == NULL) {
|
||||
@@ -1518,7 +1518,7 @@ void dKyr_snow_move() {
|
||||
}
|
||||
|
||||
void dKyr_star_init() {
|
||||
camera_class* camera = g_dComIfG_gameInfo.play.mCameraInfo[0].mCamera;
|
||||
camera_class* camera = (camera_class*)dComIfGp_getCamera(0);
|
||||
g_env_light.mpStarPacket = new (32) dKankyo_star_Packet();
|
||||
|
||||
if (g_env_light.mpStarPacket == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user