From 52ac2819c793b0bbe575cdc21b460d4cf654cdd0 Mon Sep 17 00:00:00 2001 From: Stefan Stefanov Date: Tue, 23 Apr 2024 10:01:51 +0300 Subject: [PATCH] updated readme & fixed the submodule setup for tinyfiledialogs + added a build script for windows --- .gitignore | 5 ++++- README.md | 7 +++++-- src/dialog/build.bat | 5 +++++ src/dialog/libtinyfiledialogs | 1 + 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 src/dialog/build.bat create mode 160000 src/dialog/libtinyfiledialogs diff --git a/.gitignore b/.gitignore index b1203b3..66483a8 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,7 @@ linux build/ build_generator/ ols.json -libtinyfiledialogs.a \ No newline at end of file +libtinyfiledialogs.a +libtinyfiledialogs.obj +tinyfiledialogs.lib +tinyfiledialogs.obj \ No newline at end of file diff --git a/README.md b/README.md index a20f4ac..6cb3dae 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Yet-Another-Atlas-Packer by Stefan Stefanov Simple atlas packer using `stb_rect_pack` from the `stb` family of header libraries & `raylib` for rendering/ui. -I'm using a custom marshall/unmarshall odin library for reading .aseprite files found [here](https://github.com/blob1807/odin-aseprite) +The goal of the tool is to take in multiple aseprite files and pack them into a single atlas, outputting some metadata in the process in the form of +json and/or source files for direct use in odin (maybe more languages too). -Project template provided by Karl Zylinski on github [here](https://github.com/karl-zylinski/odin-raylib-hot-reload-game-template). +I'm using a library for marhsalling the aseprite files found [here](https://github.com/blob1807/odin-aseprite) on github. + +Project template provided by Karl Zylinski found [here](https://github.com/karl-zylinski/odin-raylib-hot-reload-game-template) on github. diff --git a/src/dialog/build.bat b/src/dialog/build.bat new file mode 100644 index 0000000..6553a0f --- /dev/null +++ b/src/dialog/build.bat @@ -0,0 +1,5 @@ +@echo off + +cl /c libtinyfiledialogs\tinyfiledialogs.c + +lib tinyfiledialogs.obj /out:tinyfiledialogs.lib \ No newline at end of file diff --git a/src/dialog/libtinyfiledialogs b/src/dialog/libtinyfiledialogs new file mode 160000 index 0000000..cc6b593 --- /dev/null +++ b/src/dialog/libtinyfiledialogs @@ -0,0 +1 @@ +Subproject commit cc6b593c029110af8045826ce691f540c85e850c