Commit graph

35 commits

Author SHA1 Message Date
Sollace
b3b165f803 Separate the horn and magic checks 2019-07-24 23:37:22 +02:00
Sollace
73db95a777 Add a fix for floating pegasi. 2019-07-22 20:07:11 +02:00
Sollace
0056d078c9 Close the resource 2019-07-16 14:36:15 +02:00
Sollace
0dab332a0e Move everything related to PonyData parsing into the PonyData class 2019-07-16 14:20:18 +02:00
Sollace
b1f7cda8cc Fixed various bugs with sneaking placement 2019-07-15 09:37:43 +02:00
Matthew Messinger
b3d849fdc9 Throw exceptions in Pony.getBufferedImage().
If an exception is thrown, don't save the Pony.
2019-07-13 20:11:14 -04:00
Sollace
3355a7cb8a Check empty image dimensions, and actually attempt to use the correct format 2019-07-14 01:56:08 +02:00
Sollace
1c33cc7461 This is why I shouldn't be up at 1AM writing code... 2019-07-14 01:34:14 +02:00
Sollace
857e06198a Return null for invalid resources rather than the missing texture (avoids de-allocating the missing texture's image) 2019-07-14 01:29:11 +02:00
Sollace
310e713d71 Remove the cache again 2019-07-14 01:23:14 +02:00
Matthew Messinger
e3a496be16 Make less calls to Pony.getBufferedImage() and actually close it. 2019-07-13 19:13:46 -04:00
Sollace
1911a6dde8 This is never going to be null. We have to check for the missing sprite instead. -_- 2019-07-14 01:10:42 +02:00
Sollace
9d481d90a0 Also catch the original exception 2019-07-14 01:07:16 +02:00
Sollace
752fd06389 This isn't so much a memory leak as an open faucet. 2019-07-14 00:51:53 +02:00
Sollace
4d81b3b449 Update Kirin 2019-07-11 19:20:13 +02:00
Matthew Messinger
f61090d9c9 Add a proper callback for clearing the skin cache 2019-07-10 21:32:36 -04:00
Matthew Messinger
9c344c1554 Use MineLittlePony as entrypoint and move it to client package
If a server side mod needs to use it, a proper API class should be made.
2019-07-07 22:47:13 -04:00
Matthew Messinger
d8e1e08df4 General code cleanup.
Generic types
Unnecessary casts
Unused imports
2019-07-07 17:21:28 -04:00
Sollace
75f60a0185 Can't call this from a background thread, only the main one. 2019-07-06 21:59:19 +02:00
Matthew Messinger
f8a0bc308c Improve pony resolution 2019-07-03 22:06:00 -04:00
Matthew Messinger
5791a021ef Fix GL loading
Works for resources and other player skins, broken for own skin
2019-07-03 16:27:43 -04:00
Matthew Messinger
0bcd2c1968 Move most hdskins related classes to new sourceset 2019-07-03 16:12:44 -04:00
Matthew Messinger
50686dd1b4 Pony: Fetch skin texture directly from the GL matrix 2019-07-03 15:37:47 -04:00
Sollace
3f1744d98a Fixed eye position not being updated when joining a world, or when skins load 2019-07-03 15:58:40 +02:00
Sollace
9641bbfe5c Register the pony manager at the correct time 2019-07-03 14:16:03 +02:00
Sollace
e960aad9d5 Move all HDSkins references to one place 2019-06-30 12:05:38 +02:00
Sollace
2950a4de0a Update to 1.14.3 2019-06-27 19:28:21 +02:00
Sollace
833f11b4e9 Fixed head position and animation whilst swimming/crawling 2019-06-27 10:27:34 +02:00
Matthew Messinger
41580d058b Remove Chronic in favor for guava caches 2019-06-24 20:34:55 -04:00
Sollace
00fec6900a Fixed resource reloading 2019-06-11 15:15:44 +02:00
Sollace
11391b6ed3 Fixed bugs with the debug bounding box 2019-06-11 14:10:36 +02:00
Sollace
f3f980d6c3 Added fillycam 2019-06-05 14:54:38 +02:00
Sollace
1734505ac4 I now know what these parameters are! 2019-06-01 20:37:02 +02:00
Sollace
6e3ae73d89 Update swimming mechanics to be in line with 1.13 2019-05-29 20:46:10 +02:00
Sollace
078fae82f3 Recombine sourcesets. Eh. 2019-05-28 12:18:30 +02:00