-
Notifications
You must be signed in to change notification settings - Fork 40
SDK and Mods Update: Unicode Text, Actor Inventory, Rooms, Outfits, Randomizer, World, UI Refinements, and Crash Fixes #238
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
Open
pavledev
wants to merge
202
commits into
OrfeasZ:master
Choose a base branch
from
pavledev:master
base: master
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.
Conversation
This file contains hidden or 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
…nd rename it to result
… menus to prevent game crashes
…tead and remove unnecessary std::string conversion and compare ZString keys directly
…y-based actor names
…ame and s_ButtonId to s_ActorSelectableId
… search input above the list
…use in game and remove s_SelectedID
…s menu when an actor entity or its sub-entity is selected
…ng and selection and move CharSet Character Type combobox above the autocomplete input
…utfit” button, change its ID to ##CharSetCharacterType3, switch to s_CurrentCharSetCharacterType3, and remove m_GlobalOutfitKit checks from the ##CharSetCharacterType2 and ##CharSetCharacterType3 comboboxes
…etting property values for array elements
- Rename classes, structures, and properties in ZEntity.h and Reflection.h - Add new classes, structures, and properties in ZEntity.h and Reflection.h - Remove IEnumType.h - Move IComponentInterface to a separate file - Move ZItemRepositoryKeyEntity to ZRepository.h
…nventoryHandler::RequestItem hook in Randomizer mod
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.
Breaking Changes
SDK
ZDynamicObject::ToStringnow takesZString&instead ofZString*.ZEntitySceneContext::LoadScenereturn type is changed from void to bool.ZItemConfigDescriptoris renamed tom_ItemID.THashMap.hare renamed.GetPointerHashCodeis renamed toPointerand moved fromTHashMap.htoHash.h.m_aUnknownproperty inZResourceContaineris renamed tom_firstResourceIndexPerPackage.m_Typeproperty inSBehaviorBaseis renamed to eBehaviorType and it's type is changed toECompiledBehaviorType.SBehaviorDatais renamed toSBehaviorStateand moved intoZBehaviorService.m_aBehaviorStatesproperty is changed from array toTFixedArray.m_aActiveActorsinZActorManageris renamed tom_activatedActors.ZActorare renamed:m_bUnk0→m_bActorActivatedm_bUnk1→m_bEnabledm_bUnk2→m_bAlivem_bUnk8→m_bHasAIIconm_bUnk16→m_bContractTargetm_bUnk17→m_bContractTargetLivem_bUnk18→m_bContractTargetHiddenm_bUnk19→m_bIsNamedNPCm_bUnk20→m_bNudem_bUnk21→m_bIsActiveEnforcerm_bUnk22→m_bIsPotentialEnforcerm_bUnk23→m_bIsDynamicEnforcerm_bUnk24→m_bCrowdCharacterm_bUnk25→m_bActiveSentrym_nCurrentBehaviorIndexproperty inZActoris renamed tom_nActorRuntimeId.ICharacterCollisionis moved fromZActor.htoZCollision.h.IComponentInterfaceis moved toIComponentInterface.hZItemRepositoryKeyEntityis moved toZRepository.hIEnumTypeis moved toReflection.handIEnumType.his removed.ZEntity.handReflection.hare renamed and their fields and methods are renamed:ZClassPropertyis renamed toSNamedPropertyInfoZClassConstructorInfois renamed toZConstructorInfoZClassComponentis replaced withSBaseClassInfoandSComponentMapEntryZEnumEntryis renamed toSEnumItemSArrayFunctionsis renamed toSContainerTypeVTableZEntityPropertyis renamed toSPropertyDataZEntityInterfaceis renamed toSInterfaceDataZPinis renamed toSPinDataZGameTimeManagerEditor
m_CurrentlySelectedActorinEditormod is renamed tom_SelectedActor.m_PendingDynamicEntitiesis changed fromstd::vectortostd::unordered_set.m_DebugChannelToVisibility is renamed tom_DebugChannelToStateandm_DebugChannelToTypeNameToVisibilityis renamed tom_DebugChannelToTypeNameToState`s_EntityTreeNodeinEditor::EntityRefPropertyis renamed tos_Iterators_TypeNameparameter is removed fromEditor::TArrayPropertymethod.Editor::ResourcePropertymethod is renamed toEditor::ResourcePtrProperty.s_RepositoryIdvariable inEditor::ZRepositoryIDPropertyis renamed tos_RepositoryIdStringandRepositoryIdvariable is renamed tos_RepositoryId.New Features
New Mods
SDK
ImGuiUtils::InputWithAutocomplete.Editor
Improvements
SDK
FreeCam
DiscordRichPresence
SkipIntro
ZEngineAppCommon::GetBootSceneinstead ofZEntitySceneContext::LoadSceneto avoid issues with mods that hookZEntitySceneContext::LoadSceneand receive the boot scene path before it is changed.Editor & UI
Fixes
SDK
TArray::clearresetting begin pointer instead of end.DirectXTKRenderer::DrawText3D.ImPlotandImGuicontexts are now destroyed on shutdown.Editor
m_bIsHitmanSuitis true in Actors and Assets menus to prevent game crashes.Editor::OnSetPropertyValuehandling toEditor::DrawEntityPropertiesto prevent setting property values for array elements.SDK Additions
operator[]andIsEmptymethods inZString.ZResourcePtr.IsEmptymethod inZGuid.frontandbackmethods inTArray.LockandUnlockmethods inZMutex.std::hashspecialization forZRepositoryID.THashSetandTHashSetIterator.ZHM5ItemWeaponinZItem.h.ZSparseBitArray.ZRoomManager,ZRoomEntityandZGateEntitytoZRoom.h.TListandTListNode.ZEvent,ZEvent0,ZEvent1,ZEvent2,ZEvent3,ZEvent4andZEventNull.ZUIMapManager,ZUIMapConfig,ZWorldMapMetaDataandZUIMapDebug.ZUIMapTrackerManager,ZStashPointTrackerAspect,ZGenericUIMapTrackerAspect,ZUIMapTrackerAspectandUIMapLayer.ZWorldInventoryZLinkedEntityZMorphemeEntity,ZMorphemeBaseEntity,IMorphemeEntityandSBoneAnimatorInfo.ZContractsManager,SContractContextandSAgencyPickupInfo.SItemConfigand new fields toZItemConfigDescriptor.ZRenderGraphNodeCameraand addm_pCurrentCameraproperty toZRenderManager.GetMutexvirtual method andm_pendingUninstallsfield toZResourceManager.ZActorManager.UnmountPartitionsvirtual method toZPackageManagerBase.AreAllResourcesReadyvirtual method toIEntityBlueprintFactory.m_HitmanPFLocationfield toZHM5GridManager.STemplateEntityFactory,STemplateFactorySubEntity,SEntityTemplateProperty,SEntityTemplatePlatformSpecificProperty,SEntityTemplatePropertyOverride.m_pMorphemeEntityandm_pGeomLinkedEntityInterfaceproperties to ZHM5BaseCharacterSDirectlySettablePropertyandSDirectlySettablePropertyWithSetterandm_directlySettableProperties,m_directlySettablePropertiesWithSetter,m_pResourceDataandm_bHasCalculatedPropertyValuesfields toZTemplateEntityFactory.ZResourceManager::GetResourceIndex,ZResourceContainer::UnmountPackagesandZRoomManager::GetRoomFromPoint,AreaHandle::GetAreaUsageFlags,ZTimeOfDayManager::SetTimeandZItemConfigDescriptor::GetHashCodeto Functions.hZEntitySceneContext::CreateScene