mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Fixes
This commit is contained in:
parent
3b6eaf91e3
commit
5c860e4431
9 changed files with 24 additions and 38 deletions
|
|
@ -84,11 +84,7 @@ public:
|
|||
inline float GetTimeLeft() { return hierarchy->totalLength - currentTime; }
|
||||
|
||||
static CAnimBlendAssociation *FromLink(CAnimBlendLink *l) {
|
||||
#ifdef S60V5
|
||||
return (CAnimBlendAssociation*)((uint8*)l - OFFSET_OF(CAnimBlendAssociation, link));
|
||||
#else
|
||||
return (CAnimBlendAssociation*)((uint8*)l - offsetof(CAnimBlendAssociation, link));
|
||||
#endif
|
||||
return (CAnimBlendAssociation*)((uint8*)l - OFFSET_OF(CAnimBlendAssociation, link));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -349,11 +349,13 @@ public:
|
|||
#endif
|
||||
EnableDragEvents();
|
||||
ActivateL();
|
||||
|
||||
|
||||
#ifdef RW_GL3
|
||||
// VC4 check
|
||||
VersionInfo::TPlatformVersion platformVersion;
|
||||
VersionInfo::GetVersion(platformVersion);
|
||||
moreVram = platformVersion.iMajorVersion == 5 && platformVersion.iMinorVersion >= 4;
|
||||
#endif
|
||||
|
||||
TSize size = Size();
|
||||
RsGlobal.width = size.iWidth;
|
||||
|
|
@ -411,9 +413,6 @@ public:
|
|||
|
||||
openParams.width = RsGlobal.width;
|
||||
openParams.height = RsGlobal.height;
|
||||
#ifndef S60V5
|
||||
openParams.windowtitle = RsGlobal.appName;
|
||||
#endif
|
||||
|
||||
ControlsManager.MakeControllerActionsBlank();
|
||||
ControlsManager.InitDefaultControlConfiguration();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue