Commit graph

22 commits

Author SHA1 Message Date
Alberto Torres 5b588fddf1 Allow compilation with threads off. 2024-09-13 02:15:32 +02:00
Alberto Torres c8f9beaff9 Add all missing files in the packages directory. 2024-09-11 12:10:54 +02:00
Alberto Torres b60c837c47 Create quickhull.nim with quickhull and quickhull_points functions. 2024-09-11 12:10:54 +02:00
Alberto Torres 90abbac26b SliceMem: change newSliceMem(ptr, len...) to match an example, add another. 2024-09-10 00:52:39 +02:00
Alberto Torres dd75d19399 Use quality settings for BCn formats in texture_optimize. 2024-09-10 00:50:33 +02:00
Alberto Torres 45dc99b483 Add CacheSettings for automatically saving and loading compressed textures. 2024-09-06 01:14:35 +02:00
Alberto Torres a8a0b35297 SliceMem: Add serialize, deserialize, toString, copy and documentation. 2024-09-06 01:08:58 +02:00
Alberto Torres 83011ea344 Add use_threads option to loadUri. 2024-09-05 16:48:35 +02:00
Alberto Torres 7f0ebc122a Add support for BCn texture compression formats (except BC2, BC6) with BC7enc. 2024-09-05 00:22:05 +02:00
Alberto Torres 878137db71 Load textures in a thread and optionally compress them (in ASTC only for now). 2024-09-03 15:59:15 +02:00
Alberto Torres 0949e1bf99 Add libraries: astc and stb_image_resize. 2024-09-03 15:31:00 +02:00
Alberto Torres e31d416f94 Rename ddx_ktx to dds_ktx and add get_ASTC_internal_format 2024-09-03 14:43:06 +02:00
Alberto Torres e759f25519 ArrRef and SliceMem: Add concat, suport for backward indexes, and fix $. 2024-09-03 14:42:57 +02:00
Alberto Torres d784dd3a52 Replace the use of pointer/len and "done()" by SliceMem and destructors. 2024-08-31 00:40:02 +02:00
Alberto Torres 8eda3e5969 Add SliceMem, an object to safely move slices of memory around without copies. 2024-08-30 23:16:10 +02:00
Alberto Torres 78cafe6566 Add threading support to LoadableResource. 2024-08-29 00:19:52 +02:00
Alberto Torres e748831f3a Fix crash with loadables in Android. Warn if done() is being called twice. 2024-08-29 00:13:37 +02:00
Alberto Torres f1768275f4 Remove elvis and replace remaining nimble dependencies by git submodules. 2024-08-23 00:37:45 +02:00
Alberto Torres 19ed29e806 Replace pixie by stb_image. Add support for 16 bit images, TGA, PSD, HDR, etc. 2024-08-22 21:38:35 +02:00
Alberto Torres 0760ab745a ArrRef: Remove unnecessary copy of murmur3 hash code. 2024-08-22 01:51:10 +02:00
Alberto Torres e7cdd61d38 Add zstd support for blend files. 2024-08-22 01:47:44 +02:00
Alberto Torres 9af1322937 First commit.
* Incomplete port of myou-engine-js to nimskull, after many months of work, and
  a few extra features that weren't exactly necessary for a "first commit" to
  work. Excuse the lack of commit history up to this point.
* Bare bones structure of the documentation and the process to update it.
* Restructure of the whole project to have a more sensible organization.
* Making submodules of forks of larger libraries.
* README, licenses, AUTHORS.md.
2024-08-20 13:08:19 +02:00