Commit Graph

1026 Commits

Author SHA1 Message Date
johni0702
ee7e118dfd Fix layering in GUI API 2015-10-12 22:03:23 +02:00
johni0702
0b596f0e1f Fix coloring after drawing string or colored rects 2015-10-12 21:01:17 +02:00
johni0702
801200028a setMinSize should not strictly override calcMinSize 2015-10-11 17:45:23 +02:00
johni0702
4dfc2720a6 Auto-sort gui resource loading list 2015-10-11 17:44:55 +02:00
johni0702
01f9fcce4e Fix renaming to wrong extension 2015-10-11 17:06:46 +02:00
johni0702
475212449a Add resource loading, scrollable container
Add Consumer interface
Add additional static Colors
2015-10-11 14:36:07 +02:00
johni0702
375f026a41 Add Loadable, called when a GUI should load things 2015-10-11 14:28:28 +02:00
johni0702
0e279ab737 Fix order of absolute/relative point conversion 2015-10-11 14:09:16 +02:00
johni0702
07692d7879 Removing a child should also unset its parent 2015-10-11 11:46:17 +02:00
johni0702
d8a3df1f02 Allow sorting of children of a GuiContainer 2015-10-11 11:10:34 +02:00
johni0702
d64ea95089 Prevent drawing outside of renderer via glScissor 2015-10-11 10:42:56 +02:00
johni0702
1563af3d46 Add support for scrolling in new GUI API 2015-10-11 10:40:13 +02:00
johni0702
de322e4b6e Add background color to Containers 2015-10-11 10:37:40 +02:00
johni0702
4e901465fa Fix NPE when removing elements before first draw 2015-10-11 10:36:14 +02:00
johni0702
2b0ada5f65 Use HorizontalLayout as default layout 2015-10-11 10:32:28 +02:00
johni0702
d70998bab6 Fix mouse releasing being processed as clicking 2015-10-11 10:11:15 +02:00
johni0702
12456ae47c Allow copying of GuiImages without recreating the texture 2015-10-10 19:54:18 +02:00
johni0702
efde8fde67 Fix drawing order by using Linked maps in layouts 2015-10-10 17:29:28 +02:00
johni0702
f2581ff123 Add safety checks to GridLayout so we fail-fast 2015-10-10 17:26:16 +02:00
johni0702
2c776adc88 Rewrite GuiRenameReplay for new GUI API 2015-10-09 17:06:40 +02:00
johni0702
f3a90cfa56 Only apply full brightness when in replay 2015-10-09 16:04:49 +02:00
johni0702
a074ed115c Add indicator for full brightness 2015-10-09 16:04:20 +02:00
johni0702
fefcdb1885 Resize replay gui asset to standard 256x256 2015-10-09 08:52:28 +02:00
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