1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-21 20:43:29 +01:00
Commit graph

132 commits

Author SHA1 Message Date
Ell
3ab2466d32 Fixed DataTextureAtlas creating unnamed entries if there are empty lines at the start or end of the atlas file 2024-11-16 20:24:28 +01:00
Ell
b0bf55842b Improved the naming of SpriteBatchExtensions texture generation methods 2024-11-16 13:53:04 +01:00
Ell
6f64661817
Improve the runtime texture packer algorithm (#31)
* use a random size for testing pack times to show how truly bad the current algo is

* expand overlap test to include padding and pixel padding

* fixed TestPackTimes on KNI

* also test for whether the padding intersects

* Use a binary tree algorithm for the runtime texture packer

* update changelog and bump version

* fixed fna compile errors

* save TestPackTimes textures separately
2024-11-07 16:18:51 +01:00
Ell
dbd52d5b9d
Fixed newly introduced issues since #28 (#30)
* fixed newly introduced stack overflow when adding/removing from scrolling panel

* added second part of issue as test

* fixed TestIssue29Inconsistencies
2024-10-29 23:31:49 +01:00
Ell
50e864b94f
Fixed stack overflow related to panel scrolling and scrollbar auto hiding (and improved build scripts) (#28)
* add a test to recreate the issue

* fixed deploy-demo running on pull requests

* restructure cake script to run tests separately

* actually name the test step correctly

* also run the build task separately

* made all tasks explicitly depend on prepare

* install android workload manually, rather than as part of cake

* Revert "install android workload manually, rather than as part of cake"

This reverts commit 101d6d3eac.

* don't clear a panel's scroll bar max history between area updates

* added changelog entry
2024-10-27 00:46:15 +02:00
Ell
78d73c2417 only leave generic font test comparison wiggle room for KNI, and make it 10% 2024-10-26 14:54:43 +02:00
Ell
f5e64eb719 clean up structure of tests that use TestGame 2024-10-26 14:41:36 +02:00
Ell
db2a3dfe70 use UiMetrics to print ui test info 2024-10-07 21:51:35 +02:00
Ell
2e9e6e8980 improved ui tests and added additional performance tests 2024-10-07 18:32:22 +02:00
Ell
4c378f7cd9 Fixed formatting codes at the start of strings not being added to the AllCodes collection
Closes #26
2024-09-29 12:17:47 +02:00
Ell
ea8ec69dd6 Added MLEM.KNI and friends, which are fully compatible with KNI 2024-09-02 19:55:28 +02:00
Ell
677230ce28 Moved extension methods into matching namespaces to avoid unexpected suggestions 2024-07-19 20:02:28 +02:00
Ell
6a8e9639c1 updated dependencies 2023-12-13 22:11:31 +01:00
Ell
b8f46ff5d2 updated to .net 8 and reorganized third party deps 2023-11-22 10:39:13 +01:00
Ell
41a1a8aef1 dependency update 2023-10-04 15:54:05 +02:00
Ell
34cb5210b5 improved test separation for MG and FNA projects 2023-05-25 09:22:38 +02:00
Ell
2627736283 exclude non-MLEM projects from coverage 2023-05-24 23:57:53 +02:00
Ell
f1740b7b32 Added TextFormatter.StripAllFormatting 2023-05-19 19:30:45 +02:00
Ell
0766220a8e fixed runtime texture packer tests not working on some machines due to a texture being generated that is too tall 2023-05-19 19:25:11 +02:00
Ell
e71450366b additional runtime texture packer improvements 2023-05-15 18:36:23 +02:00
Ell
e623eff02d added additional texture packer tests 2023-05-15 17:35:29 +02:00
Ell
6607a5f48c net7.0 2023-03-29 23:31:30 +02:00
Ell
eda9531566 updated fnalibs for demos and tests 2023-03-29 22:17:09 +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
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
b374d50815 Allow formatting codes to have an arbitrary custom width 2022-12-06 16:49:19 +01:00
Ell
cf3d0e8e0c added some more Add overloads to SeedSource 2022-12-04 22:43:25 +01:00
Ell
e3b41ebeea improved SeedSource algorithm to be less predictable 2022-11-30 21:31:34 +01:00
Ell
0a62ae0036 Added SeedSource 2022-11-30 20:21:24 +01:00
Ell
8ffd9ab48a improved and cleaned up SingleRandom 2022-11-30 00:24:43 +01:00
Ell
b2b4dfbdc9 also added SingleRandom ranges for floats 2022-11-29 21:21:50 +01:00
Ell
81c69041c3 Added the SingleRandom utility class 2022-11-29 21:11:59 +01:00
Ell
1a1b2025cd Made JsonTypeSafeWrapper.Of generic to potentially avoid reflective instantiation 2022-11-28 00:43:50 +01:00
Ell
3b08b66fa4 removed outdated test 2022-11-22 20:21:25 +01:00
Ell
6ac2ba6151 Added Range extension methods GetPercentage and FromPercentage 2022-11-10 15:41:24 +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
8745a3237e Added DynamicEnum IsDefined and EnumHelper and DynamicEnum GetUniqueFlags 2022-10-26 23:34:30 +02:00
Ell
17ce7b668d Added the ability to add additional regions to a RuntimeTexturePacker after packing 2022-10-20 23:59:42 +02:00
Ell
8d689952cc Made GenericFont and TokenizedString support UTF-32 characters like emoji 2022-10-15 13:48:45 +02:00
Ell
d6309ce9c1 Added the ability to find paths to one of multiple goals using AStar 2022-10-10 11:31:23 +02:00
Ell
d3b153fd45 Cleaned up AStar code 2022-10-09 22:38:10 +02:00
Ell
0b6e6743cf some more AStar improvements 2022-10-09 21:04:39 +02:00
Ell
3e4c4e566d Merge remote-tracking branch 'origin/main' 2022-10-09 20:07:51 +02:00
Ell
bfa4ab4ac2 Added the ability to include special per-position directions in AStar pathfinding 2022-10-09 20:07:38 +02:00
Ell
fe89b28031 publish MG and FNA test results separately 2022-09-15 12:50:10 +02:00
Ell
9f60a59706 resolved some build warnings 2022-09-15 10:44:50 +02:00
Ell
b6a626d96e use FNA core for tests and demos 2022-09-14 22:13:05 +02:00