Commit Graph

67 Commits

Author SHA1 Message Date
69fdd6a4c8 fix typo in help text 2021-04-10 22:11:29 -07:00
0152e99c44 Add encode command 2021-04-10 21:34:49 -07:00
560acb20ea Add __version__ 2021-04-10 12:15:20 -07:00
362c1c0715 dont try to run cli from __init__.py 2021-04-10 01:50:25 -07:00
4c6b683616 move common code to its own module and out of __init__.py, move command to __main__.py 2021-04-10 01:34:26 -07:00
b8aba4d382 move common code to its own module and out of __init__.py 2021-04-10 01:28:03 -07:00
1f0a577d7f document some things 2021-04-09 23:21:53 -07:00
76da50d003 More decode cleanup 2021-04-09 23:18:40 -07:00
8a85f5c920 decode cleanup 2021-04-09 02:19:58 -07:00
156880d430 Add decode command 2021-04-09 01:33:30 -07:00
8b6ea69300 DDS file class 2021-04-08 21:26:58 -07:00
09e05b7cde API changes 2021-04-08 16:04:21 -07:00
7149864173 tweaks 2021-04-07 23:39:50 -07:00
2fa4f59104 License comment update 2021-04-07 23:26:28 -07:00
ac16b14a92 formatting 2021-04-07 23:21:54 -07:00
3c538f0843 test for BC4 2021-04-07 01:08:45 -07:00
f06fc809b2 Add BC1 block decoding tests and fix 2021-04-06 00:03:58 -07:00
901dcc45df Add BC1 tests 2021-04-05 02:44:56 -07:00
8ab324a661 delete ndebug.h 2021-04-04 21:23:13 -07:00
9fdbaf2909 Use pybind11-generated docstring signatures 2021-04-03 23:53:22 -07:00
190bb58367 fix stubgen and add pyi files to package 2021-04-03 22:03:50 -07:00
4fdf1085e0 bind encode/decode methods 2021-04-03 00:55:49 -07:00
424d635292 Fix interpolator container type 2021-04-03 00:36:41 -07:00
d25d8c3c56 Finish block/texture bindings 2021-04-02 19:24:54 -07:00
6831c3f6c9 Fix virtual overloading 2021-04-02 18:51:38 -07:00
639ce6ad14 Minor tweaks 2021-04-02 18:34:14 -07:00
831e86fda6 Fix broken constexpr 2021-04-02 18:25:37 -07:00
3d91ac2bed BC1Block/BC4Block cleanup 2021-04-02 01:01:01 -07:00
e1739b99d3 Fix map? 2021-04-01 23:26:16 -07:00
53605c983d Fix functor? 2021-04-01 22:45:40 -07:00
8cd870ed26 More block tweaks 2021-04-01 22:37:25 -07:00
0caa4fbc4c fix Color constexpr constructor 2021-04-01 16:50:02 -07:00
fa3fab4ca0 Block refactor 2021-04-01 16:37:15 -07:00
3852da6249 Bind BC1Block and BC1Texture 2021-03-31 20:26:40 -07:00
28b541d49a Improved subscripting 2021-03-30 02:36:27 -07:00
bd454d9d20 improved texture indexing 2021-03-29 22:56:25 -07:00
22bbdeb7b8 Add texture tests and minor api tweaks 2021-03-29 22:15:53 -07:00
0965f3958d enable buffer protocol 2021-03-29 19:58:46 -07:00
c70907ced2 Add texture creation from bytes 2021-03-29 19:38:37 -07:00
67751e87c7 Fix linking 2021-03-29 03:07:48 -07:00
caef02e57f IWYU pass 2021-03-28 03:44:29 -07:00
539980f75f fix parameter hiding of rgba 2021-03-28 03:24:11 -07:00
8e758d5739 fix some warnings 2021-03-28 03:15:52 -07:00
fb56c6af04 Refactor to add Texture classes 2021-03-28 02:36:47 -07:00
c843871ac1 make Color have a constexpr constructor and add Block class 2021-03-25 02:07:17 -07:00
e5f60ec030 CLI scaffolding 2021-03-24 22:04:12 -07:00
2244b2117d rename some values for less confusion
From now on, "size" should refer to a value in bytes, whereas dimensions are in pixels or blocks and usually a 2-tuple
2021-03-24 21:49:46 -07:00
18e3089eb0 some util functions 2021-03-24 21:45:05 -07:00
5f13b841ad Extremely bad hardcoded DDS file reading 2021-03-23 16:27:31 -07:00
dae82c0662 fix error 2021-03-23 03:14:23 -07:00