Commit Graph

550 Commits

Author SHA1 Message Date
CrushedPixel
931a58a6a9 Learn english, Johni! 2015-07-21 03:40:38 +02:00
CrushedPixel
be77bb5a7b Added recalculate() method to KeyframeList to recalc the underlying Interpolation
Recalculate Keyframe Lists in ReplayHandler upon firing a KeyframesModifyEvent
2015-07-20 02:32:20 +02:00
CrushedPixel
30f0a4d6a9 Implemented expected behaviour in KeyframeList#getPreviousKeyframe and KeyframeList#getNextKeyframe 2015-07-20 02:03:53 +02:00
CrushedPixel
6201a7d13c Created drawRotatedRectWithCustomSizedTexture method in OpenGLUtils 2015-07-20 02:03:23 +02:00
CrushedPixel
585482a542 GuiArrowButton now draws from Texture instead of awful calculations 2015-07-20 02:03:01 +02:00
CrushedPixel
a435d5a271 Make GuiAdvancedButton only perform actions when enabled 2015-07-20 02:01:00 +02:00
CrushedPixel
e9c87b5c8c Set selected Keyframe to null upon joining a Replay 2015-07-20 01:18:06 +02:00
CrushedPixel
a9d7e0f794 Properly set previousCallLinear value in KeyframeList#getInterpolatedValueForPathPosition(), MASSIVELY increasing performance as the interpolation isn't recalculated all the time 2015-07-20 01:17:52 +02:00
CrushedPixel
d9e2c2a7c8 Only get Fields to Interpolate in Interpolation implementations if not done before -> massive performance increase 2015-07-20 01:16:53 +02:00
CrushedPixel
9b76bcadcb Fixed NPE in GuiEditKeyframe caused by super.onInit() call being too late... Johni0702, did you even test that Gui? | https://trello.com/c/PmcdLgzV/ 2015-07-20 01:16:09 +02:00
CrushedPixel
4dccf5b3b6 Only render Path Preview within Render Distance 2015-07-20 01:14:53 +02:00
CrushedPixel
702e02db65 Made calculation of Markers on GuiTimeline dynamic
Changed Real Timeline's Length to 30 minutes (request by multiple users)
2015-07-19 23:27:22 +02:00
johni0702
6422558028 General warning cleanup 2015-07-19 16:21:56 +02:00
johni0702
4f718ab302 Split GuiEditKeyframe into multiple classes depending on Keyframe type 2015-07-19 16:18:46 +02:00
CrushedPixel
c309929276 Fixed GuiReplaySpeedSlider and GuiVideoFramerateSlider overriding the wrong methods 2015-07-19 15:29:57 +02:00
CrushedPixel
d6c03644b8 Created GuiOutsideClickableElement interface for GuiElements that can be deselected/closed by clicking outside of them and properly forward mouse clicks to these elements 2015-07-19 14:42:12 +02:00
johni0702
7a7766c20f Fix bug where thePlayer is reset to the position of its bounding box causing the suffocation overlay to be displayed for a frame 2015-07-19 13:39:41 +02:00
CrushedPixel
07fc3ceced Rewrote GuiRenderSettings to use the semi-new Gui System and have three instead of two pages (Video Settings, Advanced Settings, Command Line Settings) 2015-07-19 13:27:37 +02:00
CrushedPixel
0dc4ddca08 Reduced Constructor sets GuiAdvancedTextField's height 2015-07-19 13:27:37 +02:00
CrushedPixel
5087de8cd5 GuiColorPicker#hoveringPicker only returns true if the GuiElement is enabled 2015-07-19 13:27:37 +02:00
CrushedPixel
51814e143b Created dummy GuiOverlayElement interface for ComposedElement to determine which Elements to draw last
Added methods to retrieve position and size from a GuiElement
Added draw() method with option to override hovered boolean to GuiElement interface and implemented it. This is required for GuiAdvancedButtons which would be tinted blue (as if hovered) even though an overlying GuiElement (e.g. GuiDropdown) was hovered
2015-07-19 13:27:37 +02:00
CrushedPixel
33bed3e6a5 Made GuiReplaySpeedSlider a subclass of GuiAdvancedButton 2015-07-19 13:27:37 +02:00
CrushedPixel
23b77b2375 Right-Clicking a Position Keyframe teleports the Camera to that Keyframe's Position, Right-Clicking a Time Keyframe jumps to its Timestamp | https://trello.com/c/dL48nHyG/
DRYed closest Keyframe calculation on GuiKeyframeTimeline
DRYed closest Keyframe calculation on GuiMarkerTimeline
2015-07-19 13:27:37 +02:00
CrushedPixel
b4eb366688 Added more Constructors to GuiAdvancedTextField 2015-07-19 13:27:37 +02:00
CrushedPixel
b851632ffb added getWidth() method to GuiString which returns the width of the drawn String (calculated using FontRenderer#getStringWidth()) 2015-07-19 13:27:37 +02:00
CrushedPixel
3c7c1198cc Made GuiColorPicker a subclass of GuiAdvancedButton and call pickerToggled() method from own click handler methods 2015-07-19 13:27:36 +02:00
CrushedPixel
5b167351b0 ComposedElement initially sorts its elements and respects their elements' y position if both are Dropdowns 2015-07-19 13:27:36 +02:00
CrushedPixel
3299986e18 Made GuiVideoFramerateSlider a subclass of GuiAdvancedButton and added missing @Override annotations 2015-07-19 13:27:36 +02:00
CrushedPixel
708201c456 Added CheckBoxListener for GuiAdvancedCheckBox 2015-07-19 13:27:36 +02:00
johni0702
046b686837 Fix GuiDropdown not functioning in GuiReplayEditor 2015-07-18 17:50:43 +02:00
johni0702
d61e82ef3b Add PBO frame capturer for stereoscopic, cubic and equirectangular rendering 2015-07-18 16:37:11 +02:00
johni0702
2a9cc745c0 Fix exceptions not being handled correctly when rendering from command line
Fix export args and file not being set when rendering from command line
2015-07-18 16:37:11 +02:00
johni0702
c3bc06cab0 Add additional checks in PBO methods 2015-07-18 16:37:11 +02:00
johni0702
d7b8339f22 Fix infinite loop in exception handling 2015-07-18 16:37:11 +02:00
CrushedPixel
8f82ca5434 Implemented NoOverlay interface for some more GUIs 2015-07-17 16:21:23 +02:00
CrushedPixel
2f78dc5e27 Don't render indicators in GuiReplayOverlay if current screen implements NoOverlay 2015-07-17 16:21:02 +02:00
CrushedPixel
d5be3b8eb6 Fix typo in Renderer Descriptions (useable -> usable) 2015-07-17 16:20:38 +02:00
CrushedPixel
33ff72b878 Wait until world has loaded when previewing a Camera Path
Clean up unused fields and thus unnecessary methods in ReplayProcess
2015-07-17 14:35:58 +02:00
CrushedPixel
83b91b7d8e CustomImageObject#getResourceLocation() should return null if it's not registered yet (thread safety) 2015-07-17 13:33:54 +02:00
CrushedPixel
edf2f9ce13 Undo removed ReplayHandler#spectateCamera() call which was inherited from ReplayHandler#setCameraEntity() call which was removed in commit ef39c74 2015-07-17 13:33:54 +02:00
CrushedPixel
a46a223070 Cleaned up OpenGL calls in CustomObjectRenderer and PathPreviewRenderer 2015-07-17 13:33:54 +02:00
johni0702
fdd2c7ecf7 Allow all camera rotation axis to be ignored separately during rendering 2015-07-17 12:43:46 +02:00
CrushedPixel
d360ee5e2e Moved Add and Remove Buttons in GuiObjectManager 5px upwards 2015-07-17 12:27:55 +02:00
CrushedPixel
7094a18106 Close Toolbar in GuiReplayOverlay when GuiMouseInput is closed 2015-07-17 12:16:10 +02:00
CrushedPixel
efd82861c2 Rename mislabeled TimestampUtils#getMinutesFromTimestamp Method to TimestampUtils#timestampToWholeMinutes 2015-07-17 12:16:09 +02:00
johni0702
71952e94dd Fix getCameraEntity not being thread safe (concurrent event registration) even though called from multiple threads 2015-07-17 11:48:55 +02:00
CrushedPixel
a55173ffc7 Marker Keyframes are initially selected after creating them and get properly deselected when removing them 2015-07-17 02:30:23 +02:00
CrushedPixel
0614b5e750 Prevent "Synchronize Timelines" feature from exceeding the Keyframe Timeline length 2015-07-17 02:25:51 +02:00
CrushedPixel
21938250f6 Keyframe Timeline Length is a Magic Constant 2015-07-17 02:25:29 +02:00
CrushedPixel
d708360c63 Render Camera Indicator in lower right corner if Path Preview is active 2015-07-17 02:12:40 +02:00