1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 05:58:35 +01:00
Commit graph

16 commits

Author SHA1 Message Date
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
f5e64eb719 clean up structure of tests that use TestGame 2024-10-26 14:41:36 +02:00
Ell
677230ce28 Moved extension methods into matching namespaces to avoid unexpected suggestions 2024-07-19 20:02:28 +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
14d0b24aa9 cleaned up preprocessor instructions 2022-12-13 13:11:36 +01:00
Ell
791c66b098 code cleanup 2022-10-27 10:22:25 +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
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
29bbd61f8b reformat and cleanup 2021-12-28 14:56:11 +01:00
Ell
115b05beaa Allow RuntimeTexturePacker to automatically dispose submitted textures when packing 2021-11-01 16:00:13 +01:00
Ell
f3b3feec9b updated non-netstandard projects to net5.0 2021-04-22 02:21:36 +02:00
Ell
d8d29bf10d added a few more tests 2021-04-04 18:31:51 +02:00