Commit Graph
861 Commits
Author SHA1 Message Date
CrushedPixel b99d49ee72 The PathPreviewRenderer now uses the ReplayHandler's AdvancedPositionKeyframeList's interpolation methods instead of manually handling spectator keyframes 2015-09-10 19:31:07 +02:00
CrushedPixel bfc591e7b6 Finished the AdvancedPositionKeyframeList and SpectatorDataInterpolation 2015-09-10 19:31:07 +02:00
CrushedPixel 2b3a5905e8 The newInstance Method of SpectatorData now returns an AdvancedPosition object to prevent IllegalStateExceptions from occurring when using the toString() method on the SpectatorData object without an entityID 2015-09-10 19:31:07 +02:00
CrushedPixel 20df12128b The EntityPositionTracker now returns copies of its values to prevent them from being changed 2015-09-10 19:31:07 +02:00
CrushedPixel da9ce46613 Change ReplayHandler and KeyframesModifyEvent to use AdvancedPositionKeyframeList instead of KeyframeList<AdvancedPosition> 2015-09-10 19:31:07 +02:00
CrushedPixel 0d30350967 Created AdvancedPositionKeyframeList, whose interpolation methods properly handle Spectator Keyframes using the SpectatorDataInterpolation 2015-09-10 19:31:07 +02:00
CrushedPixel 7196bc03bd Rebalance the maximum and default SpectatorDataThirdPersonInfo#shoulderCamSmoothness values (+1 squashed commit)
Squashed commits:
[d1374a7] Information about the shoulder camera's position are now stored in a separate, interpolateable Object instead of directly in the SpectatorData Object
2015-09-10 19:31:07 +02:00
CrushedPixel d839204855 Removed the "Prepare Replay" setting (+1 squashed commit)
Squashed commits:
[74a16a9] Created EntityPositionTracker, which parses the whole Replay when initially loading it and remembers every Entity's Position at any timestamp.
The EntityPositionTracker can be disabled using a Replay Setting.
2015-09-10 19:27:01 +02:00
CrushedPixel c4be5ec7e6 Change AdvancedPosition constructor to accept doubles for pitch and yaw, as the internal objects are doubles as well 2015-09-09 18:22:01 +02:00
CrushedPixel d736863b96 Disallow leaving spectating while in Camera Path 2015-09-09 18:21:00 +02:00
CrushedPixel e00064e00c Better error output when GuiReplayViewer can't load .mcpr file to see which file can't be read 2015-09-09 17:45:41 +02:00
CrushedPixel fba579ebf8 The ReplayProcess now respects the basic settings of SpectatingMethod.SHOULDER_CAM, Smoothness and interpolation between two SHOULDER_CAM Keyframes is yet to be implemented 2015-09-09 15:27:21 +02:00
CrushedPixel ed8eb318ea Changed Pitch/Yaw Offset Input fields in GuiEditKeyframe to only accept Integer values 2015-09-09 15:26:18 +02:00
CrushedPixel 030374df2a Fixed GuiNumberInput#getIntValue() returning 0 if floating point number is entered 2015-09-09 15:22:39 +02:00
CrushedPixel eeded7a7fd Spectator Keyframe segments using Shoulder Camera are rendered in a different color on the timeline 2015-09-06 18:35:15 +02:00
CrushedPixel ad9806ed24 Created proper GuiEditKeyframe window for Spectator Keyframes, with possibility to toggle the Spectating Method and set its values 2015-09-06 18:35:15 +02:00
CrushedPixel 2ba7aec847 Added SpectatingMethod attribute to SpectatorData object, and more variables for the SHOULDER_CAM SpectatingMethod 2015-09-06 18:35:15 +02:00
CrushedPixel 78bb48b62f Added setters for Position and Size variables to GuiElement interface and implemented them 2015-09-06 18:35:15 +02:00
CrushedPixel a56d800d43 Added config entry in advancedSettings to disable initial login prompt 2015-09-06 18:35:15 +02:00
johni0702 33d1d03732 Fix player being invisible after respawn
Remove unused PlayerRespawnEvent handler
2015-09-06 15:13:10 +02:00
CrushedPixel eb8d9f5844 Fix comparison of Spectator Keyframe's Entity IDs using Integer objects, thus failing because of the use of == 2015-09-04 19:13:17 +02:00
CrushedPixel 1e0f5de800 Correctly parse Keyframe Presets with the new Spectator Keyframes from JSON 2015-09-04 17:51:31 +02:00
CrushedPixel 1b8c5dc47a In first-person spectator mode, render the items in the players hand if it's invisible, only the hand should be invisible 2015-09-04 17:45:27 +02:00
CrushedPixel 2f522c68fe Instead of using AdvancedPosition objects with a value for spectatedEntityID, use SpectatorData objects for Spectator Keyframes. This allows us to add more options to Spectator Keyframes. 2015-09-04 17:38:10 +02:00
CrushedPixel e0785b4f25 Don't render an Entity's nametag if it's invisible and the renderInvisible setting is set to false 2015-09-04 17:32:58 +02:00
CrushedPixel 409c215937 Do not completely hide invisible players in the Replay (their armor wasn't rendered) 2015-09-04 08:34:17 +02:00
CrushedPixel 9d4fdccb0f Added option to completely hide invisible entities like Armor Stands instead of them being rendered semi-transparent 2015-09-04 01:32:57 +02:00
johni0702 04df2ba3a0 Reset spectated entity when leaving replay 2015-09-02 16:44:56 +02:00
johni0702 c27b1a1a1e Fix chunks being invisible after temporarily leaving an area 2015-09-02 15:58:24 +02:00
CrushedPixel 97fad83868 Fix direct calls to drawTextBox in GuiEntryList and GuiDropdown incorrectly rendering the Gui Element. Direct calls to drawTextBox are nevertheless deprecated from now on. 2015-09-02 15:40:56 +02:00
CrushedPixel 03aead65b6 Gigantic warning cleanup 2015-08-31 17:49:21 +02:00
CrushedPixel dd1aab16ef Fixed the probably most retarded thing one of us has ever done (and I think it wasn't me this time) - connecting Replays now works again 2015-08-31 17:48:14 +02:00
CrushedPixel 5eed7a8246 Fixed NPE when trying to open a downloaded file with an empty replay_recordings folder 2015-08-31 17:48:14 +02:00
CrushedPixel e0259d0c5a Some general warning cleanup 2015-08-31 17:48:14 +02:00
CrushedPixel 6d7946d8a7 Properly respect expanded state of GuiDropdown in its isHovering() method 2015-08-31 17:48:14 +02:00
CrushedPixel e1d307cfcf Only poll Mouse Wheel change if hovering over GuiDropdown/GuiEntryList to avoid multiple Elements clashing 2015-08-31 17:48:14 +02:00
CrushedPixel 635e821688 Removed unneccessary import in GuiObjectManager (yay, no warnings!) 2015-08-31 17:48:14 +02:00
johni0702 aee9d6b232 Rewrite authentication handling
Fix logout not working until restart
2015-08-31 16:16:22 +02:00
johni0702 d72d12783f Open mouse input gui when command key is pressed 2015-08-31 13:41:50 +02:00
CrushedPixel bc7a67cda3 Revert "Locally added removed Forge Methods from 1.7 which allow us to load .obj and Techne Models"
This reverts commit 6712e8c488.
2015-08-30 21:11:38 +02:00
CrushedPixel ca6cfa6b86 Increased maximum Password length from 32 to 1024 2015-08-30 21:10:48 +02:00
CrushedPixel 6712e8c488 Locally added removed Forge Methods from 1.7 which allow us to load .obj and Techne Models 2015-08-30 21:10:48 +02:00
johni0702 6b6f6732d5 Add basic replay restriction system (no restrictions yet) 2015-08-30 15:54:48 +02:00
johni0702 2bc79c0140 Parse Minecraft version from CrashReport instead of using Minecraft.getVersion()
Using the getVersion() method doesn't produce consistent results (e.g. MultiMC5 changes the value). The Minecraft version in the CrashReport is hard-coded and should therefore be rather consistent.
2015-08-30 14:57:06 +02:00
johni0702 5d921fbb58 Disable camera movement during path preview 2015-08-23 11:06:33 +02:00
CrushedPixel d31128fc11 Fix GuiReplayOverlay not resizing upon Gui Scale change (did it for you, Johni) 2015-08-22 16:35:18 +02:00
CrushedPixel 959a4c3ce1 Fixed GuiReplaySpeedSlider's Display String incorrectly resetting upon Window resize 2015-08-22 16:35:18 +02:00
CrushedPixel 6f35b175fd Some more cleanup in MinecraftTicker 2015-08-22 16:35:17 +02:00
CrushedPixel 989dbd76e5 Remove unnecessary method calls in MinecraftTicker (mainly Spectator Mod and Item Pick related) 2015-08-22 16:35:17 +02:00
CrushedPixel 605526e524 Clean up unnecessary value assignment in GuiReplaySpeedSlider Constructor, which is overridden by calling the reset() method two statements later 2015-08-22 16:35:17 +02:00