-
Notifications
You must be signed in to change notification settings - Fork 6
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
DronCode
wants to merge
34
commits into
main
Choose a base branch
from
dev/csharp_runtime_support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)
…lso added few other things
…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)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.