Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Scripting support #8

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open

.NET Scripting support #8

wants to merge 34 commits into from

Conversation

DronCode
Copy link
Member

No description provided.

ZGEOM not fixed in few places but we need to test it too.
Added GetRootTM method to ZGEOM
Added correct RefRun structure declaration in REFTAB
Added PlayerTeleportWidget (Tools > Teleport)
HF| Added flag 'norestore' for VFHook (disable reconstruction of virtual table hook)
1) CConfiguration: Added getter & setter for flag bSubtitles
2) SceneViewer: Added print of object REF in preview
3) ZCHAROBJ: Fixed SetText overload
4) ZEngineDataBase: Added getter for scene variables
5) ZEngineGeomControl: Added geom control subsystem (need to review members list)
6) ZGEOM: Divide m_fieldC by two half fields (uint32 -> uint16 + uint16)
7) ZLINEOBJ: Reversed class
8) ZOSD: Reversed field m_field54 -> m_pSubtitles
9) ZPrimControlWintel: Added docs & small fixes
10) ZRenderDrawD3D: Partially reversed class
11) ZRenderEntry: Base draft
12) ZRenderEntryGeomD3D: Base draft
13) ZRenderObject: draft
14) ZRenderWintelD3D: Reversed small part of vftable
15) ZScriptC: partially reversed
16) ZTextureManagerD3D: fixed fwd declaration of ZDirect3DDevice
17) ZWINOBJ: Fixed vftable for SetColor method (bad overload)
18) Glacier/CMakeLists.txt: Added HF::Core as dependency for ZEngineDataBase (call vfunc by index)
2) Reversed class ZELEVATORBOUND
3) Reversed enum EBoundingBox
4) Reversed class ZHM3DialogControl
5) Small fixes in ZLNKOBJ
2) Added legal way to create own action
3) Small refactoring
4) Added helper functions to ZAction class (Show & Hide)
…reeFS when unable to replace GMS because game calculating buffer size by different way and final buffer doesn't fit our uncompressed GMS
…provide access to write custom rendering things. Added patch for it. Reverted fmt submodule commit
…e data in arguments). Added method GetEntityLocator()in ZRenderEntry (to locate target entity)
 + RETN instruction shortcut

Glacier:
 + CCom: class partially reversed
 + ZGEOM: Renamed ZBaseGeom to ZEntityLocator
 + ZItem: reversed member variable at +0x4C (lState)
 + ZProjectile: reversed base class, few vtable methods and CProjectileActivate help structure (part)
 + ZEngineDataBase: added method SRefToPtr (it's not same with ZGEOM::RefToPtr, ZGEOM uses GREF, ZEngineDataBase uses SREF)
 + ZGameStats: found two useful methods, not linked yet
 + ZOffsetAlloc: found base structue, not reversed fully
 + ZRenderEntry: few things found, need to complete class later

BloodMoney:
 + CCheat: added helper class to provide few cheat things and fix 'Give some' original cheat (it's inherited from Hitman Contracts)
 + ZActor: fixed few arguments ot ZVector3 instead of array of float

Sandbox:
 + Added little example, need to remove it later
 + Reversed ZHM3WeaponUpgradeControl class
 + Added few methods to ZHM3ItemWeaponCustom class
 + Added details to ZHM3GameData (removed fake definition, used forward declaration)

Glacier:
 + Added return type for CInventory::AddItem method (actually, that method returns pointer to added item)
…other menus too). Also, trying to understand how view and logic interact in UI subsystem.

BloodMoney:
 + CMetalDetector: reversed member field with list of ZREF's to actors to notify on alert
 + PF4RunTime: added static factory method
 + IGUIElement: reversed base UI class
 + ZGUIBase: reversed few member methods
 + ZCONTROL: reversed base class of old UI subsystem
 + ZNavigator: reversed base class of navigator UI elements
 + ZWINOBJ: reversed member method GetTexture
 + ZHM3InventoryMenu: reversed (partially) class with inventory menu (cycle menu)
 + ZColorSet: reversed base class represents set of colors for UI element (normal, focus and disable colors)
 + ZActor: added constant id of alert message
 + ZUpgradeInfo: refactored class to use base class IGUIElement

Glacier:
 + ZBOUND: added class, nothing interesting
 + ZActorHeroCheckInside: reversed class with few helper methods
BloodMoney:
 + ZNavigator: reversed few fields by readParams method
 + IGUIElement: reversed few enums and fields by readParams method
Glacier:
 + Reversed ZLIGHT, ZOMNILIGHT, ZUSERLIGHT, ZSPOTLIGHT, ZSPOTLIGHTSQUARE, ZENVIRONMENT, ZGateLightOmni, ZGateLightSpot and ZGateLightSpotSquare
 + Reversed ZGameStats class

BloodMoney:
 + Reversed method ZHM3MenuElements::GetGUIElement
 + Reversed class ZHM3GameStats
Glacier:
 + ZCameraSpace: reversed method IsMain & GetViewport. Also, added default initializers to member variables (just to avoid problems in the future)
Base automatically changed from dev/febrary_changes to main April 4, 2023 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant