[release] v1.3.0 #97
lmichaelis
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version 1.3 re-brands "phoenix" as "ZenKit" to avoid confusion with PhoenixTales' Game
of the same name. Basically all APIs have gotten a new look with more appropriate names and a replacement for
phoenix::bufferhas been introduced. The build system has also been changed and requires manual intervention whenupdating to the new version. A migration guide is available at https://zk.gothickit.dev/library/misc/v1.2-to-v1.3/.
Here are the changes not related to the renamed API.
Breaking Changes
The
phoenixCMake target has been renamed tozenkitand the following changes have been made in relation to thatchange:
PHOENIX_BUILD_EXAMPLEStoZK_BUILD_EXAMPLESPHOENIX_BUILD_TESTStoZK_BUILD_TESTSPHOENIX_BUILD_SHAREDtoZK_BUILD_SHAREDPHOENIX_INSTALLtoZK_ENABLE_INSTALLPHOENIX_DISABLE_SANIZIZERStoZK_ENABLE_ASAN(Danger: The meaning of this variable has been reversed)phoenix::vdf_filehas been fully removed. Migrate tozenkit::Vfs!phoenix::way_net::waypointhas been removedphoenix::archive_reader::read_raw_byteshas been removed in favour ofphoenix::archive_reader::read_raw_bytes(size_t)phoenix::model_script::parse_binaryhas been removed in favour ofphoenix::model_script::parsephoenix::vobs::camera_lock_modehas been removed in favour ofphoenix::vobs::sprite_alignmentphoenix::vob::camera_alignmenthas been removed in favour ofphoenix::vob::sprite_camera_facing_modephoenix::symbol::{get,set}_{string,int,float}now take a raw pointer as context.phoenix::cs_camera::frameshas been split intotrajectory_framesandtarget_framesOther breaking changes:
DaedalusSymbolnow take regular pointers for the context (instead ofshared_ptr)DaedalusScript::enumerate_instances_by_namenow only enumeratesconstinstancesFeatures
vobs::npcnow have names thanks to a patch by @JucanAndreiDanielc_menu_item_frame::frame_pos{x,y}andc_menu_item_flags::hor_selectablein the Daedalus support libraryphoenix::buffer:zenkit::Readandzenkit::Writephoenix::meshnow comes with a new API for retrieving raw, un-triangulated polygons from the mesh dataDaedalusInstancebound typesobject references and is capable of parsing objects automatically using the new
ReadArchive::read_objectAPI.WriteArchiveAPI for creating ZenGin Archives using ZenKitsavefor various object types, including the VOb-tree. These objects can now beloaded, modified and then saved again using ZenKit only. The objects are:
VirtualObjectand its descendants,CutsceneLibrary,Font,Mesh,ModelHierarchy,Texture,Vfs,MultiResolutionMesh,ModelMesh,Model,WorldWriteimplemented to write to a given file system pathDaedalusVminstanceDaedalusVm::print_stack_tracenow reports global state information as wellSaveGamesupport drastically. Save games can now be fully parsed and also created usingZenKitalone.TextureBuilderfor creating new textures from scratchDaedalusSymbol&as a parameter (instead of just a name)Bugfixes
nullptr-dereference inVfs::mount_diskregister_default_externalVfsDaedalusVm::register_default_externalDaedalusVmandDaedalusScriptMisc
zk.gothickit.dev, and it has been mirrored to the
Gothic Modding Community (GMC)'s page.
miohas been dropped and replaced by a custom, simpler memory mapping implementation (zenkit::Mmap)Meshparsing for some Windows systems by up to 15xDeprecations
phoenixnamespace. Migrate to their analogs in thezenkitnamespace instead! Also see the migration guideThis discussion was created from the release [release] v1.3.0.
Beta Was this translation helpful? Give feedback.
All reactions