diff --git a/MAKE.bat b/MAKE.bat index dc03717..4d8190a 100644 --- a/MAKE.bat +++ b/MAKE.bat @@ -15,9 +15,9 @@ if [ "$1" = "tidy" ]; then rm 0?-* 2> /dev/null rm fwk.o 2> /dev/null rm .art*.zip 2> /dev/null - rm demos/lua/.art*.zip 2> /dev/null + rm engine/bind/.art*.zip 2> /dev/null rm demos/html5/.art*.zip 2> /dev/null - rm demos/lua/libfwk* 2> /dev/null + rm engine/bind/libfwk* 2> /dev/null rm fwk_*.* 2> /dev/null rm 3rd_*.* 2> /dev/null rm libfwk* 2> /dev/null @@ -147,14 +147,14 @@ if [ "$(uname)" != "Darwin" ]; then chmod +x tools/xlsx2ini.linux chmod +x tools/premake5.linux chmod +x tools/ninja.linux - chmod +x demos/lua/luajit.linux + chmod +x engine/bind/luajit.linux echo build=$build, type=$dll, cc=$cc, args=$args # framework (as dynamic library) if [ "$dll" = "dll" ]; then echo libfwk.so && $cc -o libfwk.so engine/fwk.c -shared -fPIC -w -lX11 -lm -ldl -lpthread $flags $args - cp libfwk.so demos/lua/ + cp libfwk.so engine/bind/ export import="libfwk.so -Wl,-rpath,./" else # framework (static) @@ -202,14 +202,14 @@ if [ "$(uname)" = "Darwin" ]; then chmod +x tools/xlsx2ini.osx chmod +x tools/premake5.osx chmod +x tools/ninja.osx - chmod +x demos/lua/luajit.osx + chmod +x engine/bind/luajit.osx echo build=$build, type=$dll, cc=$cc, args=$args # framework (as dynamic library) if [ "$dll" = "dll" ]; then echo libfwk && cc -ObjC -dynamiclib -o libfwk.dylib engine/fwk.c -framework cocoa -framework iokit -framework audiotoolbox -w $flags $args - cp libfwk.dylib demos/lua + cp libfwk.dylib engine/bind export import=libfwk.dylib else # framework @@ -254,12 +254,12 @@ if "%1"=="help" ( echo %0 [cook] ; cook .zipfiles with tools/cook.ini cookbook echo %0 [sync] ; sync repo to latest echo %0 [tidy] ; clean up temp files - echo %0 [bindings] ; generate demos/lua bindings + echo %0 [bind] ; generate lua bindings echo %0 [checkmem] ; check untracked allocators in FWK echo %0 [split^|join] ; engine/fwk* ^>split^> engine/split/* or engine/split/* ^>join^> engine/fwk* echo %0 [amalgamation] ; combine engine/fwk* into a single-header file echo %0 [sln] ; generate a xcode/gmake/ninja/visual studio solution - echo %0 [cl^|tcc^|cc^|gcc^|clang^|clang-cl] [dbg^|dev^|rel] [static^|dll] [nofwk^|nodemos^|noeditor] [vis] [-- args] + echo %0 [cl^|tcc^|cc^|gcc^|clang^|clang-cl] [dbg^|dev^|rel] [static^|dll] [nofwk^|nodemos^|editor] [vis] [-- args] echo cl \ echo tcc ^| echo cc ^| select compiler. must be accessible in PATH @@ -273,7 +273,7 @@ if "%1"=="help" ( echo dll / link fwk as dynamic library (dll^) (default^) echo nofwk \ do not compile framework echo nodemos ^| do not compile demos - echo noeditor / do not compile editor + echo editor / do compile editor echo vis ^> visualize invokation cmdline. echo args ^> after `--` separator is found, pass all remaining arguments to compiler as-is echo. @@ -298,10 +298,10 @@ if "%1"=="cook" ( exit /b ) rem generate bindings -if "%1"=="bindings" ( +if "%1"=="bind" ( rem luajit tools\luajit tools\luajit_make_bindings.lua > fwk.lua - move /y fwk.lua demos\lua + move /y fwk.lua engine\bind exit /b ) @@ -349,7 +349,7 @@ rem generate prior files to a github release if "%1"=="github" ( rem call make.bat dll call make.bat docs - call make.bat bindings + call make.bat bind call make.bat amalgamation call make.bat split @@ -391,7 +391,7 @@ rem tidy environment if "%1"=="tidy" ( move /y ??-*.png demos > nul 2> nul move /y ??-*.c demos > nul 2> nul - del demos\lua\fwk.dll > nul 2> nul + del engine\bind\fwk.dll > nul 2> nul del .temp*.* > nul 2> nul del *.zip > nul 2> nul del *.mem > nul 2> nul @@ -428,7 +428,7 @@ set args=-Iengine set other= set fwk=yes set demos=yes -set editor=yes +set editor=no set vis=no set sln=no set rc=0 @@ -455,6 +455,7 @@ set rc=0 if "%1"=="nofwk" set "fwk=no" && goto loop if "%1"=="nodemos" set "demos=no" && goto loop if "%1"=="noeditor" set "editor=no" && goto loop + if "%1"=="editor" set "editor=yes" && goto loop if "%1"=="tcc" set "cc=%1" && goto loop if "%1"=="cl" set "cc=%1" && goto loop @@ -645,16 +646,16 @@ if not "!other!"=="" ( rem framework if "!fwk!"=="yes" ( -if "!vis!"=="yes" echo !cc! engine\fwk.c !export! !args! ^&^& if "!dll!"=="dll" copy /y fwk.dll demos\lua ^> nul -!echo! fwk && !cc! engine\fwk.c !export! !args! && if "!dll!"=="dll" copy /y fwk.dll demos\lua > nul || set rc=1 +if "!vis!"=="yes" echo !cc! engine\fwk.c !export! !args! ^&^& if "!dll!"=="dll" copy /y fwk.dll engine\bind ^> nul +!echo! fwk && !cc! engine\fwk.c !export! !args! && if "!dll!"=="dll" copy /y fwk.dll engine\bind > nul || set rc=1 ) rem editor if "!editor!"=="yes" ( set edit=-DCOOK_ON_DEMAND -DUI_LESSER_SPACING -DUI_ICONS_SMALL if "!vis!"=="yes" echo !cc! !o! editor.exe tools\editor\editor.c !edit! !import! !args! -rem !echo! editor && !cc! !o! editor.exe tools\editor\editor.c !edit! !import! !args! || set rc=1 -rem !echo! editor2 && !cc! !o! editor2.exe tools\editor\editor2.c !edit! !args! || set rc=1 +!echo! editor && !cc! !o! editor.exe tools\editor\editor.c !edit! !import! !args! || set rc=1 +!echo! editor2 && !cc! !o! editor2.exe tools\editor\editor2.c !edit! !args! || set rc=1 ) rem demos diff --git a/README.md b/README.md index 6b75a62..0e0e588 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -
-3D game framework in C.
+3D game engine/framework in C, with Luajit and Python bindings now.
@@ -8,12 +8,8 @@
## Goals -- [x] ~~C++~~. C. -- [x] ~~Fast~~. Naive. -- [x] ~~Modern~~. Simple. -- [x] ~~Full featured~~. Small. -- [x] ~~Rich build system~~. Single file. -- [x] ~~Royaltie fee~~. Free and unlicensed. +- [x] ~~Full featured~~, ~~Fast~~, ~~Modern C++~~. Small, Naive, Simple C. +- [x] ~~Rich build system~~, ~~Royaltie fee~~. Single file, Freely unlicensed. ## Features ᕦ(ᐛ)ᕤ - [x] Pipeline: configurable and integrated [asset pipeline](tools/cook.ini). @@ -52,25 +48,36 @@ - [x] Scene handling. - [x] Profiler, stats and leaks finder. - [x] [Editor (wip)](https://user-images.githubusercontent.com/35402248/174457347-f787a6a2-aac8-404c-a5da-f44310c3d432.mp4). -- [x] [Documentation (wip)](https://bit.ly/-f-w-k-). +- [x] [Documentation (wip)](https://bit.ly/fwk2023). ## Roadmap ᕕ(ᐛ)ᕗ (in order of arrival; ✱: partial support) - [ ] AI pass: actors, waypoints, pathfinding, behavior trees (h/fsm,goap), and navmesh generation. -- [ ] Render pass: reverse-Z, automatic LODs, impostors, decals. - - [ ] Materials: (colors✱, textures✱, matcaps✱, videos✱, shadertoys✱). Shadertoys as post-fx✱. - - [ ] Lighting: Hard/soft shadow mapping (VSM,CCSM). Baked lightmaps. Refl probes. Integrated PBR. - [ ] Network/VM pass: Entity/component/systems and worlds. + - [ ] Core pass: struct serialization. - [ ] Message pipeline and replication. - [ ] Digital signals, message buffering and event polling. - [ ] World streaming and level loading. - [ ] Scenegraphs and spatial partioning. BVH, PVS, occluders, frustum culling. - [ ] Server/client architecture. Hybrid P2P. - [ ] NAT traversal. Socketless API, message API and pub/sub wrappers (enet/websocket). +- [ ] Editor pass = netbased + offline rendering + virtual input. + - [ ] Basic: Gizmos✱, scene tree, property editor✱, load/save✱, undo/redo✱, copy/paste, on/off (vis,tick,ddraw,log), vcs. + - [ ] Scenenode: node singleton display, node console, node labels, node outlines✱. + - [ ] Debug: toggles on/off (billboards✱, materials, un/lit, cast shadows, wireframe, skybox✱/mie✱, fog/atmosphere, collide✱, physics). + - [ ] Level: volumes, triggers, platforms, level streaming. + - [ ] Sub-editor: timeline and data tracks, node graphs. + - [ ] Sub-editor: Procedural content, brushes, noise and CSG. + - [ ] Sub-editor: blendshapes, additive anims, head/foot/hand IKs. + - [ ] Script pass: DLL✱ (module->plugin/sys), Lua✱, Luajit✱, Teal✱ and TypeScript. +- [ ] Render pass: reverse-Z, automatic LODs, impostors, decals. + - [ ] Materials: (colors✱, textures✱, matcaps✱, videos✱, shadertoys✱). Shadertoys as post-fx✱. + - [ ] Lighting: Hard/soft shadow mapping (VSM,CCSM). Baked lightmaps. Refl probes. Integrated PBR. - [ ] Tools pass - [ ] Extend shaders + bindings. Per-platform✱, per-type✱, per-asset options. GIF, PKM. - [ ] Extend atlas (sprite/lightmaps). Fit packing (sprites). - [ ] Extend bindings and messaging: parse C headers during cooking stage. - [ ] API pass + - [ ] Extend math: quat2, bezier, catmull. - [ ] Discuss API and freeze it. - [ ] Document everything. @@ -183,17 +190,6 @@ int main() { } ``` -```C -#include "fwk.h" // Minimal HTML5 sample -void render(void *arg) { - if( !input(KEY_ESC) ) puts("hello FWK from HTML5!"); -} -int main() { - window_create(75.0, 0); // 75% size, no extra flags - window_loop(render, NULL); // game loop -} -``` - ```lua local fwk = require("fwk") -- Minimal Lua sample fwk.window_create(75.0,0) -- 75% size, no extra flags @@ -203,6 +199,11 @@ end ``` ## Quickstart +- Double-click `MAKE.bat` (Win) or `sh MAKE.bat` (Linux/OSX) to compile everything. +- `MAKE.bat sln` (Win) or `sh MAKE.bat sln` (Linux/OSX) to generate solutions/makefiles. +- `MAKE.bat help` (Win) or `sh MAKE.bat help` (Linux/OSX) for a bunch of options. +- `MAKE.bat hello.c` (Win) or `sh MAKE.bat hello.c` (Linux/OSX) to build a single executable. +- Alternatively, ```bat echo win/vc && cl hello.c echo win/clang-cl && clang-cl hello.c @@ -215,94 +216,108 @@ echo osx && cc -ObjC hello.c -framework cocoa -framework iokit -fr ``` ## Cook -- Most asset types need to be cooked before being used in your application. Some other assets like `.png` do not. -- Cooked assets will be written into .zipfiles close to your executable, and mounted before entering game loop. -- Cooked .zipfiles and your executable are the only required assets when releasing your game. -- Cook manually your assets by invoking supplied [`tools/cook` standalone binary](tools/). -- Cook automatically your assets by just playing your game: a runtime cook is already embedded into your binary. - - In order to achieve this, ensure the [`tools/` folder](tools/) is close to your executable. - - This folder contains all the related binaries to perform any asset conversion plus the [cookbook](tools/cook.ini) to do so. +- Assets need to be cooked before being consumed in your application. The [tools/](tools/) folder contains all the related binaries to perform any asset processing plus the [cookbook](tools/cook.ini) to do so. +- Your game will cook all your assets as long as the [`tools/`](tools/) folder is next to your executable. Alternatively, cook them all just by invoking supplied [`tools/cook` standalone binary](tools/). +- In both cases, assets will be cooked and packed into .zipfiles next to your executable, then mounted before entering game loop. These .zipfiles plus your executable are the only required files when releasing your game. ## Extra tips - Any ico/png file named after the executable name will be automatically used as app icon. - Similar to the ico/png case above, the cooked .zipfiles can be named after the main executable as well. -- Dropped files into game window will be imported & saved into [`import/`](art/engine/import) folder. -- Update the gamepad controller database by upgrading the [`gamecontrollerdb.txt`](art/engine/input) file. -- Depending on your IDE, you might need to browse to [`split/`](split/) sources when debugging FWK. +- Dropped files into game window will be imported & saved into [`import/`](engine/art/import/) folder. +- Update the gamepad controller database by upgrading the [`gamecontrollerdb.txt`](engine/art/input/) file. +- Depending on your IDE, you might need to browse to [`engine/split/`](engine/split/) sources when debugging FWK. - Cook assets on demand, as opposed to cook all existing assets on depot, by using `--cook-on-demand` flag. - Linux/OSX users can optionally install wine and use the Windows tools instead (by using `--cook-wine` flag). - Disable automatic cooking by using `--cook-jobs=0` flag (not recommended). -- Generate a project solution by dropping `split/fwk.h, fwk.c and fwk` files into it. +- Generate a project solution by dropping `engine/fwk.h, fwk.c and fwk` files into it. +- Auto-generated Luajit and Python bindings can be found in the [`engine/bind/`](engine/bind/) folder. + -## Credits (Artwork + demos) -- [Nanofactory](https://sketchfab.com/3d-models/kgirls01-d2f946f58a8040ae993cda70c97b302c), for kgirls01 3D model (CC BY-NC-ND 4.0). -- [RottingPixels](https://opengameart.org/content/2d-castle-platformer-tileset-16x16), for castle-tileset (CC0). -- [wwwtyro](https://github.com/wwwtyro/glsl-atmosphere), for nicest rayleigh/mie scattering shader around (CC0). +## Credits +**Artwork** +[Dean Evans, Raijin](https://youtu.be/RRvYkrrpMKo?t=147 "for the Map song (c)"), +[Nuulbee](https://sketchfab.com/3d-models/kgirls01-d2f946f58a8040ae993cda70c97b302c "for kgirls01 3D model (CC BY-NC-ND 4.0)"), +[Rotting Pixels](https://opengameart.org/content/2d-castle-platformer-tileset-16x16 "for castle-tileset (CC0)"), +[Tom Lewandowski](https://QuestStudios.com "for his MIDI recordings (c)"), +[Rye Terrell](https://github.com/wwwtyro/glsl-atmosphere "for nicest rayleigh/mie scattering shader around (CC0)"), +**Tools** +[Aaron Barany](https://github.com/akb825/Cuttlefish "for cuttlefish (APACHE2)"), +[Arseny Kapoulkine](https://github.com/zeux/pugixml/ "for pugixml (MIT)"), +[Assimp authors](https://github.com/assimp/assimp "for assimp (BSD3)"), +[Bernhard Schelling](https://github.com/schellingb/TinySoundFont "for tml.h (Zlib) and tsf.h (MIT)"), +[Christian Collins](http://www.schristiancollins.com "for GeneralUser GS soundfont (PD)"), +[FFMPEG authors](https://www.ffmpeg.org/ "for ffmpeg (LGPL21)"), +[Imagination](https://developer.imaginationtech.com/pvrtextool/ "for pvrtextoolcli (ITL)"), +[Krzysztof Gabis](https://github.com/kgabis/ape "for split.py/join.py (MIT)"), +[Lee Salzman](https://github.com/lsalzman/iqm/tree/5882b8c32fa622eba3861a621bb715d693573420/demo "for iqm.cpp (PD)"), +[Martín Lucas Golini](https://github.com/SpartanJ/eepp/commit/8552941da19380d7a629c4da80a976aec5d39e5c "for emscripten-fs.html (CC0)"), +[Mattias Gustavsson](https://github.com/mattiasgustavsson/libs "for mid.h (PD)"), +[Michael Schmoock](http://github.com/willsteel/lcpp "for lcpp (MIT)"), +[Morgan McGuire](https://casual-effects.com/markdeep/ "for markdeep (BSD2)"), +[Olivier Lapicque, Konstanty Bialkowski](https://github.com/Konstanty/libmodplug "for libmodplug (PD)"), +[Polyglot Team](https://docs.google.com/spreadsheets/d/17f0dQawb-s_Fd7DHgmVvJoEGDMH_yoSd8EYigrb0zmM/edit "for polyglot gamedev (CC0)"), +[Tildearrow](https://github.com/tildearrow/furnace/ "for Furnace (GPL2)"), +[Tomas Pettersson](http://www.drpetter.se/ "for sfxr (PD)"), +[Tor Andersson](https://github.com/ccxvii/asstools "for assiqe.c (BSD)"), +**Runtime** +[Andreas Mantler](https://github.com/ands "for their math library (PD)"), +[Barerose](https://github.com/barerose "for swrap (CC0) and math library (CC0)"), +[Camilla Löwy](https://github.com/elmindreda "for glfw3 (Zlib)"), +[Dave Rand](https://tools.ietf.org/html/rfc1978 "for ppp (PD)"), +[David Herberth](https://github.com/dav1dde/ "for glad generated code (PD)"), +[David Reid](https://github.com/mackron "for miniaudio (PD)"), +[Dominic Szablewski](https://github.com/phoboslab/pl_mpeg "for pl_mpeg (MIT)"), +[Dominik Madarász](https://github.com/zaklaus "for json5 parser (PD)"), +[Eduard Suica](https://github.com/eduardsui/tlse "for tlse (PD)"), +[Evan Wallace](https://github.com/evanw "for their math library (CC0)"), +[Gargaj+cce/Peisik](https://github.com/gargaj/foxotron "for Foxotron/PBR shaders (UNLICENSE)"), +[Guilherme Lampert](https://github.com/glampert "for their math library (PD)"), +[Guillaume Vareille](http://tinyfiledialogs.sourceforge.net "for tinyfiledialogs (ZLIB)"), +[Haruhiko Okumura](https://oku.edu.mie-u.ac.jp/~okumura/compression/ "for lzss (PD)"), +[Igor Pavlov](https://www.7-zip.org/ "for LZMA (PD)"), +[Ilya Muravyov](https://github.com/encode84 "for bcm, balz, crush, ulz, lz4x (PD)"), +[Jon Olick](https://www.jonolick.com/ "for jo_mp1 and jo_mpeg (PD)"), +[Joonas Pihlajamaa](https://github.com/jokkebk/JUnzip "for JUnzip library (PD)"), +[Juliette Focault](https://github.com/juliettef/IconFontCppHeaders/blob/main/IconsMaterialDesign.h "for the generated MD header (ZLIB)"), +[Kristoffer Grönlund](https://github.com/krig "for their math library (CC0)"), +[Lee Salzman](https://github.com/lsalzman/iqm/tree/5882b8c32fa622eba3861a621bb715d693573420/demo "for IQM spec & player (PD)"), +[Lee Salzman, V.Hrytsenko, D.Madarász](https://github.com/zpl-c/enet/ "for enet (MIT)"), +[Libtomcrypt](https://github.com/libtom/libtomcrypt "for libtomcrypt (Unlicense)"), +[Lua authors](https://www.lua.org/ "for Lua language (MIT)"), +[Mattias Gustavsson](https://github.com/mattiasgustavsson/libs "for thread.h and https.h (PD)"), +[Micha Mettke](https://github.com/vurtun "for their math library (PD)"), +[Micha Mettke, Chris Willcocks, Dmitry Hrabrov](https://github.com/vurtun/nuklear "for nuklear (PD)"), +[Michael Galetzka](https://github.com/Cultrarius/Swarmz "for swarmz (UNLICENSE)"), +[Mārtiņš Možeiko](https://gist.github.com/mmozeiko/68f0a8459ef2f98bcd879158011cc275 "for A* pathfinding (PD)"), +[Omar Cornut, vaiorabbit](https://github.com/ocornut/imgui/pull/3627 "for tables of unicode ranges (MIT-0)"), +[Rabia Alhaffar](https://github.com/Rabios/ice_libs "for ice_batt.h (PD)"), +[Rich Geldreich](https://github.com/richgel999/miniz "for miniz (PD)"), +[Ross Williams](http://ross.net/compression/lzrw3a.html "for lzrw3a (PD)"), +[Samuli Raivio](https://github.com/bqqbarbhg/bq_websocket "for bq_websocket (PD)"), +[Sean Barrett](https://github.com/nothings "for stb_image, stb_image_write, stb_sprintf, stb_truetype and stb_vorbis (PD)"), +[Sebastian Steinhauer](https://github.com/kieselsteini "for sts_mixer (PD)"), +[Stan Melax, Cloud Wu](https://web.archive.org/web/20031204035320/http://www.melax.com/polychop/gdmag.pdf "for polychop C algorithm (PD)"), +[Stefan Gustavson](https://github.com/stegu/perlin-noise "for simplex noise (PD)"), +[Sterling Orsten](https://github.com/sgorsten "for their math library (UNLICENSE)"), +[Tor Andersson](https://github.com/ccxvii/minilibs "for xml.c (PD)"), +[Vassvik](https://github.com/vassvik/mv_easy_font "for mv_easy_font (Unlicense)"), +[Wolfgang Draxinger](https://github.com/datenwolf "for their math library (WTFPL2)"), -## Credits (Tools) -- [Aaron Barany](https://github.com/akb825/Cuttlefish), for cuttlefish (APACHE2). -- [Arseny Kapoulkine](https://github.com/zeux/pugixml/), for pugixml (MIT). -- [Assimp authors](https://github.com/assimp/assimp), for assimp (BSD3). -- [Bernhard Schelling](https://github.com/schellingb/TinySoundFont), for tml.h (Zlib) and tsf.h (MIT). -- [ffmpeg authors](https://www.ffmpeg.org/), for ffmpeg (LGPL21). -- [Imagination](https://developer.imaginationtech.com/pvrtextool/), for pvrtextoolcli (ITL). -- [Krzysztof Gabis](https://github.com/kgabis/ape), for split.py/join.py (MIT). -- [Lee Salzman](https://github.com/lsalzman/iqm/tree/5882b8c32fa622eba3861a621bb715d693573420/demo), for iqm.cpp (PD). -- [Mattias Gustavsson](https://github.com/mattiasgustavsson/libs), for mid.h (PD). -- [Michael Schmoock](http://github.com/willsteel/lcpp), for lcpp (MIT). -- [Olivier Lapicque, Konstanty Bialkowski](https://github.com/Konstanty/libmodplug), for libmodplug (PD). -- [Polyglot Team](https://docs.google.com/spreadsheets/d/17f0dQawb-s_Fd7DHgmVvJoEGDMH_yoSd8EYigrb0zmM/edit), for polyglot gamedev (CC0). -- [Tildearrow](https://github.com/tildearrow/furnace/), for Furnace (GPL2). -- [Tomas Pettersson](http://www.drpetter.se/), for sfxr (PD). -- [Tor Andersson](https://github.com/ccxvii/asstools), for assiqe.c (BSD). - -## Credits (Runtime) -- [Barerose](https://github.com/barerose), for swrap (CC0). -- [Camilla Löwy](https://github.com/elmindreda), for glfw3 (Zlib). -- [Dave Rand](https://tools.ietf.org/html/rfc1978) for ppp (PD). -- [David Herberth](https://github.com/dav1dde/), for glad generated code (PD). -- [David Reid](https://github.com/mackron), for miniaudio (PD). -- [Dominic Szablewski](https://github.com/phoboslab/pl_mpeg), for pl_mpeg (MIT). -- [Dominik Madarász](https://github.com/zaklaus), for json5 parser (PD). -- [Eduard Suica](https://github.com/eduardsui/tlse), for tlse (PD). -- [Gargaj+cce/Peisik](https://github.com/gargaj/foxotron), for Foxotron/PBR shaders (UNLICENSE). -- [Guillaume Vareille](http://tinyfiledialogs.sourceforge.net), for tinyfiledialogs (ZLIB). -- [Haruhiko Okumura](https://oku.edu.mie-u.ac.jp/~okumura/compression/) for lzss (PD). -- [Igor Pavlov](https://www.7-zip.org/) for LZMA (PD). -- [Ilya Muravyov](https://github.com/encode84) for bcm, balz, crush, ulz, lz4x (PD). -- [Jon Olick](https://www.jonolick.com/), for jo_mp1 and jo_mpeg (PD). -- [Joonas Pihlajamaa](https://github.com/jokkebk/JUnzip), for JUnzip library (PD). -- [Juliette Focault](https://github.com/juliettef/IconFontCppHeaders/blob/main/IconsMaterialDesign.h), for the generated MD header (ZLIB). -- [Lee Salzman](https://github.com/lsalzman/iqm/tree/5882b8c32fa622eba3861a621bb715d693573420/demo), for IQM spec & player (PD). -- [Lee Salzman, V.Hrytsenko, D.Madarász](https://github.com/zpl-c/enet/), for enet (MIT). -- [Libtomcrypt](https://github.com/libtom/libtomcrypt), for libtomcrypt (Unlicense). -- [Lua authors](https://www.lua.org/), for Lua language (MIT). -- [Mārtiņš Možeiko](https://gist.github.com/mmozeiko/68f0a8459ef2f98bcd879158011cc275), for A* pathfinding (PD). -- [Mattias Gustavsson](https://github.com/mattiasgustavsson/libs), for thread.h and https.h (PD). -- [Micha Mettke, Chris Willcocks, Dmitry Hrabrov](https://github.com/vurtun/nuklear), for nuklear (PD). -- [Michael Galetzka](https://github.com/Cultrarius/Swarmz), for swarmz (UNLICENSE). -- [Omar Cornut, vaiorabbit](https://github.com/ocornut/imgui/pull/3627), for tables of unicode ranges (MIT-0). -- [Rabia Alhaffar](https://github.com/Rabios/ice_libs), for ice_batt.h (PD). -- [Rich Geldreich](https://github.com/richgel999/miniz), for miniz (PD). -- [Ross Williams](http://ross.net/compression/lzrw3a.html) for lzrw3a (PD). -- [Samuli Raivio](https://github.com/bqqbarbhg/bq_websocket), for bq_websocket (PD). -- [Sean Barrett](https://github.com/nothings), for stb_image, stb_image_write, stb_sprintf, stb_truetype and stb_vorbis (PD). -- [Sebastian Steinhauer](https://github.com/kieselsteini), for sts_mixer (PD). -- [Stan Melax, Cloud Wu](https://web.archive.org/web/20031204035320/http://www.melax.com/polychop/gdmag.pdf), for polychop C algorithm (PD). -- [Stefan Gustavson](https://github.com/stegu/perlin-noise), for simplex noise (PD). -- [Tor Andersson](https://github.com/ccxvii/minilibs), for xml.c (PD). -- [Vassvik](https://github.com/vassvik/mv_easy_font), for mv_easy_font (Unlicense). -- Special thanks to [@ands](https://github.com/ands), [@barerose](https://github.com/barerose), [@datenwolf](https://github.com/datenwolf), [@evanw](https://github.com/evanw), [@glampert](https://github.com/glampert), [@krig](https://github.com/krig), [@sgorsten](https://github.com/sgorsten) and [@vurtun](https://github.com/vurtun) for their math libraries (PD,CC0,WTFPL2,CC0,PD,CC0,Unlicense,PD). + ## Unlicense This software is released into the [public domain](https://unlicense.org/). Also dual-licensed as [0-BSD](https://opensource.org/licenses/0BSD) or [MIT (No Attribution)](https://github.com/aws/mit-0) for those countries where public domain is a concern (sigh). Any contribution to this repository is implicitly subjected to the same release conditions aforementioned. ## Links -
-
-
+Still looking for alternatives? [amulet](https://github.com/ianmaclarty/amulet), [aroma](https://github.com/leafo/aroma/), [astera](https://github.com/tek256/astera), [blendelf](https://github.com/jesterKing/BlendELF), [bullordengine](https://github.com/MarilynDafa/Bulllord-Engine), [candle](https://github.com/EvilPudding/candle), [cave](https://github.com/kieselsteini/cave), [chickpea](https://github.com/ivansafrin/chickpea), [corange](https://github.com/orangeduck/Corange), [cute](https://github.com/RandyGaul/cute_framework), [dos-like](https://github.com/mattiasgustavsson/dos-like), [ejoy2d](https://github.com/ejoy/ejoy2d), [exengine](https://github.com/exezin/exengine), [gunslinger](https://github.com/MrFrenik/gunslinger), [hate](https://github.com/excessive/hate), [island](https://github.com/island-org/island), [juno](https://github.com/rxi/juno), [l](https://github.com/Lyatus/L), [lgf](https://github.com/Planimeter/lgf), [limbus](https://github.com/redien/limbus), [love](https://github.com/love2d/love/), [lovr](https://github.com/bjornbytes/lovr), [mini3d](https://github.com/mini3d/mini3d), [mintaro](https://github.com/mackron/mintaro), [mio](https://github.com/ccxvii/mio), [olive.c](https://github.com/tsoding/olive.c), [opensource](https://github.com/w23/OpenSource), [ouzel](https://github.com/elnormous/ouzel/), [pez](https://github.com/prideout/pez), [pixie](https://github.com/mattiasgustavsson/pixie), [punity](https://github.com/martincohen/Punity), [r96](https://github.com/badlogic/r96), [ricotech](https://github.com/dbechrd/RicoTech), [rizz](https://github.com/septag/rizz), [tigr](https://github.com/erkkah/tigr), [yourgamelib](https://github.com/duddel/yourgamelib)
-Still looking for alternatives?
-[amulet](https://github.com/ianmaclarty/amulet), [aroma](https://github.com/leafo/aroma/), [astera](https://github.com/tek256/astera), [blendelf](https://github.com/jesterKing/BlendELF), [bullordengine](https://github.com/MarilynDafa/Bulllord-Engine), [candle](https://github.com/EvilPudding/candle), [cave](https://github.com/kieselsteini/cave), [chickpea](https://github.com/ivansafrin/chickpea), [corange](https://github.com/orangeduck/Corange), [cute](https://github.com/RandyGaul/cute_framework), [dos-like](https://github.com/mattiasgustavsson/dos-like), [ejoy2d](https://github.com/ejoy/ejoy2d), [exengine](https://github.com/exezin/exengine), [gunslinger](https://github.com/MrFrenik/gunslinger), [hate](https://github.com/excessive/hate), [island](https://github.com/island-org/island), [juno](https://github.com/rxi/juno), [l](https://github.com/Lyatus/L), [lgf](https://github.com/Planimeter/lgf), [limbus](https://github.com/redien/limbus), [love](https://github.com/love2d/love/), [lovr](https://github.com/bjornbytes/lovr), [mini3d](https://github.com/mini3d/mini3d), [mintaro](https://github.com/mackron/mintaro), [mio](https://github.com/ccxvii/mio), [olive.c](https://github.com/tsoding/olive.c), [opensource](https://github.com/w23/OpenSource), [ouzel](https://github.com/elnormous/ouzel/), [pez](https://github.com/prideout/pez), [pixie](https://github.com/mattiasgustavsson/pixie), [punity](https://github.com/martincohen/Punity), [r96](https://github.com/badlogic/r96), [ricotech](https://github.com/dbechrd/RicoTech), [rizz](https://github.com/septag/rizz), [tigr](https://github.com/erkkah/tigr), [yourgamelib](https://github.com/duddel/yourgamelib)
-
-
-
+Still looking for alternatives? [amulet](https://github.com/ianmaclarty/amulet), [aroma](https://github.com/leafo/aroma/), [astera](https://github.com/tek256/astera), [blendelf](https://github.com/jesterKing/BlendELF), [bullordengine](https://github.com/MarilynDafa/Bulllord-Engine), [candle](https://github.com/EvilPudding/candle), [cave](https://github.com/kieselsteini/cave), [chickpea](https://github.com/ivansafrin/chickpea), [corange](https://github.com/orangeduck/Corange), [cute](https://github.com/RandyGaul/cute_framework), [dos-like](https://github.com/mattiasgustavsson/dos-like), [ejoy2d](https://github.com/ejoy/ejoy2d), [exengine](https://github.com/exezin/exengine), [gunslinger](https://github.com/MrFrenik/gunslinger), [hate](https://github.com/excessive/hate), [island](https://github.com/island-org/island), [juno](https://github.com/rxi/juno), [l](https://github.com/Lyatus/L), [lgf](https://github.com/Planimeter/lgf), [limbus](https://github.com/redien/limbus), [love](https://github.com/love2d/love/), [lovr](https://github.com/bjornbytes/lovr), [mini3d](https://github.com/mini3d/mini3d), [mintaro](https://github.com/mackron/mintaro), [mio](https://github.com/ccxvii/mio), [olive.c](https://github.com/tsoding/olive.c), [opensource](https://github.com/w23/OpenSource), [ouzel](https://github.com/elnormous/ouzel/), [pez](https://github.com/prideout/pez), [pixie](https://github.com/mattiasgustavsson/pixie), [punity](https://github.com/martincohen/Punity), [r96](https://github.com/badlogic/r96), [ricotech](https://github.com/dbechrd/RicoTech), [rizz](https://github.com/septag/rizz), [tigr](https://github.com/erkkah/tigr), [yourgamelib](https://github.com/duddel/yourgamelib)
-Still looking for alternatives?
-[amulet](https://github.com/ianmaclarty/amulet), [aroma](https://github.com/leafo/aroma/), [astera](https://github.com/tek256/astera), [blendelf](https://github.com/jesterKing/BlendELF), [bullordengine](https://github.com/MarilynDafa/Bulllord-Engine), [candle](https://github.com/EvilPudding/candle), [cave](https://github.com/kieselsteini/cave), [chickpea](https://github.com/ivansafrin/chickpea), [corange](https://github.com/orangeduck/Corange), [cute](https://github.com/RandyGaul/cute_framework), [dos-like](https://github.com/mattiasgustavsson/dos-like), [ejoy2d](https://github.com/ejoy/ejoy2d), [exengine](https://github.com/exezin/exengine), [gunslinger](https://github.com/MrFrenik/gunslinger), [hate](https://github.com/excessive/hate), [island](https://github.com/island-org/island), [juno](https://github.com/rxi/juno), [l](https://github.com/Lyatus/L), [lgf](https://github.com/Planimeter/lgf), [limbus](https://github.com/redien/limbus), [love](https://github.com/love2d/love/), [lovr](https://github.com/bjornbytes/lovr), [mini3d](https://github.com/mini3d/mini3d), [mintaro](https://github.com/mackron/mintaro), [mio](https://github.com/ccxvii/mio), [olive.c](https://github.com/tsoding/olive.c), [opensource](https://github.com/w23/OpenSource), [ouzel](https://github.com/elnormous/ouzel/), [pez](https://github.com/prideout/pez), [pixie](https://github.com/mattiasgustavsson/pixie), [punity](https://github.com/martincohen/Punity), [r96](https://github.com/badlogic/r96), [ricotech](https://github.com/dbechrd/RicoTech), [rizz](https://github.com/septag/rizz), [tigr](https://github.com/erkkah/tigr), [yourgamelib](https://github.com/duddel/yourgamelib)
-