summaryrefslogtreecommitdiffstats
path: root/src/control/Phones.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 09:17:38 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-17 09:17:38 +0200
commitb9c8ce0d37b2f094e2d8fe1a71db009718a0a006 (patch)
tree4861c474aa232d2914f5b6b3bc11a8e62a9ceccb /src/control/Phones.cpp
parentMerge remote-tracking branch 'samler/world' into Standalone (diff)
parentrem refs (diff)
downloadre3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.gz
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.bz2
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.lz
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.xz
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.tar.zst
re3-b9c8ce0d37b2f094e2d8fe1a71db009718a0a006.zip
Diffstat (limited to '')
-rw-r--r--src/control/Phones.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/control/Phones.cpp b/src/control/Phones.cpp
index 276f02b9..90939f0e 100644
--- a/src/control/Phones.cpp
+++ b/src/control/Phones.cpp
@@ -13,13 +13,13 @@
#include "RpAnimBlend.h"
#include "AnimBlendAssociation.h"
-CPhoneInfo &gPhoneInfo = *(CPhoneInfo*)0x732A20;
+CPhoneInfo gPhoneInfo;
-bool &CPhoneInfo::bDisplayingPhoneMessage = *(bool*)0x6283AC; // is phone picked up
-uint32 &CPhoneInfo::PhoneEnableControlsTimer = *(uint32*)0x6283A8;
-CPhone *&CPhoneInfo::pPhoneDisplayingMessages = *(CPhone**)0x6283B0;
-bool &CPhoneInfo::bPickingUpPhone = *(bool*)0x6283B4;
-CPed *&CPhoneInfo::pCallBackPed = *(CPed**)0x6283B8; // ped who picking up the phone (reset after pickup cb)
+bool CPhoneInfo::bDisplayingPhoneMessage; // is phone picked up
+uint32 CPhoneInfo::PhoneEnableControlsTimer;
+CPhone *CPhoneInfo::pPhoneDisplayingMessages;
+bool CPhoneInfo::bPickingUpPhone;
+CPed *CPhoneInfo::pCallBackPed; // ped who picking up the phone (reset after pickup cb)
/*
Entering phonebooth cutscene, showing messages and triggering these things