mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Rename function
This commit is contained in:
parent
267808eff7
commit
8087fdf3e9
@ -42,7 +42,7 @@ extern MxAtomId* g_isleScript;
|
|||||||
|
|
||||||
LegoEntity* PickEntity(MxLong p_x, MxLong p_y);
|
LegoEntity* PickEntity(MxLong p_x, MxLong p_y);
|
||||||
LegoROI* PickROI(MxLong p_x, MxLong p_y);
|
LegoROI* PickROI(MxLong p_x, MxLong p_y);
|
||||||
LegoROI* PickParentROI(MxLong p_x, MxLong p_y);
|
LegoROI* PickRootROI(MxLong p_x, MxLong p_y);
|
||||||
void RotateY(LegoROI* p_roi, MxFloat p_angle);
|
void RotateY(LegoROI* p_roi, MxFloat p_angle);
|
||||||
MxBool SpheresIntersect(const BoundingSphere& p_sphere1, const BoundingSphere& p_sphere2);
|
MxBool SpheresIntersect(const BoundingSphere& p_sphere1, const BoundingSphere& p_sphere2);
|
||||||
MxBool FUN_1003ded0(MxFloat p_param1[2], MxFloat p_param2[3], MxFloat p_param3[3]);
|
MxBool FUN_1003ded0(MxFloat p_param1[2], MxFloat p_param2[3], MxFloat p_param3[3]);
|
||||||
|
|||||||
@ -253,7 +253,7 @@ MxLong Ambulance::HandleButtonDown(LegoControlManagerNotificationParam& p_param)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
roi = PickParentROI(p_param.GetX(), p_param.GetY());
|
roi = PickRootROI(p_param.GetX(), p_param.GetY());
|
||||||
|
|
||||||
if (roi != NULL && !strcmpi(roi->GetName(), "gd")) {
|
if (roi != NULL && !strcmpi(roi->GetName(), "gd")) {
|
||||||
m_unk0x170 = 3;
|
m_unk0x170 = 3;
|
||||||
|
|||||||
@ -45,7 +45,7 @@ LegoROI* PickROI(MxLong p_x, MxLong p_y)
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x1003dd90
|
// FUNCTION: LEGO1 0x1003dd90
|
||||||
// FUNCTION: BETA10 0x100d3449
|
// FUNCTION: BETA10 0x100d3449
|
||||||
LegoROI* PickParentROI(MxLong p_x, MxLong p_y)
|
LegoROI* PickRootROI(MxLong p_x, MxLong p_y)
|
||||||
{
|
{
|
||||||
LegoVideoManager* videoManager = VideoManager();
|
LegoVideoManager* videoManager = VideoManager();
|
||||||
Lego3DView* view = videoManager->Get3DManager()->GetLego3DView();
|
Lego3DView* view = videoManager->Get3DManager()->GetLego3DView();
|
||||||
@ -61,7 +61,7 @@ LegoROI* PickParentROI(MxLong p_x, MxLong p_y)
|
|||||||
// FUNCTION: LEGO1 0x1003ddc0
|
// FUNCTION: LEGO1 0x1003ddc0
|
||||||
LegoEntity* PickEntity(MxLong p_x, MxLong p_y)
|
LegoEntity* PickEntity(MxLong p_x, MxLong p_y)
|
||||||
{
|
{
|
||||||
LegoROI* roi = PickParentROI(p_x, p_y);
|
LegoROI* roi = PickRootROI(p_x, p_y);
|
||||||
|
|
||||||
if (roi == NULL) {
|
if (roi == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user