Commit Graph

76 Commits

Author SHA1 Message Date
Relintai b78a87d658 Work on fixing compile for 4.0. 2022-02-07 00:20:30 +01:00
Relintai 5948088035 Updated the copyright headers. 2022-01-12 22:22:04 +01:00
Relintai b7fb85f7e4 Re-extracted the class docs. 2022-01-12 22:21:54 +01:00
Relintai a078695681 Changed every parameter (where it could be done) to const or a const reference. 2021-08-08 11:26:55 +02:00
Relintai dbf3c59a9c Update the copyright texts for 2021. 2021-04-19 10:12:40 +02:00
Relintai c712c4b308 Fix compile for 4.0. 2021-02-06 11:52:33 +01:00
Relintai f98b7410cd Added a pre-built binaries section. 2020-07-28 15:29:10 +02:00
Relintai 2993ed34f3 The text in Readme.md now takes 4.0 into account. 2020-06-20 22:23:59 +02:00
Relintai e3047f7dfa Hackfix crash on 4.0. 2020-05-16 21:34:54 +02:00
Relintai b29b499adf Sync classref with the current source. 2020-04-14 16:59:57 +02:00
Relintai c62297108f Clang format. 2020-04-10 14:00:09 +02:00
Relintai b78d280a6e Fix build for 3.2. 2020-04-09 15:57:17 +02:00
Relintai a1f57d9f86 Fix build for 4.0. 2020-04-09 12:38:21 +02:00
Relintai b17c174906 Fix compile for current master. 2020-02-07 23:48:04 +01:00
Relintai 7bff901e49 This change got left out. 2020-01-31 19:43:55 +01:00
Relintai 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
Relintai 8d3b160f02 Clang format. 2020-01-09 04:29:45 +01:00
Relintai 189810d164 The module can now be built as a shared library. 2020-01-03 16:57:25 +01:00
Relintai fbf5d0d634 Proper doc setup. 2019-12-25 14:11:34 +01:00
Relintai 604c330188 Added a new getter. 2019-11-08 09:18:55 +01:00
Relintai 2b901b0731 Fix android build. 2019-10-31 02:15:58 +01:00
Relintai 0dd28a6525 Now the initial width and height of the main texture will be set properly even if the first added texture is an AtlasTexture. 2019-10-30 20:32:08 +01:00
Relintai e865e55db0 Added TextureLayerMerger. 2019-10-30 20:24:50 +01:00
Relintai 3597ba1e3d Small improvement to README.md, also typo fixes. 2019-10-28 01:28:37 +01:00
Relintai 01e64f5163 Fix logic in last commit. 2019-10-26 19:26:51 +02:00
Relintai 3159f588ad Implemented support for input image format RGB8. 2019-10-26 18:19:28 +02:00
Relintai 9cbc2ac85b Removed the texture_added signal/vmethod calls from TextureMerger::set_textures, because has_method always returns false in that context. 2019-10-23 17:17:45 +02:00
Relintai 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
Relintai 5d28f6fc1e Now automatic merge in TextureMerger will create your atlases on the next update (_process). Also now it works even if you manipulate the textures directly with the API. 2019-10-23 16:54:28 +02:00
Relintai 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
Relintai 9de8c209f1 texture_added and _texture_added will only be called if an addition actually occurs. (Refcount increases won't count as addition). 2019-10-23 16:08:12 +02:00
Relintai 4bdea3cc56 TextureMerger's set_textures will now clean up textures in the packer properly. 2019-10-23 16:03:59 +02:00
Relintai 7804575cf6 Both automatic_merge and keep_original_atlases in TextureMerger is false by default now. 2019-10-23 16:01:20 +02:00
Relintai ff60ad4207 Added a "texture_added" signal, and the 2 signals are also available as vmethods now. 2019-10-23 16:00:09 +02:00
Relintai f65c1ba2ec Changed the saved extension for the importer. 2019-10-22 21:02:12 +02:00
Relintai 1fbde4fc19 Update README.md 2019-10-22 20:12:43 +02:00
Relintai 41b82300ae Updated README.md 2019-10-22 20:11:43 +02:00
Relintai aa6ab9ce9d Update README.md 2019-10-22 20:01:09 +02:00
Relintai 0fd27051de Update README.md 2019-10-22 19:55:49 +02:00
Relintai ee9998131d Update README.md 2019-10-22 19:55:40 +02:00
Relintai dfab12c55d Udpate README.md 2019-10-22 19:55:31 +02:00
Relintai de0e117c7e Update README.md 2019-10-22 19:55:21 +02:00
Relintai b6530cdf15 Update README.md 2019-10-22 19:54:46 +02:00
Relintai 92e35aa199 Readme.md. 2019-10-22 16:56:22 +02:00
Relintai b39313b237 Fixed bindings, and now the importers work. The Merger can use this Texture type by default. 2019-10-22 15:09:47 +02:00
Relintai b0b34add3f Added the new resource, and it's importer to the build, and fixed compile. 2019-10-22 11:53:49 +02:00
Relintai b731f18615 Work on an image resource class, and a custom importer. 2019-10-22 04:22:32 +02:00
Relintai 8d8e20a396 Docs setup. 2019-10-22 02:10:35 +02:00
Relintai c9cef93510 Added missing editor_hint check. 2019-10-22 01:07:53 +02:00
Relintai 63b908afb6 Added "automatic_merge" property, and a "texture_merged" signal. 2019-10-22 01:00:39 +02:00