Vivecraft / VivecraftMod

An experimental port of Vivecraft to Forge/Fabric
Other
162 stars 33 forks source link

Refactor/cleanup #284

Open fayer3 opened 1 month ago

fayer3 commented 1 month ago

brings back old variable names and formatting adds parchment mappings (#189) adds mixin extras (not yet done completely) ads javadoc to most methods

some of the other changes/fixes that happened: fix seated crawl head floating remove tpose from mcvr, use the null provider instead for that removes MCVR.getHardwareType (since it is unused) renames MCVR.hasThirdController to hasCameraTracker, to reflect what it does fix key simulation with modifiers remove vsync change buffer reinit fix menu tooltips being stuck with keyboard use when the button disapears

move all shader rendering to org/vivecraft/client_vr/render/helpers/ShaderHelper, includes FSAA, mixed reality and VR post/fov reduction removed getFrameTiming/getCurrentTimeSecs from VRRenderer (unnecessary, replaced the one call that used it with Util.getMillis) removed useless overrides from OpenVRStereoRenderer move inMenuroom methods out of gamerenderer to MethodHolder

change logger in MixinConfig to a separate one

moved lwjgl library check to MCOpenVR removed MCVR.postInit, since there is no point in having it not in the regular init anymore move touchhotbar after pose update, to not be a frame behind

fix mirror aspect for third and center view fix black in block overlay, not blocking with wide aspects fix interactive wrist hotbar with changed main hand, and offset with reversed hands

remove options reload from mcopenvr init, and move the external camera config loading to the vr settings init

update editor config to allow one line ifs and specify how if wrapping should be like