1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-16 10:53:11 +01:00
Commit graph

86 commits

Author SHA1 Message Date
Ell
711f60a97e Updated demos and templates to MonoGame 3.8.1 2022-07-25 18:23:16 +02:00
Ell
ba1058748e Allow specifying multiple names for a DataTextureAtlas region 2022-07-18 20:41:19 +02:00
Ell
d32bc0cbfb Added TryGetUpTime, GetUpTime, TryGetTimeSincePress and GetTimeSincePress to InputHandler 2022-06-29 15:57:41 +02:00
Ell
5d7d238630 added MLEM.FNA 2022-06-24 14:01:26 +02:00
Ell
aabb1ed5df added .editorconfig 2022-06-17 18:23:47 +02:00
Ell
59af00c89a Code cleanup, and marked AStar.InfiniteCost as obsolete 2022-06-15 11:38:11 +02:00
Ell
144062fa64 cleaned up sandbox texture atlas 2022-05-29 15:05:23 +02:00
Ell
16053d9d04 further improve runtime texture packer performance by caching the first possible position for a request of a given size 2022-05-28 21:21:25 +02:00
Ell
fdf04a7e77 allow ignoring transparent regions when packing a UniformTextureAtlas 2022-05-27 11:16:16 +02:00
Ell
b9f2de8290 Made RuntimeTexturePacker padding be per request and improve performance by caching texture data 2022-05-25 13:18:25 +02:00
Ell
f0f1d7f8ed added runtime texture region padding and other improvements 2022-05-25 12:37:51 +02:00
Ell
47b58b1942 Premultiply textures when using RawContentManager 2022-05-07 21:39:36 +02:00
Ell
c6fe72bdc9 Multiple improvements to InputHandler key/button repeats:
- Trigger InputHandler key and gamepad repeats for the most recently pressed input
- Added InputHandler.TryGetDownTime and store the down times of inputs
- Removed InputHandler.StoreAllActiveInputs and always store all active inputs
2022-03-25 15:18:57 +01:00
Ell
8fa94f1186 improve gamepad priority calculation 2022-03-14 15:59:22 +01:00
Ell
48a4aa0588 Some keybind and keybind button improvements 2022-03-10 12:39:56 +01:00
Ell
48b96a10a4 Added InputHandler mouse and touch position querying that preserves the game's viewport and fixed the graphics device's viewport being ignored for mouse and touch queries
Closes #1
2022-02-06 22:07:33 +01:00
Ell
c7f021e62d Marked CopyExtensions as obsolete 2022-01-23 21:18:13 +01:00
Ell
04fab568f8 Make Newtonsoft.Json dependency optional for MLEM.Data 2022-01-02 22:51:52 +01:00
Ell
29bbd61f8b reformat and cleanup 2021-12-28 14:56:11 +01:00
Ell
17ed82fc3c Generify GenericFont's string drawing 2021-12-22 12:46:17 +01:00
Ell
103d7c7503 Added a SquishingGroup element to MLEM.Ui 2021-12-11 17:26:55 +01:00
Ell
28a928ec2c Revert "Added PreventSiblingSpill to Element"
This reverts commit 3c74cc4845.
2021-12-11 01:04:35 +01:00
Ell
3c74cc4845 Added PreventSiblingSpill to Element 2021-12-11 00:36:50 +01:00
Ell
a48aa2db93 dependency update 2021-11-29 11:50:43 +01:00
Ell
ca89d03ca4 Some more ui style improvements 2021-10-30 15:33:38 +02:00
Ell
0809cd0218 Added style properties for a lot of hardcoded default element styles 2021-10-29 23:33:15 +02:00
Ell
866dad49ab Use FontStashSharp's built-in LineHeight property for GenericStashFont 2021-08-19 21:43:17 +02:00
Ell
527c4af3e4 updated dependencies 2021-07-20 00:55:36 +02:00
Ell
a76c14b243 Adjusted GenericStashFont line height calculations to result in the same values as GenericSpriteFont 2021-07-19 23:10:27 +02:00
Ell
60c9236cbd added InputsDown and InputsPressed to InputHandler 2021-06-20 23:05:02 +02:00
Ell
d1fbcb9559 added a sprite batch extension to generate a gradient 2021-06-03 21:33:09 +02:00
Ell
b48ed479a0 streamlined TextInputWrapper into MlemPlatform and included link opening 2021-04-23 00:17:46 +02:00
Ell
f3b3feec9b updated non-netstandard projects to net5.0 2021-04-22 02:21:36 +02:00
Ell
8078d41724 simplified GenericFont implementation 2021-04-19 14:02:28 +02:00
Ell
79ba6864e7 fixed stack overflow with nested auto-sized children 2021-03-29 06:41:38 +02:00
Ell
281cce8fba updated remaining dependencies 2021-03-24 22:31:58 +01:00
Ell
0b39928334 minor general cleanup 2021-03-08 15:12:13 +01:00
Ell
dda827b985 added GenericFont compatibility for FontStashSharp 2021-02-27 16:58:36 +01:00
Ell
69d81da70c update demos and sandbox to netcore3.1 which was long overdue 2021-02-18 16:12:44 +01:00
Ell
81d4fb2dd4 also made additional data non-relative for data texture atlas 2021-02-14 18:09:38 +01:00
Ell
c8fd2a4c17 allow storing additional coordinates in a DataTextureAtlas 2021-02-14 18:05:38 +01:00
Ell
106102adf6 clean up unused using statements 2020-12-14 21:51:27 +01:00
Ellpeck
500025090f added a CopyConstructor attribute to CopyExtensions 2020-10-25 20:11:15 +01:00
Ell
333b4b033e Added a fail-safe for elements with conflicting auto-sizing settings so that they don't cause a cryptic stack overflow 2020-09-23 00:41:24 +02:00
Ell
3b382a46cf moved raw content handling to MLEM.Data 2020-09-16 23:39:01 +02:00
Ell
534194b3ea allow loading other json file extensions in MLEM.Data by default 2020-09-16 23:24:03 +02:00
Ellpeck
52443bfa68 added some more utility functions for directions and vectors 2020-08-10 02:16:35 +02:00
Ellpeck
cb369dec75 Added DeepCopy 2020-07-31 20:24:59 +02:00
Ellpeck
ba24707b18 added object copying to MLEM.Data 2020-07-31 19:07:22 +02:00
Ellpeck
e28c39501e use Content copy instead of msbuild copy for sandbox 2020-07-24 03:12:00 +02:00