Commit Graph

903 Commits

Author SHA1 Message Date
johni0702
0ad7eb31fd Extend GuiImage to allow for ResourceLocations 2015-10-09 08:33:04 +02:00
johni0702
fc4dc86355 Add status indicators
Allow removal of elements from gui containers
2015-10-09 08:33:04 +02:00
johni0702
aa3eb463ee Add full brightness extra 2015-10-09 08:32:49 +02:00
johni0702
7519506f9a Move Restrictions class to core module 2015-10-04 20:16:22 +02:00
johni0702
fd4ec8e2f9 Deprecate most static fields in ReplayMod class
Fix replay restarting
2015-10-04 20:09:57 +02:00
johni0702
4d27875955 Fix mouse/keys not working when replay is paused 2015-10-04 19:02:11 +02:00
johni0702
526ee76d4a Add Play/Pause hotkey 2015-10-04 15:44:27 +02:00
johni0702
213c16c81d Rewrite thumbnail creation 2015-10-04 15:43:19 +02:00
johni0702
3c3cf3317a Grid layout must always have at least one column 2015-10-04 15:20:27 +02:00
johni0702
c3f058246a Fix hotkey buttons layout 2015-10-04 14:45:12 +02:00
johni0702
f925d56ca2 Split mod into core, recording, replay, render[todo], paths[todo] and extras[wip] modules
Move everything to com.replaymod package
Add KeyBindingRegistry and SettingsRegistry
Recreate settings GUI with new GUI API and dynamically from SettingsRegistry
Use ReplayFile from ReplayStudio
ReplayHandler is now object oriented
Add GuiOverlay, GuiSlider and GuiTexturedButton to GUI API
Rewrite both overlays to use new GUI API
Fix size capping in vertical and horizontal layout
Allow CustomLayouts to have parents
Fix tooltip rendering when close to screen border
Allow changing of columns in GridLayout
2015-10-03 17:36:04 +02:00
CrushedPixel
8bd051eb27 Add metadata injection for 360 degree videos (mp4 format only)
Add com.googlecode.mp4parser:isoparser Library to build.gradle
Create inject360Metadata boolean setting in RenderOptions and added respective checkbox to GuiRenderSettings
Create MetadataInjector to inject 360 Degree Spherical Metadata into mp4 videos
2015-09-21 11:59:46 +02:00
CrushedPixel
664e788f7b Added hoverText and hoverTextColor fields to GuiAdvancedCheckBox to allow for info text to be rendered 2015-09-21 09:58:55 +02:00
CrushedPixel
0ed3f95f6c SpectatorDataInterpolation code cleanup (+1 squashed commit)
Squashed commits:
[6aa2eef] To ensure a continuous camera path, the SpectatorDataInterpolation now directly influences the AdvancedPositionKeyframeList's interpolation's Position Keyframes
2015-09-10 19:31:08 +02:00
CrushedPixel
3bc436c1f6 Remove own interpolators in VideoRenderer and use the KeyframeList's interpolators instead, thus supporting the new Spectator Keyframes 2015-09-10 19:31:08 +02:00
CrushedPixel
603cd4871e Use the AdvancedPositionKeyframeList's interpolation instead of manually calculating the camera Path in the ReplayProcess 2015-09-10 19:31:08 +02:00
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
1e06d3f1c9 1.0.5 2015-09-06 15:14:03 +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
CrushedPixel
89e51ef515 Version 1.0.4 2015-09-02 17:11:13 +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