Commit Graph

30 Commits

Author SHA1 Message Date
a06914f234 Work on fixing compile. 2023-01-09 01:17:15 +01:00
ae4d222fba Work on fixing compile for 4.0. 2022-02-08 11:53:26 +01:00
5948088035 Updated the copyright headers. 2022-01-12 22:22:04 +01:00
a078695681 Changed every parameter (where it could be done) to const or a const reference. 2021-08-08 11:26:55 +02:00
dbf3c59a9c Update the copyright texts for 2021. 2021-04-19 10:12:40 +02:00
c712c4b308 Fix compile for 4.0. 2021-02-06 11:52:33 +01:00
b78d280a6e Fix build for 3.2. 2020-04-09 15:57:17 +02:00
a1f57d9f86 Fix build for 4.0. 2020-04-09 12:38:21 +02:00
b17c174906 Fix compile for current master. 2020-02-07 23:48:04 +01:00
3bff55b393 Updated the license for 2020, also added the license text to all cpp files and fixed a copy-paste typo. 2020-01-31 19:43:20 +01:00
8d3b160f02 Clang format. 2020-01-09 04:29:45 +01:00
604c330188 Added a new getter. 2019-11-08 09:18:55 +01:00
01e64f5163 Fix logic in last commit. 2019-10-26 19:26:51 +02:00
3159f588ad Implemented support for input image format RGB8. 2019-10-26 18:19:28 +02:00
1e0da8f335 Added an ERR_FAIL_COND into TexturePacker::add_texture. Aléso fixed an issue from the previous few commits with variables in scope in TextureMerger. 2019-10-23 17:10:57 +02:00
cb177e1d3f Added a texture_removed signal, and _texture_removed vmethod. The unref_texture, and unref_texture_index functions now return wether the texture actually got removed.
Also fixed missing PropertyInfo from the texture_added signal.
2019-10-23 16:30:41 +02:00
8f19801eaa Added a variant vector binding to TextureMerger. It will merge all textures on set. Added contains_texture to TexturePacker. Logic fixes in querying textures in TexturePacker. 2019-10-22 00:52:59 +02:00
d94977de50 The merger now won't have the REPEAT texture flag by default. 2019-10-22 00:18:27 +02:00
280dabf737 Implemented margins. 2019-10-22 00:03:04 +02:00
1d8256548c Added a background_color property. 2019-10-21 23:42:53 +02:00
6a6b844823 Avoid cast. 2019-10-21 23:26:30 +02:00
4de8140563 Fix small mistake. 2019-10-21 23:25:51 +02:00
87a80781a0 The bins vector is not a class member anymore, it's really unsafe to store it like that without proper updates. Also unnecessary. 2019-10-21 23:22:12 +02:00
37043e7b2d Implemented reference counting. 2019-10-21 23:18:06 +02:00
fe6c61d22d Added clear(). 2019-10-21 23:04:11 +02:00
63d9273326 Implemented proper support for adding AtlasTextures. Also implemented support for the keep_original_atlases property. 2019-10-21 22:38:51 +02:00
ec68fea42f Added 3 tweakable properties. (keep_original_atlases is not yet implemented). 2019-10-21 21:29:42 +02:00
b26b97d728 Removed the test method. 2019-10-21 21:15:30 +02:00
54ab3d3bc7 Fix typo. 2019-10-21 21:13:03 +02:00
a0fe53dc24 Renamed MergeTexture to TexturePacker. 2019-10-21 21:11:11 +02:00