Commit Graph
35 Commits
Author SHA1 Message Date
CrushedPixel 16b74d9824 Included Path Interpolation methods in KeyframeList and uses it in PathPreviewRenderer
Created newInstance() method in KeyframeValue interface
2015-07-08 23:55:48 +02:00
CrushedPixel 8a973fa3e9 Created @Interpolate annotation for Interpolators to know which fields to interpolate (instead of all public fields) 2015-07-08 11:43:58 +02:00
CrushedPixel 901b175efe Created GuiMarkerTimeline to display Markers again
Created helper methods in ReplayHandler to provide information about MarkerKeyframes
2015-07-08 04:46:44 +02:00
CrushedPixel 5100b63964 Warning, GIGANTIC COMMIT!
Replaced Keyframe subclasses with Generic Types of Keyframe and replaced all instanceof calls
Replaced implementations of Linear and Spline interpolation to interpolate any Object that extends KeyframeValue and contains at least one public double Field. I'll need this for Keyframe interpolation in CustomImageObject Transformations
Made MarkerKeyframe *no* subclass of Keyframe to avoid conflicts with PositionKeyframe in instanceof checks for Keyframe#getValue
Created KeyframeList which extends ArrayList to provide some helping functions which DRY up the ReplayHandler
Split up ReplayHandler's keyframeList into timeKeyframeList and positionKeyframeList
2015-07-08 04:13:24 +02:00
CrushedPixel cf2a8adb4c Removed backVisible field from CustomImageObject
Updated new instance creations of GuiEntryListEntry whose constructor changed in last commit
2015-07-07 17:04:01 +02:00
CrushedPixel 9a0c5366e1 Updated ExtendedPosition to include a scale value and added it to GuiAssetAdder (which will be renamed soon) 2015-07-07 17:00:35 +02:00
johni0702 ddeb27be6f Call super methods in equals and hashCode in ExtendedPosition 2015-07-07 14:39:08 +02:00
CrushedPixel 948803571d GuiAssetAdder now allows to add/remove/edit Assets in a Replay. These Assets are not being saved yet. 2015-07-06 16:39:40 +02:00
CrushedPixel a5eadd2d01 Created GuiEntryListEntry interface for GuiEntryList contained classes to avoid toString() methods from having to be abused
Created GuiFileChooser and according Listeners
Added (non-functional) GuiAssetAdder for CustomImageObjects
2015-07-06 13:44:50 +02:00
CrushedPixel 013d5963ff Created CustomObjectRenderer to allow for BufferedImages to be rendered at a given Position. This supports Zoom and Rotation on all 3 axes. 2015-07-06 00:28:57 +02:00
johni0702 a058497727 Fix all warnings
Add and make use of Lombok
Remove Mojang API
Remove ZipFileUtils
Remove StreamTools in favor of Apache IOUtils
Keyframe should be abstract all derivatives final
Replace clone in Keyframe with copy
Move some constants from GuiReplaySetttings to GuiConstants
2015-06-29 21:45:37 +02:00
johni0702 3122c0a71e Reduce object creation during rendering of path preview
Skip sqrt when comparing distances
2015-06-29 21:39:40 +02:00
CrushedPixel 3df1bdcfc8 Added PathPreviewRenderer to draw a Preview of the current Camera Path into the World
Added KeyframesModifyEvent to be dispatched whenever the ReplayHandler's Keyframe List is changed
Refactored Event package
Reworked Settings GUI
2015-06-15 14:41:20 +02:00
CrushedPixel 8570664edc Fixed possible NPEs if Keyframes in List being null 2015-06-12 23:28:10 +02:00
CrushedPixel 8ef7e768d6 Got rid of cancerous Cloneable interface and fixed possible NPE when cloning a Position Keyframe 2015-06-12 23:27:43 +02:00
CrushedPixel 05cc37adcc Marker names are now being displayed when hovering over them
Marker names are now editable in GuiEditKeyframe
2015-06-10 16:44:29 +02:00
CrushedPixel b2ad52d5b6 Markers are now subclasses of Keyframe
Markers can now be moved and jumped to on the Replay Timeline
2015-06-09 22:55:20 +02:00
CrushedPixel d30ef19c89 Added Event Markers to Replay, which allow players to quickly mark important events while recording (M key by default)
Added Event Marker Indicators to be displayed on GuiTimeline
2015-06-09 16:08:06 +02:00
CrushedPixel 01f80294aa Spectator Keyframes are now colored blue, and the timespan during which an Entity is spectated is tinted 2015-06-03 14:20:32 +02:00
johni0702 4c5e084edc Use UUIDs instead of entity ids for storing invisible players 2015-06-01 14:35:44 +02:00
CrushedPixel fe036d72d8 Added Spectator Keyframes and handles them properly in both normal and rendered Replay Paths 2015-05-31 13:54:34 +02:00
CrushedPixel cbbc50a37a Renamed "Camera Tilt" to "Camera Roll" (new naming convention!)
Changed Camera Roll to use Degree Values
Started adding Timeline Position Editing to GuiEditKeyframe
2015-05-22 17:06:36 +02:00
CrushedPixel 9396687802 Keyframes are now moveable by dragging them on the real timeline 2015-05-22 00:01:50 +02:00
CrushedPixel fa187ae0e5 Added Option to save Player Visibility Settings in Replay 2015-05-20 23:56:34 +02:00
CrushedPixel 4754ecc6bf Started creating GuiEditKeyframe
Therefore, added support for floating point numbers in GuiNumberInput
2015-05-20 16:40:54 +02:00
CrushedPixel 5fda527cb0 Made Camera Paths take the shortest way between two head rotation values (instead of spinning unnecessarily often) 2015-05-09 16:57:16 +02:00
CrushedPixel 36eab58705 Added prerequisites for future Camera Tilt feature 2015-05-05 10:52:06 +02:00
CrushedPixel e8320ebd0f Added Keyframe Repository, which is stored in Replay File itself and allows Camera Path Presets to be saved and loaded 2015-05-01 23:20:16 +02:00
CrushedPixel 2cccbe424a Added proper .equals and hashCode methods for Keyframes 2015-05-01 15:45:36 +02:00
CrushedPixel 0003f040ed Refactored and reformatted code to use less static variables 2015-04-23 14:09:54 +02:00
Marius Metzger 11e26e0129 Updated build.gradle to automatically build fat jars with the dependencies in the /libs folder. This utilizes the shade.sh shell script. Use ./gradlew without explicitely invoking the build task, as this will automatically build a fat jar.
Sorry for this painful commit, but git somehow f'd up and sees changes in files where there aren't any.
2015-03-21 17:05:53 +01:00
Marius Metzger 03f6ba1ade Added Video Export feature with according Options in the Options Menu
Fixed Linear Interpolation
2015-02-08 12:40:37 +01:00
Marius Metzger 101a0359d3 Moved Key Events to KeyInputHandler
Added Spectator Menu and Mode to Replay
2015-02-01 15:44:55 +01:00
Marius Metzger 5f4d12cb81 Optimized Packet Writing (separate Thread for I/O operations) 2015-01-04 21:51:56 +01:00
Marius Metzger cbd96d57f4 First Commit 2015-01-03 23:25:21 +01:00