Commit Graph
100 Commits
Author SHA1 Message Date
johni0702 0c9e705a15 Always open popup on top-most container 2015-11-27 15:22:45 +01:00
johni0702 6ee3ef229a Re-implement GuiTextField without depending on the Minecraft Text Field 2015-11-27 15:22:06 +01:00
johni0702 859e9bb937 Fix GuiPanel builder always setting width and height 2015-11-27 09:34:39 +01:00
johni0702 41db8594a5 Fix my grammar 2015-11-14 19:15:24 +01:00
johni0702 393a08e2da Save modifications of downloaded replays to separate file 2015-11-14 17:48:24 +01:00
johni0702 48fb3e6f82 Fix crash due to invisible settings getting localized 2015-11-14 16:45:28 +01:00
johni0702 7c8dde3322 Add online (aka ReplayCenter) module
Add localization extra (formally known as LocalizedResourcePack)
Add version checker extra
2015-11-14 15:38:55 +01:00
johni0702 5e5172fd3f Reset timer speed when exiting replay 2015-11-14 15:33:54 +01:00
johni0702 563b3a3873 Fix generics in GuiScreen#from 2015-11-14 14:43:39 +01:00
johni0702 eacf6bb9fe Return AbstractGuiScreen instead of GuiScreen from GuiScreen#from 2015-11-14 14:32:41 +01:00
johni0702 b27095b350 Return null from GuiScreen#from(mc.GuiScreen) in case of failure 2015-11-14 14:30:52 +01:00
johni0702 f7d47b8888 Allow wrapping of Minecraft GuiScreen for use of toMinecraft() and display() 2015-11-14 14:27:33 +01:00
johni0702 eeeb986502 Fix NPE in text field if no text-change-listener is set 2015-11-14 14:11:09 +01:00
johni0702 0623bcaac5 Only draw popup background on layer 0 2015-11-14 14:08:11 +01:00
johni0702 7e943251e2 Set layer for every popup, not just GuiYesNoPopup 2015-11-14 13:52:45 +01:00
johni0702 22b91c1301 Split popup opening from instantiation, allows reopening 2015-11-14 13:41:46 +01:00
johni0702 387b615ced Fix wrapped text field rendering out of frame 2015-11-14 13:40:31 +01:00
johni0702 ca5a243775 Remove obsolete player invisibility code 2015-11-13 16:34:48 +01:00
johni0702 97d375dfce Move UriScheme to extras module 2015-11-13 16:00:27 +01:00
johni0702 868d873fe8 Add player overview extra 2015-11-08 17:56:48 +01:00
johni0702 b929bb24d8 Add clickable GUI container 2015-11-08 17:12:05 +01:00
johni0702 b490531511 Add spectating 2015-11-08 12:38:42 +01:00
johni0702 14941c15bb Add markers to timeline 2015-11-08 11:25:26 +01:00
johni0702 dfd133d84f Allow creating markers during replay 2015-11-08 09:54:16 +01:00
johni0702 3323f998e7 Allow registration of raw key handler 2015-11-08 09:23:12 +01:00
johni0702 491ab013f1 Fix scissor test being enabled while no area is set 2015-11-08 08:59:35 +01:00
johni0702 b2a9496d8f Increase general speed of VanillaCameraController 2015-11-07 22:25:41 +01:00
johni0702 fb5cf01b7f Allow changing of camera controller 2015-11-07 22:18:47 +01:00
johni0702 305084f874 Add SettingsChangedEvent 2015-11-07 22:17:32 +01:00
johni0702 08be4f0a81 Add multiple choice settings keys 2015-11-07 22:04:00 +01:00
johni0702 3f78b7218f Add non-strict mode to offset renderer so containers don't limit higher layers 2015-11-07 22:02:53 +01:00
johni0702 3aa22b33a1 Fix settings category in replay module 2015-11-07 19:19:22 +01:00
johni0702 30e85b7096 Add callback for selection in dropdown GUIs 2015-11-07 19:00:55 +01:00
johni0702 a6f9e06c83 Add GuiDropdownMenu 2015-11-07 18:52:09 +01:00
johni0702 c2686f5d34 Add camera movement 2015-11-07 17:43:02 +01:00
johni0702 6c93b7f0c6 Only click button once 2015-11-07 14:40:13 +01:00
johni0702 4acfcdf720 Add system property to disable language loading from the (outdated) website when developing 2015-10-12 22:15:50 +02:00
johni0702 593a518fab Rewrite GuiReplayViewer
Move rename replay gui as popup into replay viewer
2015-10-12 22:07:31 +02:00
johni0702 03f37eda81 Add support for popups to the GUI API 2015-10-12 22:04:21 +02:00
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
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
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
johni0702 aee9d6b232 Rewrite authentication handling
Fix logout not working until restart
2015-08-31 16:16:22 +02:00
johni0702 d72d12783f Open mouse input gui when command key is pressed 2015-08-31 13:41:50 +02:00
johni0702 6b6f6732d5 Add basic replay restriction system (no restrictions yet) 2015-08-30 15:54:48 +02:00
johni0702 2bc79c0140 Parse Minecraft version from CrashReport instead of using Minecraft.getVersion()
Using the getVersion() method doesn't produce consistent results (e.g. MultiMC5 changes the value). The Minecraft version in the CrashReport is hard-coded and should therefore be rather consistent.
2015-08-30 14:57:06 +02:00
johni0702 5d921fbb58 Disable camera movement during path preview 2015-08-23 11:06:33 +02:00
johni0702 d9d5190cbb Fix camera spectating entity of previous world when restarting replay 2015-08-20 16:20:10 +02:00
johni0702 c019521235 Buffer sounds in memory to support mark/reset 2015-08-20 15:25:24 +02:00
johni0702 2053432f26 Apparently ZipFile isn't Closeable in 1.6 (it is in 1.7) even though Closeable was added in 1.5 2015-08-20 15:04:05 +02:00
johni0702 02566b4dba Do not use Apache ZipFile as it fails to read some ZIPs created under special conditions (java.util.ZipFile works) 2015-08-20 14:54:29 +02:00
johni0702 93ddc36484 Disable spectator menu during replay 2015-08-20 14:29:09 +02:00
johni0702 2b843a567d Make sure the SpawnPlayerPacket is never injected before the PlayerListItem 2015-08-19 15:03:52 +02:00
johni0702 c6a4719850 Fix nametag rotation when spectating from animals (vanilla bug) 2015-08-19 14:24:19 +02:00
johni0702 a3d3c2dddc Fix spectating being quit on world change / respawn 2015-08-19 12:22:55 +02:00
johni0702 a9bb01be5b Fail silent when language has no translations 2015-08-19 12:22:55 +02:00
johni0702 139553c15b Sort assets by name in AssetManager and ObjectManager 2015-08-19 12:22:55 +02:00
johni0702 cd19a768a1 Add option for showing chat messages 2015-08-19 12:22:55 +02:00
johni0702 d1e55266e2 The fake player now has the same entity id as the recording player as assigned by the server
This fixes arrows bumping into recording player in replay
ReplaySender converts old replays on the fly
Do not insert PlayerListEntry as it's already contained in the replay
2015-08-19 12:22:55 +02:00
johni0702 d687748629 The camera entity is now thePlayer 2015-08-19 12:22:55 +02:00
johni0702 dcd4cbdfaa Remove debug output (shame on me) 2015-08-19 12:22:54 +02:00
johni0702 6da06f1000 Fix arrows being invisible when viewed from specific angles 2015-08-19 12:22:54 +02:00
johni0702 bef4e7e128 Version 1.0.3 2015-08-16 22:21:47 +02:00
johni0702 8e76d5677e Fix players staying invisible even though replay has ended 2015-08-16 21:04:51 +02:00
johni0702 66a9282875 Update ReplayStudio, fixes some block artifacts remaining after world changes 2015-08-16 18:02:15 +02:00