Commit Graph

104 Commits

Author SHA1 Message Date
CrushedPixel
0bb335f692 Added Callback before clearing Keyframes | https://trello.com/c/ZzOk0ju1/ 2015-07-03 12:12:33 +02:00
CrushedPixel
d5007692de Opens "Please wait" GUI Screen if Replay needs to be edited by ReplayFileAppender
Added ReplayExitEvent
2015-07-02 13:24:50 +02:00
johni0702
3de7394a0c Compare int and Integer using Objects.equals to prevent NPE 2015-06-29 22:28:58 +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
CrushedPixel
540588125b Allow Camera Tilt Reset while other Keys (e.g. Movement) are pressed 2015-06-29 21:25:00 +02:00
CrushedPixel
7c46259f54 Does not render Players at all if they're invisible (e.g. Spectator Mode) - resolving https://trello.com/c/Hy1NaAKu/
Does not render crosshair if hovering over invisible players
2015-06-29 15:44:01 +02:00
CrushedPixel
fb12119e5c While Recording, only insert S19PacketEntityHeadLook for recording player if value actually changed | https://trello.com/c/9MZeTBgj/ 2015-06-29 15:35:12 +02:00
CrushedPixel
f52ed6d92b Added a static helper class to determine whether an Entity can be spectated or not - this results in DRY code. While doing so, excluded mc.thePlayer from the spectateable Entities, resolving https://trello.com/c/anFRmsfM/ 2015-06-29 15:22:52 +02:00
CrushedPixel
45485b9367 Only displays Crosshair if hovered entity can be spectated | https://trello.com/c/CJBVrB2O/
Fixes background of lowest line of chat being opaque if Crosshair is rendered | https://trello.com/c/66veZRVH/
2015-06-29 15:07:23 +02:00
CrushedPixel
a101d7a311 Only render Crosshair if hovered Entity can be spectated | https://trello.com/c/CJBVrB2O/ 2015-06-29 14:31:44 +02:00
CrushedPixel
36c38ddfd3 Rewrote Camera Movement to only respect previous motion direction | Fixes https://trello.com/c/y7nIqj47/ 2015-06-29 12:54:56 +02:00
CrushedPixel
58d7018480 Implemented https://trello.com/c/zflHjAQm/109 | Make Spectating possible using left mouse button ("normal" Spectator Mode behaviour) 2015-06-29 12:25:48 +02:00
CrushedPixel
791f4a71d2 Fixed https://trello.com/c/SHnKmEbd/108 (Spectating Players isn't possible using right click) 2015-06-29 12:22:31 +02:00
CrushedPixel
e883f958cb Fixed possible NPE in Minecraft#sendClickBlockToController caused by MinecraftTicker 2015-06-22 13:20:06 +02:00
johni0702
ced45bb66f Improve cubic to equirectangular conversion by only computing pixel locations once
Fix empty try-catch in MinecraftTicker
2015-06-17 10:23:19 +02:00
CrushedPixel
163faddded Only allows Living Entities and Paintings to be spectated 2015-06-16 22:36:56 +02:00
CrushedPixel
7f47e40ef4 Custom Key inputs are only handled when no GUI (or GuiMouseInput) open 2015-06-16 21:36:23 +02:00
johni0702
b0f253538c Fix crash on exit of replay (no longer processing clicks mid-rendering) and OpenGL error warnings
Remove MCTimerHandler, instead always install the ReplayTimer
2015-06-16 19:33:48 +02:00
CrushedPixel
3341b3e681 Added Keybinding to toggle Path Preview Visibility 2015-06-15 14:42:41 +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
21be99f2a1 Changed KeyInputHandler not to oppress Key Inputs when not in Replay 2015-06-12 22:50:08 +02:00
johni0702
f1327dbdc1 Add method to TooltipRenderer which accepts Color instead of ARGB int 2015-06-10 18:48:48 +02:00
CrushedPixel
0390533f9b Markers can now be removed using the M key (in the replay) 2015-06-09 23:20:47 +02:00
CrushedPixel
d891436427 Markers are now being saved upon exiting the Replay 2015-06-09 23:16:45 +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
johni0702
20b4c9b7bd Only handle key inputs during replay 2015-06-04 14:50:17 +02:00
CrushedPixel
ccf3970bcc Fixed ArrayIndexOutOfBoundsException when iterating over MouseInput KeyBindings 2015-06-03 20:33:46 +02:00
CrushedPixel
0dbc18c662 Made Camera Movement Speed adjustable by Mousewheel 2015-06-03 02:53:30 +02:00
CrushedPixel
0cca67a552 Rewrote Camera Movement to be FPS consistent
In the future, CameraEntity.MAX_SPEED (and derived variables) can be modified to change the Camera Movement Speed and Acceleration.
2015-06-03 02:30:40 +02:00
CrushedPixel
3576b9ed76 Right clicking an Entity now spectates it 2015-06-02 19:05:44 +02:00
CrushedPixel
479523d883 Fixed Race Condition which locked the user in the GuiReplaySaving caused by Minecraft opening the GUI in a delayed thread 2015-06-01 19:44:34 +02:00
CrushedPixel
87223fcc0e Whenever a Replay File is being written or modified and the user is not in-game, a GuiReplaySaving is opened and asks him to wait 2015-06-01 12:14:22 +02:00
CrushedPixel
7aaae3ea5c Removed the opening of GuiReplaySaving to allow for more general approach 2015-06-01 11:05:22 +02:00
CrushedPixel
39fe6dec4e Added TooltipRenderer to mimic Item Tooltip Rendering for hover texts and replaced some error/info messages to use the TooltipRenderer 2015-05-31 17:13:21 +02:00
CrushedPixel
e1012cfefc Fixed NPE in GuiReplayEditor when no Replays are available (returns to main menu)
Renamed .gui.replaystudio package to resemble the new GUI name (.gui.replayeditor)
2015-05-31 11:46:14 +02:00
johni0702
9e6d03d342 Fix compile error (missing method, removed in 9f3a97f) 2015-05-26 01:14:55 +02:00
johni0702
9f3a97f65c Cleanup, relocate and split up GuiReplayOverlay
Merge gui resources into one texture
2015-05-26 01:08:22 +02:00
CrushedPixel
9e12c0329d Replay is now definitely exited once a Player returns to the Main screen 2015-05-24 13:49:58 +02:00
CrushedPixel
2b3bc2787a Added GuiRenderSettings to customize rendering 2015-05-24 01:26:01 +02:00
johni0702
18f22f57d0 Rework rendering
Adds default, stereoscopic, tiling, cubic and equirectangular frame rendering
2015-05-23 14:58:34 +02:00
johni0702
361ba73978 Pause after synchronous jumping 2015-05-23 14:35:05 +02:00
johni0702
113c066b1e Do not render additional frames while jumping 2015-05-23 14:28:42 +02:00
CrushedPixel
d133072305 Fixed NPE when using wrong instance check (It was late, don't blame me) 2015-05-23 14:28:03 +02:00
CrushedPixel
f9c3448cd5 GuiEditKeyframe now allows the user to set the Keyframe's exact position on the timeline 2015-05-23 00:21:49 +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
03e176b9ec Moved ResourceHelper to registry package
Properly used ResourceHelper.freeAllResources() in onGuiClosed instead of GuiEventHandler
2015-05-21 22:23:07 +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
ce9e717d21 Replaced Spectate Selection GUI with Player Overview GUI, added way to hide specific players
Updated Skin File retrieving to new Mojang API

IMPORTANT: clean and rebuild the IntelliJ project, Access Transformers added!
2015-05-20 16:40:17 +02:00
CrushedPixel
4e3b05840e Added 'p' shortcut to Play/Pause the Replay 2015-05-11 23:35:32 +02:00