1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 22:48:34 +01:00
Commit graph

1085 commits

Author SHA1 Message Date
Ellpeck
00e0ef8bc6 update 2020-01-01 13:00:33 +01:00
Ellpeck
56fbc77df7 added flipping to tile collisions, as well as an option to make custom collisions 2020-01-01 12:41:48 +01:00
Ellpeck
45c725f5ef added tile flipping to the renderer 2020-01-01 12:18:35 +01:00
Ellpeck
43b665642d made tooltips be panels and remove the weird paragraph background thing 2019-12-31 14:08:13 +01:00
Ellpeck
e2682e866d added the layer to collision infos 2019-12-30 19:19:40 +01:00
Ellpeck
da603c5f05 made custom draw groups be a bit easier to use 2019-12-29 19:28:56 +01:00
Ellpeck
bbdb424cbe made all groups update their areas manually since they don't draw it 2019-12-29 15:25:33 +01:00
Ellpeck
31d805fc04 fixed elements sometimes not notifying their auto-adjusting parents 2019-12-29 15:18:49 +01:00
Ellpeck
fb48386aad actually use math 2019-12-29 12:05:49 +01:00
Ellpeck
7dbc5dd608 added angle method to direction 2019-12-29 11:41:11 +01:00
Ellpeck
73f9653ddc made tooltips groups so that more stuff can be added to them easily 2019-12-28 14:23:40 +01:00
Ellpeck
b53588c32e redid that bugfix that I undid with that other bugfix 2019-12-28 12:59:14 +01:00
Ellpeck
7e887031de bleh 2019-12-27 23:10:57 +01:00
Ellpeck
39af38f3d8 fixed ConstrainWorldBounds not always being accurate 2019-12-26 22:46:38 +01:00
Ellpeck
324055d82e bleh 2019-12-26 19:38:54 +01:00
Ellpeck
f3372e93cb made format settings be non-struct-like 2019-12-26 19:34:42 +01:00
Ellpeck
3d0c3cd6d1 made format settings a bit better and also added drop shadow 2019-12-26 19:30:17 +01:00
Ellpeck
e0b83f6644 [breaking change] made the one em string be determined automatically for each font 2019-12-26 19:05:26 +01:00
Ellpeck
f4db1be464 made constrainworldbounds return if it constrained 2019-12-26 13:01:32 +01:00
Ellpeck
937b1757fe fixed stack overflow with auto-sizing elements 2019-12-26 12:49:04 +01:00
Ellpeck
4640a59054 made the scroll bar scroller only render when it actually makes sense 2019-12-26 12:35:47 +01:00
Ellpeck
969db1da1e made the info box disallow background selection 2019-12-25 19:16:07 +01:00
Ellpeck
f7810c8204 this was unintended 2019-12-25 12:19:55 +01:00
Ellpeck
ac8b09e74f improve ui root sorting 2019-12-25 12:15:55 +01:00
Ellpeck
a0f0859ba2 don't consider hidden elements for the active root 2019-12-25 00:28:08 +01:00
Ellpeck
d70e89aff6 fixed what I just did 2019-12-24 17:52:16 +01:00
Ellpeck
fff25c6c12 made panels without content not crash 2019-12-24 17:48:57 +01:00
Ellpeck
a53179e2d8 right 2019-12-20 23:35:38 +01:00
Ellpeck
9781722ae4 make json writing deal with defaults easily 2019-12-20 23:32:40 +01:00
Ellpeck
1d56cbd8eb added a basic object serialization handler 2019-12-20 22:02:17 +01:00
Ellpeck
9b28ff4113 use decompress for json saving instead 2019-12-20 17:58:56 +01:00
Ellpeck
8968ec3ce0 fixed write and read object 2019-12-20 15:07:25 +01:00
Ellpeck
8520ae8901 added mlem.data 2019-12-20 15:03:33 +01:00
Ellpeck
ca258fe41a made paragraphs and images use their callbacks when updating their area so that the first visible frame already has the right data 2019-12-19 14:04:50 +01:00
Ellpeck
c704aa6160 allow children to be reversed 2019-12-19 12:52:31 +01:00
Ellpeck
6faba05b24 made elements be able to set both width and height automatically 2019-12-19 12:50:50 +01:00
Ellpeck
c6fff090e6 added an easy way to find objects on a tiled map 2019-12-19 00:27:56 +01:00
Ellpeck
da244dd33e added a utility method to get all tiles from a position in tiled 2019-12-17 21:02:09 +01:00
Ellpeck
8dcf3d8e63 made disabling scroll bar hiding easier for the panel 2019-12-14 14:10:38 +01:00
Ellpeck
b83d7f3526 whoops 2019-12-14 14:07:00 +01:00
Ellpeck
dbe7980add made padding a lot more versatile in mlem.ui 2019-12-14 14:00:12 +01:00
Ellpeck
b8e73717f4 made panels update their draw area properly in drawearly 2019-12-12 22:56:49 +01:00
Ellpeck
1e62513e25 added a way to sort an element's children 2019-12-12 21:14:41 +01:00
Ellpeck
8d3afcf276 made CanSelectContent be set automatically by the root through adding more events 2019-12-08 21:49:15 +01:00
Ellpeck
7118e323b3 don't notify when moving to back or front 2019-12-07 18:41:58 +01:00
Ellpeck
d3dc40600e added stub tileset tiles to make interaction with tiled easier 2019-12-07 15:17:40 +01:00
Ellpeck
e994793ad3 added a utility class that stores a layer, an x and a y 2019-12-07 13:00:50 +01:00
Ellpeck
3298608141 add a tiled method to get the index of a layer 2019-12-07 12:56:01 +01:00
Ellpeck
7952ba1582 made the individual tile map renderer show animations 2019-12-07 02:24:02 +01:00
Ellpeck
f93117622c made collision infos update properly on tile removal 2019-12-07 02:08:21 +01:00