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

Refactor/cleanup #284

Draft
wants to merge 116 commits into
base: Multiloader-1.20.4
Choose a base branch
from
Draft

Conversation

fayer3
Copy link
Member

@fayer3 fayer3 commented Jun 18, 2024

brings back old variable names and formatting
adds parchment mappings (closes #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

fix auto open keyboard setting
fix radial/keaboard guiscale issue with max hud scale
add option to toggle headshot hitboxes

fixes #277
fixes #270
fixes #267
fixes #264
fixes #250

add mixin extras
add back old names and comments
add some javadoc

some fixes/remove of unused stuff:
fix seated crawl head floating
remove tpose from mcvr, use the nullprovider for that
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 disappears
move shaders into a shader helper
includes FSAA, mixed reality and VR post/fov reduction
move inMenuroom methods out of gamerenderer
make ActionParams a record
bunch of javadoc
re sort the methods in MCVR
fix thirdperson aspect being stuck at 16x9
more javadoc and variable renames
moved lwjgl library check to MCOpenVR
removed MCVR.postInit, since there is no point in having it not in the regular init anymore
move touch hotbar after pose update, to not be a frame behind
remove options reload from MCOpenVR init, and move the external camera config loading to the vr settings init
change ActionParams back to regular class for backwards compatibility
fayer3 added 22 commits June 21, 2024 03:31
remove legacy resource extraction
some logging fixes
… used

fix Keyboard/Radial buffer not resizing with the 1440p gui option
fix missing vanilla post effect, when disabling vr
change climbey blocklist command to check for valid blocks
move the method to send stuff to all seen players into its own method, to not have duplicated code there
… reset everything

warns in the log if something is invalid, and only sends valid blocks to clients
remove Xplat tick start/end events, since they are not used/needed
rename PlayerExtension.setItemInUseCountClient to setItemInUseRemainingClient, to correspond to the variable name
rename some partialTicks to partialTick
remove FrustumExtension.vivecraft$setCameraPosition(), use Frustum.prepare() instead, that does the same
…eOfSight` call, not just from enderman

use the bigger visibility cone from the spigot extension
don't cancel creeper swell goal, just change the distance check
fix arrow speed ignoring roomscale bow draw
move mod loaded checks to their Helper classes
fix dynamicFPS mod getting quieter when window is unfocused in vr
simplify NonNull redirects for the iris compat
fix iris/oculus sometimes disabling AO in the menuworld
remove player repositioning in optifine mixin. that is already done in levelrenderer
fix resolution control 3 compat
remove sodium options mixin for the graphic mode change, it is already checked every frame in the VRRenderer
make all helper reflection variables match, with Class_Method/Field naming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants