Commit Graph

918 Commits

Author SHA1 Message Date
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
CrushedPixel
eb8d9f5844 Fix comparison of Spectator Keyframe's Entity IDs using Integer objects, thus failing because of the use of == 2015-09-04 19:13:17 +02:00
CrushedPixel
1e0f5de800 Correctly parse Keyframe Presets with the new Spectator Keyframes from JSON 2015-09-04 17:51:31 +02:00
CrushedPixel
1b8c5dc47a In first-person spectator mode, render the items in the players hand if it's invisible, only the hand should be invisible 2015-09-04 17:45:27 +02:00
CrushedPixel
2f522c68fe Instead of using AdvancedPosition objects with a value for spectatedEntityID, use SpectatorData objects for Spectator Keyframes. This allows us to add more options to Spectator Keyframes. 2015-09-04 17:38:10 +02:00
CrushedPixel
e0785b4f25 Don't render an Entity's nametag if it's invisible and the renderInvisible setting is set to false 2015-09-04 17:32:58 +02:00
CrushedPixel
409c215937 Do not completely hide invisible players in the Replay (their armor wasn't rendered) 2015-09-04 08:34:17 +02:00
CrushedPixel
9d4fdccb0f Added option to completely hide invisible entities like Armor Stands instead of them being rendered semi-transparent 2015-09-04 01:32:57 +02:00
CrushedPixel
89e51ef515 Version 1.0.4 2015-09-02 17:11:13 +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
CrushedPixel
97fad83868 Fix direct calls to drawTextBox in GuiEntryList and GuiDropdown incorrectly rendering the Gui Element. Direct calls to drawTextBox are nevertheless deprecated from now on. 2015-09-02 15:40:56 +02:00
CrushedPixel
03aead65b6 Gigantic warning cleanup 2015-08-31 17:49:21 +02:00
CrushedPixel
dd1aab16ef Fixed the probably most retarded thing one of us has ever done (and I think it wasn't me this time) - connecting Replays now works again 2015-08-31 17:48:14 +02:00
CrushedPixel
5eed7a8246 Fixed NPE when trying to open a downloaded file with an empty replay_recordings folder 2015-08-31 17:48:14 +02:00
CrushedPixel
e0259d0c5a Some general warning cleanup 2015-08-31 17:48:14 +02:00
CrushedPixel
6d7946d8a7 Properly respect expanded state of GuiDropdown in its isHovering() method 2015-08-31 17:48:14 +02:00
CrushedPixel
e1d307cfcf Only poll Mouse Wheel change if hovering over GuiDropdown/GuiEntryList to avoid multiple Elements clashing 2015-08-31 17:48:14 +02:00
CrushedPixel
635e821688 Removed unneccessary import in GuiObjectManager (yay, no warnings!) 2015-08-31 17:48:14 +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
CrushedPixel
bc7a67cda3 Revert "Locally added removed Forge Methods from 1.7 which allow us to load .obj and Techne Models"
This reverts commit 6712e8c488.
2015-08-30 21:11:38 +02:00
CrushedPixel
ca6cfa6b86 Increased maximum Password length from 32 to 1024 2015-08-30 21:10:48 +02:00
CrushedPixel
6712e8c488 Locally added removed Forge Methods from 1.7 which allow us to load .obj and Techne Models 2015-08-30 21:10:48 +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
CrushedPixel
d31128fc11 Fix GuiReplayOverlay not resizing upon Gui Scale change (did it for you, Johni) 2015-08-22 16:35:18 +02:00
CrushedPixel
959a4c3ce1 Fixed GuiReplaySpeedSlider's Display String incorrectly resetting upon Window resize 2015-08-22 16:35:18 +02:00
CrushedPixel
6f35b175fd Some more cleanup in MinecraftTicker 2015-08-22 16:35:17 +02:00
CrushedPixel
989dbd76e5 Remove unnecessary method calls in MinecraftTicker (mainly Spectator Mod and Item Pick related) 2015-08-22 16:35:17 +02:00
CrushedPixel
605526e524 Clean up unnecessary value assignment in GuiReplaySpeedSlider Constructor, which is overridden by calling the reset() method two statements later 2015-08-22 16:35:17 +02:00
CrushedPixel
fd5e351f82 The TickAndRenderListener already handles the Keybindings, no need to do so in GuiMouseInput 2015-08-22 16:35:17 +02:00
CrushedPixel
e4b52c62f8 In the TickAndRenderListenener, replace the tick() Method which listens to all TickEvents with a onRenderTick Method which listens only to RenderTickEvents. This way, Key and Mouse Inputs aren't fired more frequently while the Replay is not paused. (Camera Roll has the same speed now while paused and unpaused) 2015-08-22 16:35:17 +02:00
CrushedPixel
b63f19d082 Remove unnecessary calls to LWJGL Keyboard functions in KeyInputHandler 2015-08-22 16:35:17 +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