1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-04 17:07:07 +02:00
Commit graph

115 commits

Author SHA1 Message Date
Ell fdb0571860 xml docs and cleanup 2024-04-10 20:45:16 +02:00
Ell 9a03a8c62d Added the ability for formatted (tokenized) strings to be drawn with custom rotation, origin and flipping
Closes #18
2024-04-10 20:27:00 +02:00
Ell e00769a4ed moved out string transforms into CalculateStringTransform in preparation for #18 2024-04-10 18:47:10 +02:00
Ell 6a8e9639c1 updated dependencies 2023-12-13 22:11:31 +01:00
Ell 3b22a8f228 don't restore dotnet tools in project files 2023-11-22 12:12:36 +01:00
Ell b4fd0219cd avoid using local package directory 2023-11-22 12:01:30 +01:00
Ell b8f46ff5d2 updated to .net 8 and reorganized third party deps 2023-11-22 10:39:13 +01:00
Ell 2265af3fae Improved the SquishingGroup algorithm by prioritizing each element's final size 2023-04-06 17:15:57 +02:00
Ell 4994bb3d5d updated monogame .net tools 2023-04-06 15:25:20 +02:00
Ell 6607a5f48c net7.0 2023-03-29 23:31:30 +02:00
Ell da2fab9b57 dependency and submodule update 2023-03-29 21:54:30 +02:00
Ell a84fd764c5 some GenericInput and Keybind improvements 2023-03-03 14:02:05 +01:00
Ell ef0499958d - Added InputHandler.IsPressedIgnoreRepeats
- Marked non-GenericInput versions of IsDown, IsUp, IsPressed and related methods as obsolete in favor of GenericInput ones
2022-12-27 22:57:35 +01:00
Ell 14d0b24aa9 cleaned up preprocessor instructions 2022-12-13 13:11:36 +01:00
Ell 4189ae6d4d dependency update
Closes #6 and #7 (both of which were incomplete)
2022-12-08 17:02:22 +01:00
Ell 797a3b2617 Improved the way InputHandler down time calculation works 2022-11-08 17:12:37 +01:00
Ell f58e3c94d5 Marked EnumHelper and DynamicEnum as obsolete due to their reimplementation in the DynamicEnums library 2022-10-31 13:20:26 +01:00
Ell 791c66b098 code cleanup 2022-10-27 10:22:25 +02:00
Ell 8d689952cc Made GenericFont and TokenizedString support UTF-32 characters like emoji 2022-10-15 13:48:45 +02:00
Ell 9f60a59706 resolved some build warnings 2022-09-15 10:44:50 +02:00
Ell df2d102d8e further improved StaticSpriteBatch performance 2022-09-13 11:57:28 +02:00
Ell eadabf3919 use SortedDictionary for StaticSpriteBatch 2022-09-12 23:09:36 +02:00
Ell 856d67b6cf Second pass at StaticSpriteBatch optimizations 2022-09-12 22:57:01 +02:00
Ell 742bc52437 First pass at drastically improving StaticSpriteBatch batching performance 2022-09-12 21:51:21 +02:00
Ell 963ea557e8 updated dependencies 2022-09-03 12:31:34 +02:00
Ell 32dad847a0 adAdded TokenizedString.Realign 2022-09-02 13:42:21 +02:00
Ell 0a696941dc cleaned up code 2022-08-20 11:39:28 +02:00
Ell 8044cb59cb Improved EnumHelper.GetValues signature to return an array 2022-07-29 19:52:01 +02:00
Ell f0cc4b0c80 Allow elements to auto-adjust their size even when their children are aligned oddly 2022-07-27 11:19:40 +02:00
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