Jonas Herzig
357501e5db
Qualify some (remapped) field references which the preprocesser ignored
...
The preprocessor should have complained about these but it didn't for
some reason. This commit isn't fixing any imminent bug, it's just
precautionary (and required to compile once the preprocessor is fixed).
2019-06-17 12:04:51 +02:00
Jonas Herzig
679e4805a0
Fix error popup in replay editor being off-screen
2019-06-17 12:01:39 +02:00
Jonas Herzig
e59b5db859
Fix the replay editor now showing non-IO exceptions during processing
...
Instead it just froze which is unhelpful if people don't look at the log.
2019-06-17 11:52:47 +02:00
Jonas Herzig
bf2d72976c
Fix rendering with OF F1_pre13 (via OptiFabric) installed
...
Note that to run it in dev env, one must switch back fabric-api to 0.2.
2019-06-14 22:16:18 +02:00
Jonas Herzig
d02b239e74
Fix incorrect RM config location
...
While I might wish it was `configs`, the world (forge) has settled on
`config`.
2019-06-14 22:09:56 +02:00
Jonas Herzig
73723ed9e2
Guard against broken render settings file
2019-06-14 22:09:56 +02:00
Jonas Herzig
8112c852ef
[1.14] Fix NPE in FullBrightness
...
Turns out fabric's init runs earlier than forge so mc.options is still
null.
Instead we just store mc and access the options when needed (thanks to
the preprocessor that's even shorter than before).
2019-06-14 22:09:56 +02:00
Jonas Herzig
a76268138a
[1.14] Fix recording player's hand not swinging
2019-06-14 22:09:56 +02:00
Jonas Herzig
1eafc3fadf
[1.14] Fix closing of replay not actually fully shutting down the world
2019-06-14 22:09:56 +02:00
Jonas Herzig
4dd02f8299
[1.14] Fix recording not always being stopped
2019-06-14 22:09:56 +02:00
Jonas Herzig
d15fa6a3f9
Fix notice screen back buttons not being hooked up
2019-06-14 22:09:56 +02:00
Jonas Herzig
a840cadfb7
Fix camera event handler staying registered leading to lack of HUD
...
When unloading the camera without killing it first (e.g. jumping back
in time), the event handler wouldn't ever get unregistered.
2019-06-14 22:09:56 +02:00
Jonas Herzig
2a08c11598
[1.7.10] Fix dead lock and NPE when jumping backwards in replays
...
The deadlock is a regression due to login phase inclusion.
Not sure about the NPE, it might have always existed.
2019-06-14 22:09:56 +02:00
Jonas Herzig
c72392fb62
Fix various NPE while in replay on 1.8.9 or below
...
Nulling the world and calling runTick proved to be too volatile, so
instead let's try performing an early return from runTick via mixin.
2019-06-14 14:49:54 +02:00
Jonas Herzig
560982a14a
Fix NPE when replay is closed but camera entity is still being rendered
2019-06-14 14:09:42 +02:00
Jonas Herzig
047f216f73
[1.7.10] Fix event handler visibility
2019-06-14 14:04:52 +02:00
Jonas Herzig
898e29d7a1
[1.7.10] Fix crash when opening replay
...
Looks to be two regressions, one due to login phase inclusion and one
due to simplification of InputReplayTimer.
2019-06-14 13:35:53 +02:00
Jonas Herzig
208b9c1b60
Update to MC 1.14.2
2019-05-28 11:55:58 +02:00
Jonas Herzig
d89655e69a
Remove some more preprocessor statements in favor of remap
2019-05-28 11:25:46 +02:00
Jonas Herzig
f3acf8cde7
Fix realms icon offsets in main menu on 1.14+
2019-05-25 20:07:27 +02:00
Jonas Herzig
e7d96fca2a
Fix lack of hand when spectating player in replay on 1.13+
2019-05-25 19:45:53 +02:00
Jonas Herzig
cfdc4b9713
Remove workaround for super-super-class remapping bug
2019-05-25 18:57:32 +02:00
Jonas Herzig
05aec482c9
Fix classic camera movement (regression from switching to lwjgl vecs)
2019-05-22 11:04:10 +02:00
Jonas Herzig
5e407cc9aa
Fix translations in replay recovery gui
2019-05-22 10:41:41 +02:00
Jonas Herzig
cc9f2828c1
Fix world being set to null on replay restart when in sync mode
2019-05-21 11:04:38 +02:00
Jonas Herzig
8627867b62
Fix render preview (broken due to BGRA changes)
...
Also de-duplicates some code by combining >=1.13 and <1.13
2019-05-21 10:37:39 +02:00
Jonas Herzig
cf30f39b0e
Be explicit about when we expect a login phase and when we don't
2019-05-20 18:57:20 +02:00
Jonas Herzig
2d02948203
Remove old replay editor gui screens
2019-05-20 18:55:07 +02:00
Jonas Herzig
993cdeab73
Work around mixin bug where a non-@Shadow field is treated as @Shadow
...
Note: Happens on 1.12.2 (different mappings than 1.14.1) and probably
only in dev env.
2019-05-20 18:37:40 +02:00
Jonas Herzig
fc1d99f985
Fix mouse input to overlays while the replay is paused in 1.8-1.12.2
2019-05-20 17:34:07 +02:00
Jonas Herzig
3a45147974
Move Mixins which exist specifically for jGui from RM to jGui repo
2019-05-20 17:18:12 +02:00
Jonas Herzig
e5ee6a3d94
Update to MC 1.14.1
...
The ReplayStudio update also fixes an issue with reading the
PlayerListEntryPacket leading to NPEs during Quick Mode.
2019-05-20 14:59:31 +02:00
Jonas Herzig
0e086d91a6
Use own event distribution system instead abusing fabric's one
2019-05-20 14:59:13 +02:00
Jonas Herzig
7cbf7f7c94
Switch core to 1.14 (generated via ./gradlew :1.14:setCoreVersion)
2019-05-10 14:09:22 +02:00
Jonas Herzig
d54905713f
Fix mouse scroll and screenshot mixin targets
2019-05-07 12:48:36 +02:00
Jonas Herzig
6ba05f3d99
Fix resource pack recorder mixin
...
The old targets weren't inside the method but inside an inner class.
2019-05-07 11:59:06 +02:00
Jonas Herzig
2463e5dbf0
Work around bug in fabric's mapping provider (or Mixin itself?)
...
See https://github.com/FabricMC/fabric-mixin-compile-extensions/issues/1
2019-05-07 11:21:33 +02:00
Jonas Herzig
0f9150d7ce
Fix modifier of scroll handler method
2019-05-07 10:30:20 +02:00
Jonas Herzig
2c843f4b45
Fix spectated player hand swinging
2019-05-06 23:31:35 +02:00
Jonas Herzig
6b9b9c2131
Get rid of annotation workaround (by not referencing affected classes)
2019-05-06 23:31:35 +02:00
Jonas Herzig
bd91d0d3bd
Get rid of all the ATs in favor of Mixins
2019-05-06 22:46:21 +02:00
Jonas Herzig
220b22869a
Fix replay initialization with login phase on 1.11.2 and below
...
While this commit also considerably simplifies/cleans the setup
method, the actual fix is that the networkManager is now added
to the channel pipeline with under the "packet_handler" key,
whereas before it was unnamed causing issues when transitioning
to the play state.
2019-05-04 19:22:41 +02:00
Jonas Herzig
af86faeaf9
Fix webm encoding preset (caused by BGRA changes)
2019-05-04 15:27:03 +02:00
Jonas Herzig
3d009e45c7
Update to MC 1.14 / Fabric
2019-05-04 15:27:03 +02:00
Jonas Herzig
17fe5b345f
Replace all ATs with Mixin on 1.13+ in preparation for Fabric
2019-04-26 12:04:33 +02:00
Jonas Herzig
2d572f6740
Get restrictions module "compiling" on 1.13
2019-04-24 19:26:43 +02:00
Jonas Herzig
6f15df8081
Get compat module compiling on 1.13
2019-04-24 19:26:43 +02:00
Jonas Herzig
7cff2e0cf3
Get 1.7.10 working with source remapping
...
Requires changing the 'core' version to 1.8 before compiling
2019-04-24 17:17:53 +02:00
Jonas Herzig
2ee91515f7
Make use of the source remapping feature of The Preprocessor plugin
2019-04-24 15:38:34 +02:00
Jonas Herzig
6127e0a027
Replace dev-only reflection with access transformer entry
2019-04-24 14:03:17 +02:00