├── .editorconfig ├── .gitignore ├── README.md ├── build.zig ├── data ├── font.png ├── small.png ├── tex.png └── tiles │ ├── tile_grass.png │ └── tile_wood.png ├── examples ├── asm │ ├── main.asm │ └── main.com ├── c │ ├── sokol │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── fips.yml │ │ ├── samples │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── CMakeLists.txt │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── appveyor.yml │ │ │ ├── d3d11 │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── HandmadeMath.h │ │ │ │ ├── arraytex-d3d11.c │ │ │ │ ├── binshader-d3d11.c │ │ │ │ ├── binshader_fs.h │ │ │ │ ├── binshader_vs.h │ │ │ │ ├── blend-d3d11.c │ │ │ │ ├── bufferoffsets-d3d11.c │ │ │ │ ├── clear-d3d11.c │ │ │ │ ├── cube-d3d11.c │ │ │ │ ├── d3d11entry.c │ │ │ │ ├── d3d11entry.h │ │ │ │ ├── dyntex-d3d11.c │ │ │ │ ├── imgui-d3d11.cc │ │ │ │ ├── inject-d3d11.c │ │ │ │ ├── instancing-d3d11.c │ │ │ │ ├── mipmap-d3d11.c │ │ │ │ ├── mrt-d3d11.c │ │ │ │ ├── offscreen-d3d11.c │ │ │ │ ├── quad-d3d11.c │ │ │ │ ├── texcube-d3d11.c │ │ │ │ └── triangle-d3d11.c │ │ │ ├── fips │ │ │ ├── fips-files │ │ │ │ ├── configs │ │ │ │ │ ├── d3d11-win64-vs2015-debug.yml │ │ │ │ │ ├── d3d11-win64-vs2015-release.yml │ │ │ │ │ ├── d3d11-win64-vs2017-debug.yml │ │ │ │ │ ├── d3d11-win64-vs2017-release.yml │ │ │ │ │ ├── d3d11-win64-vscode-debug.yml │ │ │ │ │ ├── d3d11-win64-vstudio-debug.yml │ │ │ │ │ ├── d3d11-win64-vstudio-release.yml │ │ │ │ │ ├── ios-xcode-debug.yml │ │ │ │ │ ├── ios-xcode-release.yml │ │ │ │ │ ├── metal-ios-xcode-debug.yml │ │ │ │ │ ├── metal-ios-xcode-release.yml │ │ │ │ │ ├── metal-osx-make-debug.yml │ │ │ │ │ ├── metal-osx-make-release.yml │ │ │ │ │ ├── metal-osx-ninja-debug.yml │ │ │ │ │ ├── metal-osx-ninja-release.yml │ │ │ │ │ ├── metal-osx-vscode-debug.yml │ │ │ │ │ ├── metal-osx-xcode-debug.yml │ │ │ │ │ ├── metal-osx-xcode-release.yml │ │ │ │ │ ├── osx-vscode-debug.yml │ │ │ │ │ ├── sapp-android-make-debug.yml │ │ │ │ │ ├── sapp-android-make-release.yml │ │ │ │ │ ├── sapp-android-vscode-debug.yml │ │ │ │ │ ├── sapp-android-vscode-release.yml │ │ │ │ │ ├── sapp-d3d11-win64-vs2015-debug.yml │ │ │ │ │ ├── sapp-d3d11-win64-vs2015-release.yml │ │ │ │ │ ├── sapp-d3d11-win64-vs2017-debug.yml │ │ │ │ │ ├── sapp-d3d11-win64-vs2017-release.yml │ │ │ │ │ ├── sapp-d3d11-win64-vscode-debug.yml │ │ │ │ │ ├── sapp-d3d11-win64-vstudio-debug.yml │ │ │ │ │ ├── sapp-d3d11-win64-vstudio-release.yml │ │ │ │ │ ├── sapp-ios-xcode-debug.yml │ │ │ │ │ ├── sapp-linux-make-debug.yml │ │ │ │ │ ├── sapp-linux-make-release.yml │ │ │ │ │ ├── sapp-linux-ninja-debug.yml │ │ │ │ │ ├── sapp-linux-ninja-release.yml │ │ │ │ │ ├── sapp-linux-vscode-debug.yml │ │ │ │ │ ├── sapp-linux-vscode-release.yml │ │ │ │ │ ├── sapp-metal-ios-xcode-debug.yml │ │ │ │ │ ├── sapp-metal-osx-make-debug.yml │ │ │ │ │ ├── sapp-metal-osx-make-release.yml │ │ │ │ │ ├── sapp-metal-osx-vscode-debug.yml │ │ │ │ │ ├── sapp-metal-osx-xcode-debug.yml │ │ │ │ │ ├── sapp-osx-vscode-debug.yml │ │ │ │ │ ├── sapp-osx-xcode-debug.yml │ │ │ │ │ ├── sapp-webgl2-emsc-ninja-release.yml │ │ │ │ │ ├── sapp-webgl2-emsc-vscode-release.yml │ │ │ │ │ ├── sapp-webgl2-wasm-ninja-debug.yml │ │ │ │ │ ├── sapp-webgl2-wasm-ninja-release.yml │ │ │ │ │ ├── sapp-webgl2-wasm-vscode-debug.yml │ │ │ │ │ ├── sapp-webgl2-wasm-vscode-release.yml │ │ │ │ │ ├── sapp-win64-vs2015-debug.yml │ │ │ │ │ ├── sapp-win64-vs2015-release.yml │ │ │ │ │ ├── sapp-win64-vs2017-debug.yml │ │ │ │ │ ├── sapp-win64-vs2017-release.yml │ │ │ │ │ ├── sapp-win64-vscode-debug.yml │ │ │ │ │ ├── sapp-win64-vstudio-debug.yml │ │ │ │ │ ├── sapp-win64-vstudio-release.yml │ │ │ │ │ ├── webgl2-emsc-ninja-release.yml │ │ │ │ │ ├── webgl2-emsc-vscode-release.yml │ │ │ │ │ ├── webgl2-wasm-ninja-debug.yml │ │ │ │ │ ├── webgl2-wasm-ninja-release.yml │ │ │ │ │ ├── webgl2-wasm-vscode-debug.yml │ │ │ │ │ └── webgl2-wasm-vscode-release.yml │ │ │ │ ├── generators │ │ │ │ │ └── dump.py │ │ │ │ └── verbs │ │ │ │ │ └── webpage.py │ │ │ ├── fips.cmd │ │ │ ├── fips.yml │ │ │ ├── glfw │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── HandmadeMath.h │ │ │ │ ├── arraytex-glfw.c │ │ │ │ ├── blend-glfw.c │ │ │ │ ├── bufferoffsets-glfw.c │ │ │ │ ├── clear-glfw.c │ │ │ │ ├── cube-glfw.c │ │ │ │ ├── dyntex-glfw.c │ │ │ │ ├── flextgl │ │ │ │ │ ├── flextGL.c │ │ │ │ │ ├── flextGL.h │ │ │ │ │ ├── flextgl.sh │ │ │ │ │ └── flextgl_profile.txt │ │ │ │ ├── flextgl12 │ │ │ │ │ ├── flextGL.c │ │ │ │ │ ├── flextGL.h │ │ │ │ │ ├── flextgl.sh │ │ │ │ │ └── flextgl_profile.txt │ │ │ │ ├── glu.h │ │ │ │ ├── imgui-glfw.cc │ │ │ │ ├── inject-glfw.c │ │ │ │ ├── instancing-glfw.c │ │ │ │ ├── mipmap-glfw.c │ │ │ │ ├── mrt-glfw.c │ │ │ │ ├── multiwindow-glfw.c │ │ │ │ ├── noninterleaved-glfw.c │ │ │ │ ├── offscreen-glfw.c │ │ │ │ ├── quad-glfw.c │ │ │ │ ├── sgl-test-glfw.c │ │ │ │ ├── texcube-glfw.c │ │ │ │ └── triangle-glfw.c │ │ │ ├── html5 │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── HandmadeMath.h │ │ │ │ ├── arraytex-emsc.c │ │ │ │ ├── blend-emsc.c │ │ │ │ ├── bufferoffsets-emsc.c │ │ │ │ ├── clear-emsc.c │ │ │ │ ├── cube-emsc.c │ │ │ │ ├── dyntex-emsc.c │ │ │ │ ├── emsc.h │ │ │ │ ├── imgui-emsc.cc │ │ │ │ ├── inject-emsc.c │ │ │ │ ├── instancing-emsc.c │ │ │ │ ├── mipmap-emsc.c │ │ │ │ ├── mrt-emsc.c │ │ │ │ ├── noninterleaved-emsc.c │ │ │ │ ├── offscreen-emsc.c │ │ │ │ ├── quad-emsc.c │ │ │ │ ├── texcube-emsc.c │ │ │ │ └── triangle-emsc.c │ │ │ ├── metal │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── HandmadeMath.h │ │ │ │ ├── arraytex-metal.c │ │ │ │ ├── binshader-compile.py │ │ │ │ ├── binshader-fs.metal │ │ │ │ ├── binshader-metal-iphoneos.h │ │ │ │ ├── binshader-metal-macosx.h │ │ │ │ ├── binshader-metal.c │ │ │ │ ├── binshader-vs.metal │ │ │ │ ├── blend-metal.c │ │ │ │ ├── bufferoffsets-metal.c │ │ │ │ ├── clear-metal.c │ │ │ │ ├── cube-metal.c │ │ │ │ ├── dyntex-metal.c │ │ │ │ ├── imgui-metal.cc │ │ │ │ ├── inject-metal.mm │ │ │ │ ├── instancing-metal.c │ │ │ │ ├── mipmap-metal.c │ │ │ │ ├── mrt-metal.c │ │ │ │ ├── noninterleaved-metal.c │ │ │ │ ├── offscreen-metal.c │ │ │ │ ├── osxentry.h │ │ │ │ ├── osxentry.m │ │ │ │ ├── quad-metal.c │ │ │ │ ├── releasetest-metal.c │ │ │ │ ├── sokol_gfx.m │ │ │ │ ├── texcube-metal.c │ │ │ │ └── triangle-metal.c │ │ │ ├── raspi │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── clear-raspi.c │ │ │ │ ├── raspientry.c │ │ │ │ └── raspientry.h │ │ │ ├── sapp │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── HandmadeMath.h │ │ │ │ ├── arraytex-sapp.c │ │ │ │ ├── blend-sapp.c │ │ │ │ ├── bufferoffsets-sapp.c │ │ │ │ ├── clear-sapp.c │ │ │ │ ├── cube-sapp.c │ │ │ │ ├── cubemaprt-sapp.c │ │ │ │ ├── data │ │ │ │ │ ├── comsi.s3m │ │ │ │ │ ├── disco_feva_baby.s3m │ │ │ │ │ ├── mods.h │ │ │ │ │ └── mods.yml │ │ │ │ ├── dyntex-sapp.c │ │ │ │ ├── events-sapp.c │ │ │ │ ├── imgui-highdpi-sapp.cc │ │ │ │ ├── imgui-sapp.cc │ │ │ │ ├── imgui_font.h │ │ │ │ ├── instancing-sapp.c │ │ │ │ ├── ios-info.plist │ │ │ │ ├── microui │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── atlas.inl │ │ │ │ │ ├── microui.c │ │ │ │ │ └── microui.h │ │ │ │ ├── mipmap-sapp.c │ │ │ │ ├── modplay-sapp.c │ │ │ │ ├── mrt-sapp.c │ │ │ │ ├── noentry-sapp.c │ │ │ │ ├── noninterleaved-sapp.c │ │ │ │ ├── offscreen-sapp.c │ │ │ │ ├── quad-sapp.c │ │ │ │ ├── saudio-sapp.c │ │ │ │ ├── sgl-lines-sapp.c │ │ │ │ ├── sgl-microui-sapp.c │ │ │ │ ├── sgl-sapp.c │ │ │ │ ├── sokol │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── sokol-noentry.c │ │ │ │ │ ├── sokol-noentry.m │ │ │ │ │ ├── sokol.c │ │ │ │ │ └── sokol.m │ │ │ │ ├── texcube-sapp.c │ │ │ │ ├── triangle-sapp.c │ │ │ │ └── ui │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── dbgui.cc │ │ │ │ │ └── dbgui.h │ │ │ ├── tests │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── cpp-compile-test.cc │ │ │ │ ├── objcpp-compile-test.mm │ │ │ │ ├── sokol-args-test.c │ │ │ │ ├── sokol-audio-test.c │ │ │ │ ├── sokol-gfx-test.c │ │ │ │ ├── sokol-gl-test.c │ │ │ │ └── test.h │ │ │ └── webpage │ │ │ │ ├── arraytex.jpg │ │ │ │ ├── blend.jpg │ │ │ │ ├── bufferoffsets.jpg │ │ │ │ ├── clear.jpg │ │ │ │ ├── cube.jpg │ │ │ │ ├── dummy.jpg │ │ │ │ ├── dyntex.jpg │ │ │ │ ├── favicon.png │ │ │ │ ├── imgui-highdpi.jpg │ │ │ │ ├── imgui.jpg │ │ │ │ ├── index.html │ │ │ │ ├── inject.jpg │ │ │ │ ├── instancing.jpg │ │ │ │ ├── mipmap.jpg │ │ │ │ ├── modplay.jpg │ │ │ │ ├── mrt.jpg │ │ │ │ ├── noentry.jpg │ │ │ │ ├── noninterleaved.jpg │ │ │ │ ├── offscreen.jpg │ │ │ │ ├── quad.jpg │ │ │ │ ├── saudio.jpg │ │ │ │ ├── sgl-lines.jpg │ │ │ │ ├── sgl-microui.jpg │ │ │ │ ├── sgl.jpg │ │ │ │ ├── shell.html │ │ │ │ ├── texcube.jpg │ │ │ │ ├── triangle.jpg │ │ │ │ └── wasm.html │ │ ├── sokol_app.h │ │ ├── sokol_args.h │ │ ├── sokol_audio.h │ │ ├── sokol_gfx.h │ │ ├── sokol_time.h │ │ └── util │ │ │ ├── README.md │ │ │ ├── sokol_gfx_imgui.h │ │ │ ├── sokol_gl.h │ │ │ └── sokol_imgui.h │ └── stb │ │ ├── .github │ │ ├── CONTRIBUTING.md │ │ └── PULL_REQUEST_TEMPLATE.md │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── data │ │ ├── atari_8bit_font_revised.png │ │ ├── easy_font_raw.png │ │ ├── herringbone │ │ │ ├── license.txt │ │ │ ├── template_caves_limit_connectivity.png │ │ │ ├── template_caves_tiny_corridors.png │ │ │ ├── template_corner_caves.png │ │ │ ├── template_horizontal_corridors_v1.png │ │ │ ├── template_horizontal_corridors_v2.png │ │ │ ├── template_horizontal_corridors_v3.png │ │ │ ├── template_limit_connectivity_fat.png │ │ │ ├── template_limited_connectivity.png │ │ │ ├── template_maze_2_wide.png │ │ │ ├── template_maze_plus_2_wide.png │ │ │ ├── template_open_areas.png │ │ │ ├── template_ref2_corner_caves.png │ │ │ ├── template_rooms_and_corridors.png │ │ │ ├── template_rooms_and_corridors_2_wide_diagonal_bias.png │ │ │ ├── template_rooms_limit_connectivity.png │ │ │ ├── template_round_rooms_diagonal_corridors.png │ │ │ ├── template_sean_dungeon.png │ │ │ ├── template_simple_caves_2_wide.png │ │ │ └── template_square_rooms_with_random_rects.png │ │ ├── map_01.png │ │ ├── map_02.png │ │ └── map_03.png │ │ ├── deprecated │ │ ├── rrsprintf.h │ │ ├── stb_image.c │ │ └── stretchy_buffer.txt │ │ ├── docs │ │ ├── other_libs.md │ │ ├── stb_howto.txt │ │ ├── stb_voxel_render_interview.md │ │ └── why_public_domain.md │ │ ├── stb.h │ │ ├── stb_c_lexer.h │ │ ├── stb_connected_components.h │ │ ├── stb_divide.h │ │ ├── stb_ds.h │ │ ├── stb_dxt.h │ │ ├── stb_easy_font.h │ │ ├── stb_herringbone_wang_tile.h │ │ ├── stb_image.h │ │ ├── stb_image_resize.h │ │ ├── stb_image_write.h │ │ ├── stb_include.h │ │ ├── stb_leakcheck.h │ │ ├── stb_perlin.h │ │ ├── stb_rect_pack.h │ │ ├── stb_sprintf.h │ │ ├── stb_textedit.h │ │ ├── stb_tilemap_editor.h │ │ ├── stb_truetype.h │ │ ├── stb_vorbis.c │ │ ├── stb_voxel_render.h │ │ ├── stretchy_buffer.h │ │ ├── tests │ │ ├── Makefile │ │ ├── c_lexer_test.c │ │ ├── c_lexer_test.dsp │ │ ├── caveview │ │ │ ├── README.md │ │ │ ├── cave_main.c │ │ │ ├── cave_mesher.c │ │ │ ├── cave_parse.c │ │ │ ├── cave_parse.h │ │ │ ├── cave_render.c │ │ │ ├── caveview.dsp │ │ │ ├── caveview.dsw │ │ │ ├── caveview.h │ │ │ ├── glext.h │ │ │ ├── glext_list.h │ │ │ ├── main.c │ │ │ ├── stb_gl.h │ │ │ ├── stb_glprog.h │ │ │ └── win32 │ │ │ │ └── SDL_windows_main.c │ │ ├── grid_reachability.c │ │ ├── herringbone.dsp │ │ ├── herringbone_generator.c │ │ ├── herringbone_map.c │ │ ├── herringbone_map.dsp │ │ ├── image_test.c │ │ ├── image_test.dsp │ │ ├── image_write_test.c │ │ ├── oversample │ │ │ ├── README.md │ │ │ ├── main.c │ │ │ ├── oversample.dsp │ │ │ ├── oversample.dsw │ │ │ └── stb_wingraph.h │ │ ├── pg_test │ │ │ └── pg_test.c │ │ ├── pngsuite │ │ │ ├── 16bit │ │ │ │ ├── basi0g16.png │ │ │ │ ├── basi2c16.png │ │ │ │ ├── basi4a16.png │ │ │ │ ├── basi6a16.png │ │ │ │ ├── basn0g16.png │ │ │ │ ├── basn2c16.png │ │ │ │ ├── basn4a16.png │ │ │ │ ├── basn6a16.png │ │ │ │ ├── bgai4a16.png │ │ │ │ ├── bgan6a16.png │ │ │ │ ├── bggn4a16.png │ │ │ │ ├── bgyn6a16.png │ │ │ │ ├── oi1n0g16.png │ │ │ │ ├── oi1n2c16.png │ │ │ │ ├── oi2n0g16.png │ │ │ │ ├── oi2n2c16.png │ │ │ │ ├── oi4n0g16.png │ │ │ │ ├── oi4n2c16.png │ │ │ │ ├── oi9n0g16.png │ │ │ │ ├── oi9n2c16.png │ │ │ │ ├── tbbn2c16.png │ │ │ │ ├── tbgn2c16.png │ │ │ │ └── tbwn0g16.png │ │ │ ├── PngSuite.LICENSE │ │ │ ├── corrupt │ │ │ │ ├── xc1n0g08.png │ │ │ │ ├── xc9n2c08.png │ │ │ │ ├── xcrn0g04.png │ │ │ │ ├── xcsn0g01.png │ │ │ │ ├── xd0n2c08.png │ │ │ │ ├── xd3n2c08.png │ │ │ │ ├── xd9n2c08.png │ │ │ │ ├── xdtn0g01.png │ │ │ │ ├── xhdn0g08.png │ │ │ │ ├── xlfn0g04.png │ │ │ │ ├── xs1n0g01.png │ │ │ │ ├── xs2n0g01.png │ │ │ │ ├── xs4n0g01.png │ │ │ │ └── xs7n0g01.png │ │ │ ├── primary │ │ │ │ ├── basi0g01.png │ │ │ │ ├── basi0g02.png │ │ │ │ ├── basi0g04.png │ │ │ │ ├── basi0g08.png │ │ │ │ ├── basi2c08.png │ │ │ │ ├── basi3p01.png │ │ │ │ ├── basi3p02.png │ │ │ │ ├── basi3p04.png │ │ │ │ ├── basi3p08.png │ │ │ │ ├── basi4a08.png │ │ │ │ ├── basi6a08.png │ │ │ │ ├── basn0g01.png │ │ │ │ ├── basn0g02.png │ │ │ │ ├── basn0g04.png │ │ │ │ ├── basn0g08.png │ │ │ │ ├── basn2c08.png │ │ │ │ ├── basn3p01.png │ │ │ │ ├── basn3p02.png │ │ │ │ ├── basn3p04.png │ │ │ │ ├── basn3p08.png │ │ │ │ ├── basn4a08.png │ │ │ │ ├── basn6a08.png │ │ │ │ ├── bgai4a08.png │ │ │ │ ├── bgan6a08.png │ │ │ │ ├── bgbn4a08.png │ │ │ │ ├── bgwn6a08.png │ │ │ │ ├── s01i3p01.png │ │ │ │ ├── s01n3p01.png │ │ │ │ ├── s02i3p01.png │ │ │ │ ├── s02n3p01.png │ │ │ │ ├── s03i3p01.png │ │ │ │ ├── s03n3p01.png │ │ │ │ ├── s04i3p01.png │ │ │ │ ├── s04n3p01.png │ │ │ │ ├── s05i3p02.png │ │ │ │ ├── s05n3p02.png │ │ │ │ ├── s06i3p02.png │ │ │ │ ├── s06n3p02.png │ │ │ │ ├── s07i3p02.png │ │ │ │ ├── s07n3p02.png │ │ │ │ ├── s08i3p02.png │ │ │ │ ├── s08n3p02.png │ │ │ │ ├── s09i3p02.png │ │ │ │ ├── s09n3p02.png │ │ │ │ ├── s32i3p04.png │ │ │ │ ├── s32n3p04.png │ │ │ │ ├── s33i3p04.png │ │ │ │ ├── s33n3p04.png │ │ │ │ ├── s34i3p04.png │ │ │ │ ├── s34n3p04.png │ │ │ │ ├── s35i3p04.png │ │ │ │ ├── s35n3p04.png │ │ │ │ ├── s36i3p04.png │ │ │ │ ├── s36n3p04.png │ │ │ │ ├── s37i3p04.png │ │ │ │ ├── s37n3p04.png │ │ │ │ ├── s38i3p04.png │ │ │ │ ├── s38n3p04.png │ │ │ │ ├── s39i3p04.png │ │ │ │ ├── s39n3p04.png │ │ │ │ ├── s40i3p04.png │ │ │ │ ├── s40n3p04.png │ │ │ │ ├── tbbn0g04.png │ │ │ │ ├── tbbn3p08.png │ │ │ │ ├── tbgn3p08.png │ │ │ │ ├── tbrn2c08.png │ │ │ │ ├── tbwn3p08.png │ │ │ │ ├── tbyn3p08.png │ │ │ │ ├── tm3n3p02.png │ │ │ │ ├── tp0n0g08.png │ │ │ │ ├── tp0n2c08.png │ │ │ │ ├── tp0n3p08.png │ │ │ │ ├── tp1n3p08.png │ │ │ │ ├── z00n2c08.png │ │ │ │ ├── z03n2c08.png │ │ │ │ ├── z06n2c08.png │ │ │ │ └── z09n2c08.png │ │ │ ├── primary_check │ │ │ │ ├── basi0g01.png │ │ │ │ ├── basi0g02.png │ │ │ │ ├── basi0g04.png │ │ │ │ ├── basi0g08.png │ │ │ │ ├── basi2c08.png │ │ │ │ ├── basi3p01.png │ │ │ │ ├── basi3p02.png │ │ │ │ ├── basi3p04.png │ │ │ │ ├── basi3p08.png │ │ │ │ ├── basi4a08.png │ │ │ │ ├── basi6a08.png │ │ │ │ ├── basn0g01.png │ │ │ │ ├── basn0g02.png │ │ │ │ ├── basn0g04.png │ │ │ │ ├── basn0g08.png │ │ │ │ ├── basn2c08.png │ │ │ │ ├── basn3p01.png │ │ │ │ ├── basn3p02.png │ │ │ │ ├── basn3p04.png │ │ │ │ ├── basn3p08.png │ │ │ │ ├── basn4a08.png │ │ │ │ ├── basn6a08.png │ │ │ │ ├── bgai4a08.png │ │ │ │ ├── bgan6a08.png │ │ │ │ ├── bgbn4a08.png │ │ │ │ ├── bgwn6a08.png │ │ │ │ ├── s01i3p01.png │ │ │ │ ├── s01n3p01.png │ │ │ │ ├── s02i3p01.png │ │ │ │ ├── s02n3p01.png │ │ │ │ ├── s03i3p01.png │ │ │ │ ├── s03n3p01.png │ │ │ │ ├── s04i3p01.png │ │ │ │ ├── s04n3p01.png │ │ │ │ ├── s05i3p02.png │ │ │ │ ├── s05n3p02.png │ │ │ │ ├── s06i3p02.png │ │ │ │ ├── s06n3p02.png │ │ │ │ ├── s07i3p02.png │ │ │ │ ├── s07n3p02.png │ │ │ │ ├── s08i3p02.png │ │ │ │ ├── s08n3p02.png │ │ │ │ ├── s09i3p02.png │ │ │ │ ├── s09n3p02.png │ │ │ │ ├── s32i3p04.png │ │ │ │ ├── s32n3p04.png │ │ │ │ ├── s33i3p04.png │ │ │ │ ├── s33n3p04.png │ │ │ │ ├── s34i3p04.png │ │ │ │ ├── s34n3p04.png │ │ │ │ ├── s35i3p04.png │ │ │ │ ├── s35n3p04.png │ │ │ │ ├── s36i3p04.png │ │ │ │ ├── s36n3p04.png │ │ │ │ ├── s37i3p04.png │ │ │ │ ├── s37n3p04.png │ │ │ │ ├── s38i3p04.png │ │ │ │ ├── s38n3p04.png │ │ │ │ ├── s39i3p04.png │ │ │ │ ├── s39n3p04.png │ │ │ │ ├── s40i3p04.png │ │ │ │ ├── s40n3p04.png │ │ │ │ ├── tbbn0g04.png │ │ │ │ ├── tbbn3p08.png │ │ │ │ ├── tbgn3p08.png │ │ │ │ ├── tbrn2c08.png │ │ │ │ ├── tbwn3p08.png │ │ │ │ ├── tbyn3p08.png │ │ │ │ ├── tm3n3p02.png │ │ │ │ ├── tp0n0g08.png │ │ │ │ ├── tp0n2c08.png │ │ │ │ ├── tp0n3p08.png │ │ │ │ ├── tp1n3p08.png │ │ │ │ ├── z00n2c08.png │ │ │ │ ├── z03n2c08.png │ │ │ │ ├── z06n2c08.png │ │ │ │ └── z09n2c08.png │ │ │ └── unused │ │ │ │ ├── ccwn2c08.png │ │ │ │ ├── ccwn3p08.png │ │ │ │ ├── cdfn2c08.png │ │ │ │ ├── cdhn2c08.png │ │ │ │ ├── cdsn2c08.png │ │ │ │ ├── cdun2c08.png │ │ │ │ ├── ch1n3p04.png │ │ │ │ ├── ch2n3p08.png │ │ │ │ ├── cm0n0g04.png │ │ │ │ ├── cm7n0g04.png │ │ │ │ ├── cm9n0g04.png │ │ │ │ ├── cs3n2c16.png │ │ │ │ ├── cs3n3p08.png │ │ │ │ ├── cs5n2c08.png │ │ │ │ ├── cs5n3p08.png │ │ │ │ ├── cs8n2c08.png │ │ │ │ ├── cs8n3p08.png │ │ │ │ ├── ct0n0g04.png │ │ │ │ ├── ct1n0g04.png │ │ │ │ ├── cten0g04.png │ │ │ │ ├── ctfn0g04.png │ │ │ │ ├── ctgn0g04.png │ │ │ │ ├── cthn0g04.png │ │ │ │ ├── ctjn0g04.png │ │ │ │ ├── ctzn0g04.png │ │ │ │ ├── f00n0g08.png │ │ │ │ ├── f00n2c08.png │ │ │ │ ├── f01n0g08.png │ │ │ │ ├── f01n2c08.png │ │ │ │ ├── f02n0g08.png │ │ │ │ ├── f02n2c08.png │ │ │ │ ├── f03n0g08.png │ │ │ │ ├── f03n2c08.png │ │ │ │ ├── f04n0g08.png │ │ │ │ ├── f04n2c08.png │ │ │ │ ├── f99n0g04.png │ │ │ │ ├── g03n0g16.png │ │ │ │ ├── g03n2c08.png │ │ │ │ ├── g03n3p04.png │ │ │ │ ├── g04n0g16.png │ │ │ │ ├── g04n2c08.png │ │ │ │ ├── g04n3p04.png │ │ │ │ ├── g05n0g16.png │ │ │ │ ├── g05n2c08.png │ │ │ │ ├── g05n3p04.png │ │ │ │ ├── g07n0g16.png │ │ │ │ ├── g07n2c08.png │ │ │ │ ├── g07n3p04.png │ │ │ │ ├── g10n0g16.png │ │ │ │ ├── g10n2c08.png │ │ │ │ ├── g10n3p04.png │ │ │ │ ├── g25n0g16.png │ │ │ │ ├── g25n2c08.png │ │ │ │ ├── g25n3p04.png │ │ │ │ ├── pp0n2c16.png │ │ │ │ ├── pp0n6a08.png │ │ │ │ ├── ps1n0g08.png │ │ │ │ ├── ps1n2c16.png │ │ │ │ ├── ps2n0g08.png │ │ │ │ └── ps2n2c16.png │ │ ├── prerelease │ │ │ └── stb_lib.h │ │ ├── resample_test.cpp │ │ ├── resample_test_c.c │ │ ├── resize.dsp │ │ ├── sdf │ │ │ ├── sdf_test.c │ │ │ ├── sdf_test_arial_16.png │ │ │ ├── sdf_test_times_16.png │ │ │ └── sdf_test_times_50.png │ │ ├── stb.c │ │ ├── stb.dsp │ │ ├── stb.dsw │ │ ├── stb_cpp.cpp │ │ ├── stb_cpp.dsp │ │ ├── stb_static.c │ │ ├── stblib.dsp │ │ ├── stblib_test.c │ │ ├── stblib_test_companion.c │ │ ├── stretch_test.c │ │ ├── stretch_test.dsp │ │ ├── stretchy_buffer_test.c │ │ ├── test.sbm │ │ ├── test_c_compilation.c │ │ ├── test_c_lexer.c │ │ ├── test_cpp_compilation.cpp │ │ ├── test_ds.c │ │ ├── test_ds_cpp.cpp │ │ ├── test_dxt.c │ │ ├── test_easyfont.c │ │ ├── test_image.c │ │ ├── test_image_write.c │ │ ├── test_perlin.c │ │ ├── test_siphash.c │ │ ├── test_sprintf.c │ │ ├── test_truetype.c │ │ ├── test_vorbis.c │ │ ├── test_voxel.c │ │ ├── textedit_sample.c │ │ ├── tilemap_editor_integration_example.c │ │ └── vorbseek │ │ │ ├── vorbseek.c │ │ │ └── vorbseek.dsp │ │ └── tools │ │ ├── README.footer.md │ │ ├── README.header.md │ │ ├── README.list │ │ ├── easy_font_maker.c │ │ ├── make_readme.c │ │ ├── make_readme.dsp │ │ ├── mr.bat │ │ ├── unicode.c │ │ └── unicode │ │ └── unicode.dsp ├── db │ └── main.zig ├── editor │ ├── editor.zig │ └── test.zig ├── live │ ├── Makefile │ ├── dev.zig │ └── game.zig ├── synth │ ├── libsoundio-master │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── CMakeLists.txt │ │ ├── LICENSE │ │ ├── README.md │ │ ├── cmake │ │ │ ├── FindCoreAudio.cmake │ │ │ ├── FindJACK.cmake │ │ │ ├── FindPulseAudio.cmake │ │ │ └── FindWASAPI.cmake │ │ ├── doc │ │ │ ├── FindSoundIo.cmake │ │ │ ├── doxygen.conf.in │ │ │ └── footer.html │ │ ├── example │ │ │ ├── sio_list_devices.c │ │ │ ├── sio_microphone.c │ │ │ ├── sio_record.c │ │ │ └── sio_sine.c │ │ ├── soundio │ │ │ ├── endian.h │ │ │ └── soundio.h │ │ ├── src │ │ │ ├── alsa.c │ │ │ ├── alsa.h │ │ │ ├── atomics.h │ │ │ ├── channel_layout.c │ │ │ ├── config.h.in │ │ │ ├── coreaudio.c │ │ │ ├── coreaudio.h │ │ │ ├── dummy.c │ │ │ ├── dummy.h │ │ │ ├── jack.c │ │ │ ├── jack.h │ │ │ ├── list.h │ │ │ ├── os.c │ │ │ ├── os.h │ │ │ ├── pulseaudio.c │ │ │ ├── pulseaudio.h │ │ │ ├── ring_buffer.c │ │ │ ├── ring_buffer.h │ │ │ ├── soundio.c │ │ │ ├── soundio_internal.h │ │ │ ├── soundio_private.h │ │ │ ├── util.c │ │ │ ├── util.h │ │ │ ├── wasapi.c │ │ │ └── wasapi.h │ │ └── test │ │ │ ├── backend_disconnect_recover.c │ │ │ ├── latency.c │ │ │ ├── overflow.c │ │ │ ├── underflow.c │ │ │ ├── unit_tests.c │ │ │ └── valgrind.supp │ └── synth-master │ │ ├── README.md │ │ ├── main1.cpp │ │ ├── main2.cpp │ │ ├── main3a.cpp │ │ ├── main4.cpp │ │ ├── olcNoiseMaker.h │ │ └── olcNoiseMaker_VIDEO_PARTS_3_4.h ├── ui │ ├── index.zig │ ├── ui.h │ ├── ui.h.zig │ └── ui.zig ├── wasm-fmt │ ├── README.md │ ├── fmt.wasm │ ├── fmt.zig │ └── index.html ├── wasm-pong │ ├── env.js │ ├── index.html │ ├── main.wasm │ └── main.zig ├── wasm │ ├── asm-dom-master │ │ ├── Makefile │ │ ├── examples │ │ │ ├── todomvc - cpp │ │ │ │ ├── .babelrc │ │ │ │ ├── .editorconfig │ │ │ │ ├── .eslintignore │ │ │ │ ├── .eslintrc │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE.md │ │ │ │ ├── index.html │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ ├── app.cpp │ │ │ │ │ ├── helpers.cpp │ │ │ │ │ ├── helpers.hpp │ │ │ │ │ ├── index.cpp │ │ │ │ │ ├── index.js │ │ │ │ │ ├── task.cpp │ │ │ │ │ ├── task.hpp │ │ │ │ │ ├── todos.cpp │ │ │ │ │ └── todos.hpp │ │ │ │ └── webpack.config.js │ │ │ ├── todomvc - cpx │ │ │ │ ├── .babelrc │ │ │ │ ├── .editorconfig │ │ │ │ ├── .eslintignore │ │ │ │ ├── .eslintrc │ │ │ │ ├── .gccxrc │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE.md │ │ │ │ ├── index.html │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ ├── app.cpp │ │ │ │ │ ├── helpers.cpp │ │ │ │ │ ├── helpers.hpp │ │ │ │ │ ├── index.cpp │ │ │ │ │ ├── index.js │ │ │ │ │ ├── task.cpp │ │ │ │ │ ├── task.hpp │ │ │ │ │ ├── todos.cpp │ │ │ │ │ ├── todos.hpp │ │ │ │ │ └── webpack.config.js │ │ │ │ └── webpack.config.js │ │ │ ├── todomvc - js │ │ │ │ ├── .babelrc │ │ │ │ ├── .editorconfig │ │ │ │ ├── .eslintignore │ │ │ │ ├── .eslintrc │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE.md │ │ │ │ ├── index.html │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ ├── helpers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── task.js │ │ │ │ │ └── todos.js │ │ │ │ └── webpack.config.js │ │ │ ├── todomvc - ssr │ │ │ │ ├── .babelrc │ │ │ │ ├── .editorconfig │ │ │ │ ├── .eslintignore │ │ │ │ ├── .eslintrc │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE.md │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ ├── client │ │ │ │ │ │ ├── app.cpp │ │ │ │ │ │ ├── index.cpp │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── server │ │ │ │ │ │ ├── app.cpp │ │ │ │ │ │ ├── index.cpp │ │ │ │ │ │ └── index.js │ │ │ │ │ └── shared │ │ │ │ │ │ ├── helpers.cpp │ │ │ │ │ │ ├── helpers.hpp │ │ │ │ │ │ ├── index.cpp │ │ │ │ │ │ ├── task.cpp │ │ │ │ │ │ ├── task.hpp │ │ │ │ │ │ ├── todos.cpp │ │ │ │ │ │ └── todos.hpp │ │ │ │ └── webpack.config.js │ │ │ ├── webcomponents - cpp │ │ │ │ ├── .babelrc │ │ │ │ ├── .editorconfig │ │ │ │ ├── .eslintignore │ │ │ │ ├── .eslintrc │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE.md │ │ │ │ ├── index.html │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ ├── app.cpp │ │ │ │ │ ├── components │ │ │ │ │ │ └── HelloComponent.js │ │ │ │ │ ├── index.cpp │ │ │ │ │ └── index.js │ │ │ │ └── webpack.config.js │ │ │ └── webcomponents - js │ │ │ │ ├── .babelrc │ │ │ │ ├── .editorconfig │ │ │ │ ├── .eslintignore │ │ │ │ ├── .eslintrc │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE.md │ │ │ │ ├── index.html │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ ├── components │ │ │ │ │ └── HelloComponent.js │ │ │ │ └── index.js │ │ │ │ └── webpack.config.js │ │ └── src │ │ │ ├── cpp │ │ │ ├── Diff │ │ │ │ ├── diff.cpp │ │ │ │ └── diff.hpp │ │ │ ├── Init │ │ │ │ ├── init.cpp │ │ │ │ └── init.hpp │ │ │ ├── Patch │ │ │ │ ├── patch.cpp │ │ │ │ └── patch.hpp │ │ │ ├── VNode │ │ │ │ ├── VNode.cpp │ │ │ │ └── VNode.hpp │ │ │ ├── domApi.js │ │ │ ├── h │ │ │ │ ├── h.cpp │ │ │ │ └── h.hpp │ │ │ ├── toHTML │ │ │ │ ├── toHTML.cpp │ │ │ │ └── toHTML.hpp │ │ │ ├── toVNode │ │ │ │ ├── toVNode.cpp │ │ │ │ └── toVNode.hpp │ │ │ └── utils │ │ │ │ ├── utils.cpp │ │ │ │ └── utils.hpp │ │ │ └── js │ │ │ ├── diff.js │ │ │ ├── h.js │ │ │ ├── index.cpp │ │ │ ├── index.js │ │ │ ├── loadWasm.js │ │ │ ├── patch.js │ │ │ └── toHTML.js │ ├── js │ │ ├── api.js │ │ ├── audio.js │ │ ├── canvas.js │ │ ├── dom.js │ │ ├── wasm.js │ │ └── webgl.js │ ├── main_web.zig │ └── platform │ │ └── web │ │ ├── canvas.zig │ │ ├── dom.zig │ │ ├── platform.zig │ │ ├── wasm.zig │ │ └── webgl.zig ├── window │ ├── glfw │ │ ├── c.h │ │ ├── c.zig │ │ ├── main.zig │ │ └── window.zig │ ├── main_fb.zig │ ├── main_gl.zig │ ├── win32 │ │ ├── libs │ │ │ ├── win32 │ │ │ │ ├── gl.zig │ │ │ │ ├── gl_types.zig │ │ │ │ ├── index.zig │ │ │ │ ├── wglext.zig │ │ │ │ ├── win32_constants.zig │ │ │ │ ├── win32_externs.zig │ │ │ │ ├── win32_functions.zig │ │ │ │ ├── win32_macros.zig │ │ │ │ ├── win32_map.zig │ │ │ │ └── win32_types.zig │ │ │ ├── win32_lean.h │ │ │ ├── win32_lean.h.zig │ │ │ ├── win32_lean.zig │ │ │ ├── win32_lean_gl.h │ │ │ ├── win32_lean_gl.h.zig │ │ │ └── win32_lean_gl.zig │ │ ├── main.zig │ │ ├── win32_fb.zig │ │ └── win32_gl.zig │ ├── window.zig │ ├── xcb │ │ ├── c.h │ │ ├── c.zig │ │ ├── main.zig │ │ ├── xcb_fb.zig │ │ ├── xcb_gl.zig │ │ └── xcb_wm.zig │ └── xlib │ │ ├── c.h │ │ ├── c.zig │ │ ├── main.zig │ │ ├── xlib.zig │ │ ├── xlib_fb.zig │ │ ├── xlib_gl.zig │ │ └── xlib_wm.zig └── zag │ ├── .gitignore │ ├── README.md │ ├── example │ ├── script.zag │ └── std.zag │ ├── lang │ └── src │ ├── chunk.zig │ ├── compiler.zig │ ├── grammar.zig │ ├── lang.zig │ ├── object.zig │ ├── repl.zig │ ├── scanner.zig │ ├── value.zig │ └── vm.zig ├── include ├── GLFW │ ├── glfw3.h │ └── glfw3native.h ├── SDL2 │ ├── SDL.h │ ├── SDL_assert.h │ ├── SDL_atomic.h │ ├── SDL_audio.h │ ├── SDL_bits.h │ ├── SDL_blendmode.h │ ├── SDL_clipboard.h │ ├── SDL_config.h │ ├── SDL_config.h.cmake │ ├── SDL_config.h.in │ ├── SDL_config_android.h │ ├── SDL_config_iphoneos.h │ ├── SDL_config_macosx.h │ ├── SDL_config_macosx.h.orig │ ├── SDL_config_minimal.h │ ├── SDL_config_pandora.h │ ├── SDL_config_psp.h │ ├── SDL_config_windows.h │ ├── SDL_config_winrt.h │ ├── SDL_config_wiz.h │ ├── SDL_copying.h │ ├── SDL_cpuinfo.h │ ├── SDL_egl.h │ ├── SDL_endian.h │ ├── SDL_error.h │ ├── SDL_events.h │ ├── SDL_filesystem.h │ ├── SDL_gamecontroller.h │ ├── SDL_gesture.h │ ├── SDL_haptic.h │ ├── SDL_hints.h │ ├── SDL_joystick.h │ ├── SDL_keyboard.h │ ├── SDL_keycode.h │ ├── SDL_loadso.h │ ├── SDL_log.h │ ├── SDL_main.h │ ├── SDL_messagebox.h │ ├── SDL_mouse.h │ ├── SDL_mutex.h │ ├── SDL_name.h │ ├── SDL_opengl.h │ ├── SDL_opengl_glext.h │ ├── SDL_opengles.h │ ├── SDL_opengles2.h │ ├── SDL_opengles2_gl2.h │ ├── SDL_opengles2_gl2ext.h │ ├── SDL_opengles2_gl2platform.h │ ├── SDL_opengles2_khrplatform.h │ ├── SDL_pixels.h │ ├── SDL_platform.h │ ├── SDL_power.h │ ├── SDL_quit.h │ ├── SDL_rect.h │ ├── SDL_render.h │ ├── SDL_revision.h │ ├── SDL_rwops.h │ ├── SDL_scancode.h │ ├── SDL_shape.h │ ├── SDL_stdinc.h │ ├── SDL_surface.h │ ├── SDL_system.h │ ├── SDL_syswm.h │ ├── SDL_test.h │ ├── SDL_test_assert.h │ ├── SDL_test_common.h │ ├── SDL_test_compare.h │ ├── SDL_test_crc32.h │ ├── SDL_test_font.h │ ├── SDL_test_fuzzer.h │ ├── SDL_test_harness.h │ ├── SDL_test_images.h │ ├── SDL_test_log.h │ ├── SDL_test_md5.h │ ├── SDL_test_memory.h │ ├── SDL_test_random.h │ ├── SDL_thread.h │ ├── SDL_timer.h │ ├── SDL_touch.h │ ├── SDL_types.h │ ├── SDL_version.h │ ├── SDL_video.h │ ├── SDL_vulkan.h │ ├── begin_code.h │ └── close_code.h ├── libui │ ├── ui.h │ ├── ui_darwin.h │ ├── ui_unix.h │ └── ui_windows.h ├── png.h ├── pngconf.h ├── soundio │ ├── endian.h │ └── soundio.h ├── zconf.h └── zlib.h ├── lib └── png │ ├── checksum.zig │ ├── inflate.zig │ └── png.zig ├── src ├── core │ ├── audio.zig │ ├── c.zig │ ├── debug.zig │ ├── event.zig │ ├── gui.zig │ ├── index.zig │ ├── input.zig │ ├── io.zig │ ├── mem.zig │ ├── util.zig │ └── window.zig ├── engine │ ├── agent.zig │ ├── drawing.zig │ ├── emitter.zig │ ├── index.zig │ ├── physics.zig │ ├── scene.zig │ └── tilemap.zig ├── graphics │ ├── batch_2d.zig │ ├── fb_2d.zig │ ├── im_2d.zig │ ├── image.zig │ ├── index.zig │ ├── light.zig │ ├── line_2d.zig │ ├── obj.zig │ ├── particle_2d.zig │ ├── polygon_2d.zig │ ├── primitive.zig │ ├── shader.zig │ ├── sprite.zig │ ├── text.zig │ ├── texture.zig │ └── tileset.zig ├── index.zig ├── lib │ └── ini.zig └── math │ ├── easing.zig │ ├── geometry.zig │ ├── index.zig │ ├── mat.zig │ ├── quat.zig │ └── vec.zig └── test ├── 2D ├── build.zig └── main.zig ├── 3D ├── build.zig ├── game.zig └── main.zig ├── FB ├── build.zig ├── game.zig └── main.zig ├── GUI └── main.zig ├── Shell ├── main.zig └── testShell.zig └── index.zig /.editorconfig: -------------------------------------------------------------------------------- 1 | [*] 2 | end_of_line = lf -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Development 2 | .vscode/ 3 | todo/ 4 | 5 | # Zig artifacts 6 | zig-cache/ 7 | 8 | # C artifacts 9 | *.o 10 | 11 | # Windows artifacts 12 | *.exe 13 | *.pdb -------------------------------------------------------------------------------- /data/font.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/data/font.png -------------------------------------------------------------------------------- /data/small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/data/small.png -------------------------------------------------------------------------------- /data/tex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/data/tex.png -------------------------------------------------------------------------------- /data/tiles/tile_grass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/data/tiles/tile_grass.png -------------------------------------------------------------------------------- /data/tiles/tile_wood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/data/tiles/tile_wood.png -------------------------------------------------------------------------------- /examples/asm/main.asm: -------------------------------------------------------------------------------- 1 | 2 | org 100h ;specify .COM file 3 | 4 | start: 5 | cwd ; "clear" DX for perfect alignment 6 | mov al,0x13 7 | X: int 0x10 ; set video mode AND draw pixel 8 | mov ax,cx ; get column in AH 9 | add ax,di ; offset by framecounter 10 | xor al,ah ; the famous XOR pattern 11 | and al,32+8 ; a more interesting variation of it 12 | mov ah,0x0C ; set subfunction "set pixel" for int 0x10 13 | loop X ; loop 65536 times 14 | inc di ; increment framecounter 15 | in al,0x60 ; check keyboard ... 16 | dec al ; ... for ESC 17 | jnz X ; rinse and repeat 18 | ret ; quit program -------------------------------------------------------------------------------- /examples/asm/main.com: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/asm/main.com -------------------------------------------------------------------------------- /examples/c/sokol/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | #>fips 3 | # this area is managed by fips, do not edit 4 | .fips-* 5 | *.pyc 6 | #fips 4 | # this area is managed by fips, do not edit 5 | .fips-* 6 | *.pyc 7 | # 2 | using namespace metal; 3 | fragment float4 _main(float4 color [[stage_in]]) { 4 | return color; 5 | } 6 | 7 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/metal/binshader-vs.metal: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace metal; 3 | struct params_t { 4 | float4x4 mvp; 5 | }; 6 | struct vs_in { 7 | float4 position [[attribute(0)]]; 8 | float4 color [[attribute(1)]]; 9 | }; 10 | struct vs_out { 11 | float4 pos [[position]]; 12 | float4 color; 13 | }; 14 | vertex vs_out _main(vs_in in [[stage_in]], constant params_t& params [[buffer(0)]]) { 15 | vs_out out; 16 | out.pos = params.mvp * in.position; 17 | out.color = in.color; 18 | return out; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/metal/sokol_gfx.m: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // sokol_gfx.m 3 | // 4 | // When using the Metal backend, the implementation source must be 5 | // Objective-C (.m or .mm), but we want the samples to be in C. Thus 6 | // move the sokol_gfx implementation into it's own .m file. 7 | //------------------------------------------------------------------------------ 8 | #define SOKOL_IMPL 9 | #define SOKOL_METAL 10 | #include "sokol_gfx.h" 11 | #include "sokol_time.h" 12 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/raspi/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # hack for GCC 4.9 2 | fips_begin_lib(raspientry) 3 | fips_files(raspientry.c raspientry.h) 4 | fips_end_lib() 5 | target_include_directories(raspientry PUBLIC 6 | "/opt/vc/include" 7 | "/opt/vc/include/interface/vcos/pthreads" 8 | "/opt/vc/include/interface/vmcs_host/linux" 9 | ) 10 | link_directories("/opt/vc/lib") 11 | 12 | fips_begin_app(clear-raspi windowed) 13 | fips_files(clear-raspi.c) 14 | fips_deps(raspientry) 15 | fips_end_app() 16 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/data/comsi.s3m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/sapp/data/comsi.s3m -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/data/disco_feva_baby.s3m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/sapp/data/disco_feva_baby.s3m -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/data/mods.yml: -------------------------------------------------------------------------------- 1 | --- 2 | files: 3 | - disco_feva_baby.s3m 4 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/microui/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | fips_begin_lib(microui) 2 | fips_files(microui.c microui.h) 3 | fips_end_lib(microui) -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/sokol/sokol-noentry.c: -------------------------------------------------------------------------------- 1 | #define SOKOL_IMPL 2 | #define SOKOL_NO_ENTRY 3 | #define SOKOL_D3D11_SHADER_COMPILER 4 | #if defined(_WIN32) 5 | #include 6 | #define SOKOL_LOG(s) OutputDebugStringA(s) 7 | #endif 8 | /* sokol 3D-API defines are provided by build options */ 9 | #include "sokol_app.h" 10 | #include "sokol_gfx.h" 11 | #include "sokol_time.h" 12 | #include "sokol_audio.h" 13 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/sokol/sokol-noentry.m: -------------------------------------------------------------------------------- 1 | #define SOKOL_IMPL 2 | #define SOKOL_NO_ENTRY 3 | /* sokol 3D-API defines are provided by build options */ 4 | #include "sokol_app.h" 5 | #include "sokol_gfx.h" 6 | #include "sokol_time.h" 7 | #include "sokol_audio.h" 8 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/sokol/sokol.c: -------------------------------------------------------------------------------- 1 | #define SOKOL_IMPL 2 | #define SOKOL_D3D11_SHADER_COMPILER 3 | #if defined(_WIN32) 4 | #include 5 | #define SOKOL_LOG(s) OutputDebugStringA(s) 6 | #endif 7 | /* this is only needed for the debug-inspection headers */ 8 | #define SOKOL_TRACE_HOOKS 9 | /* sokol 3D-API defines are provided by build options */ 10 | #include "sokol_app.h" 11 | #include "sokol_gfx.h" 12 | #include "sokol_time.h" 13 | #include "sokol_audio.h" -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/sokol/sokol.m: -------------------------------------------------------------------------------- 1 | #define SOKOL_IMPL 2 | /* this is only needed for the debug-inspection headers */ 3 | #define SOKOL_TRACE_HOOKS 4 | /* sokol 3D-API defines are provided by build options */ 5 | #include "sokol_app.h" 6 | #include "sokol_gfx.h" 7 | #include "sokol_time.h" 8 | #include "sokol_audio.h" 9 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/ui/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | fips_begin_lib(dbgui) 2 | fips_files(dbgui.cc dbgui.h) 3 | fips_end_lib(dbgui) 4 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/sapp/ui/dbgui.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | /* 3 | The typical debug UI overlay useful for most sokol-app samples 4 | */ 5 | #if defined(USE_DBG_UI) 6 | #include "sokol_app.h" 7 | #if defined(__cplusplus) 8 | extern "C" { 9 | #endif 10 | extern void __dbgui_setup(int sample_count); 11 | extern void __dbgui_shutdown(void); 12 | extern void __dbgui_draw(void); 13 | extern void __dbgui_event(const sapp_event* e); 14 | #if defined(__cplusplus) 15 | } // extern "C" 16 | #endif 17 | #else 18 | static inline void __dbgui_setup(int sample_count) { (void)(sample_count); } 19 | static inline void __dbgui_shutdown(void) { } 20 | static inline void __dbgui_draw(void) { } 21 | static inline void __dbgui_event(const sapp_event* e) { (void)(e); } 22 | #endif 23 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/tests/objcpp-compile-test.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // objcpp-compile-test.mm 3 | // Just check whether (most of) the sokol headers also comppile as C++. 4 | //------------------------------------------------------------------------------ 5 | #if !defined(__APPLE__) 6 | #error "This is for Apple platforms only" 7 | #endif 8 | #define SOKOL_METAL 9 | #define SOKOL_IMPL 10 | #include "sokol_app.h" 11 | #include "sokol_args.h" 12 | #include "sokol_audio.h" 13 | #include "sokol_gfx.h" 14 | #include "sokol_time.h" 15 | 16 | static sapp_desc desc; 17 | 18 | sapp_desc sokol_main(int argc, char* argv[]) { 19 | /* just interested whether the compilation worked, so force-exit here */ 20 | exit(0); 21 | return desc; 22 | } 23 | -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/arraytex.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/arraytex.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/blend.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/blend.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/bufferoffsets.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/bufferoffsets.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/clear.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/clear.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/cube.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/cube.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/dummy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/dummy.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/dyntex.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/dyntex.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/favicon.png -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/imgui-highdpi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/imgui-highdpi.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/imgui.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/imgui.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/inject.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/inject.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/instancing.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/instancing.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/mipmap.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/mipmap.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/modplay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/modplay.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/mrt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/mrt.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/noentry.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/noentry.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/noninterleaved.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/noninterleaved.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/offscreen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/offscreen.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/quad.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/quad.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/saudio.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/saudio.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/sgl-lines.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/sgl-lines.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/sgl-microui.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/sgl-microui.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/sgl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/sgl.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/texcube.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/texcube.jpg -------------------------------------------------------------------------------- /examples/c/sokol/samples/webpage/triangle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/sokol/samples/webpage/triangle.jpg -------------------------------------------------------------------------------- /examples/c/sokol/util/README.md: -------------------------------------------------------------------------------- 1 | # Sokol Utility Headers 2 | 3 | These are optional utility headers on top of the Sokol headers. Unlike the 4 | 'core headers' they are not standalone but depend on other Sokol headers 5 | and sometimes also external libraries. 6 | 7 | ### What's in here: 8 | 9 | - **sokol_imgui.h**: implements a renderer for [Dear ImGui](https://github.com/ocornut/imgui) on top of sokol_gfx.h and sokol_app.h (the latter being optional if you do your own input-forwarding to ImGui) 10 | - **sokol_gfx_imgui.h**: a debug-inspection UI for sokol_gfx.h, this hooks into the sokol-gfx API and lets you inspect resource objects and captured API calls 11 | - **sokol_gl.h**: an OpenGL 1.x style immediate-mode rendering API 12 | in top of sokol-gfx 13 | 14 | See the embedded header-documentation for build- and usage-details. 15 | -------------------------------------------------------------------------------- /examples/c/stb/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | * Delete this list before clicking CREATE PULL REQUEST 2 | * Make sure you're using a special branch just for this pull request. (Sometimes people unknowingly use a default branch, then later update that branch, which updates the pull request with the other changes if it hasn't been merged yet.) 3 | * Do NOT update the version number in the file. (This just causes conflicts.) 4 | * Do add your name to the list of contributors. (Don't worry about the formatting.) I'll try to remember to add it if you don't, but I sometimes forget as it's an extra step. 5 | 6 | If you get something above wrong, don't fret it, it's not the end of the world. 7 | -------------------------------------------------------------------------------- /examples/c/stb/.travis.yml: -------------------------------------------------------------------------------- 1 | language: C 2 | install: true 3 | script: 4 | - cd tests 5 | - make all 6 | -------------------------------------------------------------------------------- /examples/c/stb/data/atari_8bit_font_revised.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/atari_8bit_font_revised.png -------------------------------------------------------------------------------- /examples/c/stb/data/easy_font_raw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/easy_font_raw.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/license.txt: -------------------------------------------------------------------------------- 1 | All files in this directory are in the public domain. Where 2 | a public domain declaration is not recognized, you are granted 3 | a license to freely use, modify, and redistribute them in 4 | any way you choose. -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_caves_limit_connectivity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_caves_limit_connectivity.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_caves_tiny_corridors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_caves_tiny_corridors.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_corner_caves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_corner_caves.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_horizontal_corridors_v1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_horizontal_corridors_v1.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_horizontal_corridors_v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_horizontal_corridors_v2.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_horizontal_corridors_v3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_horizontal_corridors_v3.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_limit_connectivity_fat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_limit_connectivity_fat.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_limited_connectivity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_limited_connectivity.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_maze_2_wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_maze_2_wide.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_maze_plus_2_wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_maze_plus_2_wide.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_open_areas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_open_areas.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_ref2_corner_caves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_ref2_corner_caves.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_rooms_and_corridors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_rooms_and_corridors.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_rooms_and_corridors_2_wide_diagonal_bias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_rooms_and_corridors_2_wide_diagonal_bias.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_rooms_limit_connectivity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_rooms_limit_connectivity.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_round_rooms_diagonal_corridors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_round_rooms_diagonal_corridors.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_sean_dungeon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_sean_dungeon.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_simple_caves_2_wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_simple_caves_2_wide.png -------------------------------------------------------------------------------- /examples/c/stb/data/herringbone/template_square_rooms_with_random_rects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/herringbone/template_square_rooms_with_random_rects.png -------------------------------------------------------------------------------- /examples/c/stb/data/map_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/map_01.png -------------------------------------------------------------------------------- /examples/c/stb/data/map_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/map_02.png -------------------------------------------------------------------------------- /examples/c/stb/data/map_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/data/map_03.png -------------------------------------------------------------------------------- /examples/c/stb/docs/other_libs.md: -------------------------------------------------------------------------------- 1 | Moved to https://github.com/nothings/single_file_libs -------------------------------------------------------------------------------- /examples/c/stb/tests/Makefile: -------------------------------------------------------------------------------- 1 | INCLUDES = -I.. 2 | CFLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST 3 | CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST 4 | 5 | #CFLAGS += -O -fsanitize=address 6 | 7 | all: 8 | $(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c test_c_lexer.c test_dxt.c test_easyfont.c test_image.c test_image_write.c test_perlin.c test_sprintf.c test_truetype.c test_voxel.c -lm 9 | $(CC) $(INCLUDES) $(CPPFLAGS) test_cpp_compilation.cpp -lm -lstdc++ 10 | $(CC) $(INCLUDES) $(CFLAGS) -DIWT_TEST image_write_test.c -lm -o image_write_test 11 | -------------------------------------------------------------------------------- /examples/c/stb/tests/caveview/caveview.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "caveview"=.\caveview.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /examples/c/stb/tests/caveview/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/caveview/main.c -------------------------------------------------------------------------------- /examples/c/stb/tests/oversample/oversample.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "oversample"=.\oversample.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basi0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basi0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basi2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basi2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basi4a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basi4a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basi6a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basi6a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basn0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basn0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basn2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basn4a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basn4a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/basn6a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/basn6a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/bgai4a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/bgai4a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/bgan6a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/bgan6a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/bggn4a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/bggn4a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/bgyn6a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/bgyn6a16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi1n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi1n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi1n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi1n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi2n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi2n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi2n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi2n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi4n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi4n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi4n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi4n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi9n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi9n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/oi9n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/oi9n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/tbbn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/tbbn2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/tbgn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/tbgn2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/16bit/tbwn0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/16bit/tbwn0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/PngSuite.LICENSE: -------------------------------------------------------------------------------- 1 | PngSuite 2 | -------- 3 | 4 | Permission to use, copy, modify and distribute these images for any 5 | purpose and without fee is hereby granted. 6 | 7 | 8 | (c) Willem van Schaik, 1996, 2011 9 | 10 | -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xc1n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xc1n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xc9n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xc9n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xcrn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xcrn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xcsn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xcsn0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xd0n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xd0n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xd3n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xd3n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xd9n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xd9n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xdtn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xdtn0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xhdn0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xhdn0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xlfn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xlfn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xs1n0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xs1n0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xs2n0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xs2n0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xs4n0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xs4n0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/corrupt/xs7n0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/corrupt/xs7n0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi0g02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basi6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basi6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn0g02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/basn6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/basn6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/bgai4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/bgai4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/bgan6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/bgan6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/bgbn4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/bgbn4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/bgwn6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/bgwn6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s01i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s01i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s01n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s01n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s02i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s02i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s02n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s02n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s03i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s03i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s03n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s03n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s04i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s04i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s04n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s04n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s05i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s05i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s05n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s05n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s06i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s06i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s06n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s06n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s07i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s07i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s07n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s07n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s08i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s08i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s08n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s08n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s09i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s09i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s09n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s09n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s32i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s32i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s32n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s32n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s33i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s33i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s33n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s33n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s34i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s34i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s34n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s34n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s35i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s35i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s35n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s35n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s36i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s36i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s36n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s36n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s37i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s37i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s37n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s37n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s38i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s38i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s38n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s38n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s39i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s39i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s39n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s39n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s40i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s40i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/s40n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/s40n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tbbn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tbbn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tbbn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tbbn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tbgn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tbgn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tbrn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tbrn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tbwn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tbwn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tbyn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tbyn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tm3n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tm3n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tp0n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tp0n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tp0n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tp0n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tp0n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tp0n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/tp1n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/tp1n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/z00n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/z00n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/z03n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/z03n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/z06n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/z06n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary/z09n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary/z09n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi0g02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basi6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basi6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn0g01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn0g02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/basn6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/basn6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/bgai4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/bgai4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/bgan6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/bgan6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/bgbn4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/bgbn4a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/bgwn6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/bgwn6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s01i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s01i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s01n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s01n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s02i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s02i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s02n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s02n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s03i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s03i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s03n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s03n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s04i3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s04i3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s04n3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s04n3p01.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s05i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s05i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s05n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s05n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s06i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s06i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s06n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s06n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s07i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s07i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s07n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s07n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s08i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s08i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s08n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s08n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s09i3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s09i3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s09n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s09n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s32i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s32i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s32n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s32n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s33i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s33i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s33n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s33n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s34i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s34i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s34n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s34n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s35i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s35i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s35n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s35n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s36i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s36i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s36n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s36n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s37i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s37i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s37n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s37n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s38i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s38i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s38n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s38n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s39i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s39i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s39n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s39n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s40i3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s40i3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/s40n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/s40n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tbbn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tbbn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tbbn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tbbn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tbgn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tbgn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tbrn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tbrn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tbwn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tbwn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tbyn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tbyn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tm3n3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tm3n3p02.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tp0n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tp0n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tp0n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tp0n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tp0n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tp0n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/tp1n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/tp1n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/z00n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/z00n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/z03n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/z03n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/z06n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/z06n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/primary_check/z09n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/primary_check/z09n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ccwn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ccwn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ccwn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ccwn3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cdfn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cdfn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cdhn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cdhn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cdsn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cdsn2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cdun2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cdun2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ch1n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ch1n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ch2n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ch2n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cm0n0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cm0n0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cm7n0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cm7n0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cm9n0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cm9n0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cs3n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cs3n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cs3n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cs3n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cs5n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cs5n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cs5n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cs5n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cs8n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cs8n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cs8n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cs8n3p08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ct0n0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ct0n0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ct1n0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ct1n0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cten0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cten0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ctfn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ctfn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ctgn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ctgn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/cthn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/cthn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ctjn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ctjn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ctzn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ctzn0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f00n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f00n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f00n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f00n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f01n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f01n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f01n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f01n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f02n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f02n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f02n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f02n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f03n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f03n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f03n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f03n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f04n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f04n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f04n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f04n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/f99n0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/f99n0g04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g03n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g03n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g03n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g03n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g03n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g03n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g04n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g04n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g04n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g04n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g04n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g04n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g05n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g05n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g05n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g05n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g05n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g05n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g07n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g07n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g07n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g07n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g07n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g07n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g10n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g10n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g10n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g10n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g10n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g10n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g25n0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g25n0g16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g25n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g25n2c08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/g25n3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/g25n3p04.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/pp0n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/pp0n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/pp0n6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/pp0n6a08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ps1n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ps1n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ps1n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ps1n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ps2n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ps2n0g08.png -------------------------------------------------------------------------------- /examples/c/stb/tests/pngsuite/unused/ps2n2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/pngsuite/unused/ps2n2c16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/resample_test_c.c: -------------------------------------------------------------------------------- 1 | #define STB_IMAGE_RESIZE_IMPLEMENTATION 2 | #define STB_IMAGE_RESIZE_STATIC 3 | #include "stb_image_resize.h" 4 | 5 | // Just to make sure it will build properly with a c compiler 6 | 7 | int main() { 8 | } 9 | -------------------------------------------------------------------------------- /examples/c/stb/tests/sdf/sdf_test_arial_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/sdf/sdf_test_arial_16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/sdf/sdf_test_times_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/sdf/sdf_test_times_16.png -------------------------------------------------------------------------------- /examples/c/stb/tests/sdf/sdf_test_times_50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/c/stb/tests/sdf/sdf_test_times_50.png -------------------------------------------------------------------------------- /examples/c/stb/tests/stb_static.c: -------------------------------------------------------------------------------- 1 | #define STBI_WINDOWS_UTF8 2 | #define STB_IMAGE_STATIC 3 | #define STB_IMAGE_IMPLEMENTATION 4 | #include "stb_image.h" 5 | 6 | #define STB_IMAGE_WRITE_STATIC 7 | #define STB_IMAGE_WRITE_IMPLEMENTATION 8 | //#include "stb_image_write.h" 9 | 10 | #define STBTT_STATIC 11 | #define STB_TRUETYPE_IMPLEMENTATION 12 | #include "stb_truetype.h" 13 | -------------------------------------------------------------------------------- /examples/c/stb/tests/stblib_test.c: -------------------------------------------------------------------------------- 1 | #include "prerelease/stb_lib.h" 2 | #define STB_LIB_IMPLEMENTATION 3 | #include "prerelease/stb_lib.h" 4 | 5 | //#define STB_REGEX_IMPLEMENTATION 6 | //#include "stb_regex.h" 7 | 8 | int main(int argc, char **argv) 9 | { 10 | 11 | } -------------------------------------------------------------------------------- /examples/c/stb/tests/stblib_test_companion.c: -------------------------------------------------------------------------------- 1 | //#include "stb_regex.h" 2 | //#include "stb_regex.h" 3 | #include "prerelease/stb_lib.h" 4 | #include "prerelease/stb_lib.h" 5 | -------------------------------------------------------------------------------- /examples/c/stb/tests/stretch_test.c: -------------------------------------------------------------------------------- 1 | // check that stb_truetype compiles with no stb_rect_pack.h 2 | #define STB_TRUETYPE_IMPLEMENTATION 3 | #include "stb_truetype.h" 4 | 5 | #include "stretchy_buffer.h" 6 | #include 7 | 8 | int main(int arg, char **argv) 9 | { 10 | int i; 11 | int *arr = NULL; 12 | 13 | for (i=0; i < 1000000; ++i) 14 | sb_push(arr, i); 15 | 16 | assert(sb_count(arr) == 1000000); 17 | for (i=0; i < 1000000; ++i) 18 | assert(arr[i] == i); 19 | 20 | sb_free(arr); 21 | arr = NULL; 22 | 23 | for (i=0; i < 1000; ++i) 24 | sb_add(arr, 1000); 25 | assert(sb_count(arr) == 1000000); 26 | 27 | return 0; 28 | } -------------------------------------------------------------------------------- /examples/c/stb/tests/stretchy_buffer_test.c: -------------------------------------------------------------------------------- 1 | #include "stretchy_buffer.h" 2 | 3 | void test_sb(void) 4 | { 5 | char *x = NULL; 6 | sb_push(x, 'x'); 7 | } -------------------------------------------------------------------------------- /examples/c/stb/tests/test_c_lexer.c: -------------------------------------------------------------------------------- 1 | #include "stb_c_lexer.h" 2 | -------------------------------------------------------------------------------- /examples/c/stb/tests/test_dxt.c: -------------------------------------------------------------------------------- 1 | #include "stb_dxt.h" 2 | -------------------------------------------------------------------------------- /examples/c/stb/tests/test_easyfont.c: -------------------------------------------------------------------------------- 1 | #include "stb_easy_font.h" 2 | 3 | void ef_dummy(void) 4 | { 5 | // suppress unsused-function warning 6 | stb_easy_font_spacing(0); 7 | stb_easy_font_print(0,0,0,0,0,0); 8 | stb_easy_font_width(0); 9 | stb_easy_font_height(0); 10 | } -------------------------------------------------------------------------------- /examples/c/stb/tests/test_image.c: -------------------------------------------------------------------------------- 1 | #ifdef __clang__ 2 | #define STBIDEF static inline 3 | #endif 4 | 5 | #define STB_IMAGE_STATIC 6 | #define STB_IMAGE_IMPLEMENTATION 7 | #include "stb_image.h" -------------------------------------------------------------------------------- /examples/c/stb/tests/test_image_write.c: -------------------------------------------------------------------------------- 1 | #ifdef __clang__ 2 | #define STBIWDEF static inline 3 | #endif 4 | 5 | #define STB_IMAGE_WRITE_IMPLEMENTATION 6 | #define STB_IMAGE_WRITE_STATIC 7 | #include "stb_image_write.h" -------------------------------------------------------------------------------- /examples/c/stb/tests/test_perlin.c: -------------------------------------------------------------------------------- 1 | #include "stb_perlin.h" -------------------------------------------------------------------------------- /examples/c/stb/tests/test_siphash.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define STB_DS_IMPLEMENTATION 4 | #define STBDS_SIPHASH_2_4 5 | #define STBDS_TEST_SIPHASH_2_4 6 | #include "../stb_ds.h" 7 | 8 | int main(int argc, char **argv) 9 | { 10 | unsigned char mem[64]; 11 | int i,j; 12 | for (i=0; i < 64; ++i) mem[i] = i; 13 | for (i=0; i < 64; ++i) { 14 | size_t hash = stbds_hash_bytes(mem, i, 0); 15 | printf(" { "); 16 | for (j=0; j < 8; ++j) 17 | printf("0x%02x, ", (unsigned char) ((hash >> (j*8)) & 255)); 18 | printf(" },\n"); 19 | } 20 | return 0; 21 | } -------------------------------------------------------------------------------- /examples/c/stb/tests/test_sprintf.c: -------------------------------------------------------------------------------- 1 | #include "stb_sprintf.h" -------------------------------------------------------------------------------- /examples/c/stb/tests/test_vorbis.c: -------------------------------------------------------------------------------- 1 | #define STB_VORBIS_HEADER_ONLY 2 | #include "stb_vorbis.c" 3 | #include "stb.h" 4 | 5 | extern void stb_vorbis_dumpmem(void); 6 | 7 | #ifdef VORBIS_TEST 8 | int main(int argc, char **argv) 9 | { 10 | size_t memlen; 11 | unsigned char *mem = stb_fileu("c:/x/sketch008.ogg", &memlen); 12 | int chan, samplerate; 13 | short *output; 14 | int samples = stb_vorbis_decode_memory(mem, memlen, &chan, &samplerate, &output); 15 | stb_filewrite("c:/x/sketch008.raw", output, samples*4); 16 | return 0; 17 | } 18 | #endif 19 | -------------------------------------------------------------------------------- /examples/c/stb/tests/test_voxel.c: -------------------------------------------------------------------------------- 1 | #include "stb_voxel_render.h" -------------------------------------------------------------------------------- /examples/c/stb/tools/README.header.md: -------------------------------------------------------------------------------- 1 | stb 2 | === 3 | 4 | single-file public domain (or MIT licensed) libraries for C/C++ 5 | 6 | Most libraries by stb, except: stb_dxt by Fabian "ryg" Giesen, stb_image_resize 7 | by Jorge L. "VinoBS" Rodriguez, and stb_sprintf by Jeff Roberts. 8 | 9 | 10 | library | lastest version | category | LoC | description 11 | --------------------- | ---- | -------- | --- | -------------------------------- 12 | -------------------------------------------------------------------------------- /examples/c/stb/tools/mr.bat: -------------------------------------------------------------------------------- 1 | debug\make_readme 2 | -------------------------------------------------------------------------------- /examples/live/Makefile: -------------------------------------------------------------------------------- 1 | 2 | ZIG = /home/raulgrell/Dev/zig/build/bin/zig 3 | DZIG = /home/raulgrell/Projects/Zig/zig/build/bin/zig 4 | 5 | debug: 6 | $(ZIG) build_exe dev.zig --library c --library dl 7 | $(ZIG) build_lib game.zig --output ./game 8 | ./dev 9 | 10 | dev: 11 | $(ZIG) build_exe dev.zig --library c --library dl 12 | 13 | game: game.zig 14 | $(ZIG) build_lib game.zig --output ./game 15 | -------------------------------------------------------------------------------- /examples/live/game.zig: -------------------------------------------------------------------------------- 1 | const API = @import("dev.zig").API; 2 | const State = @import("dev.zig").State; 3 | const c = @import("dev.zig").c; 4 | 5 | fn init()&State { 6 | std.debug.warn("init\n"); 7 | return &state_instance; 8 | } 9 | 10 | fn reload(state: &State) void { 11 | std.debug.warn("reload\n"); 12 | state.a = 0; 13 | } 14 | 15 | fn unload(state: &State) void { 16 | std.debug.warn("unload\n"); 17 | state.a = 0; 18 | } 19 | 20 | fn finalize(state: &State) void { 21 | std.debug.warn("finalize\n"); 22 | state.a = @maxValue(usize); 23 | } 24 | 25 | fn update(state: &State) %void {+ 26 | state.a += 5; 27 | } 28 | 29 | fn draw(state: &State) void { 30 | std.debug.warn("draw: %d\n", state.a); 31 | } 32 | 33 | var state_instance = State { 34 | .a = 0 35 | }; 36 | 37 | export var GAME = API { 38 | .init = init, 39 | .update = update, 40 | .draw = draw, 41 | .reload = reload, 42 | .unload = unload, 43 | .finalize = finalize 44 | }; 45 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | build-win32/ 3 | build-win64/ 4 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/cmake/FindCoreAudio.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Andrew Kelley 2 | # This file is MIT licensed. 3 | # See http://opensource.org/licenses/MIT 4 | 5 | # COREAUDIO_FOUND 6 | # COREAUDIO_INCLUDE_DIR 7 | # COREAUDIO_LIBRARY 8 | 9 | find_path(COREAUDIO_INCLUDE_DIR NAMES CoreAudio/CoreAudio.h) 10 | 11 | find_library(COREAUDIO_LIBRARY NAMES CoreAudio) 12 | 13 | include(FindPackageHandleStandardArgs) 14 | find_package_handle_standard_args(COREAUDIO DEFAULT_MSG COREAUDIO_LIBRARY COREAUDIO_INCLUDE_DIR) 15 | 16 | mark_as_advanced(COREAUDIO_INCLUDE_DIR COREAUDIO_LIBRARY) 17 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/cmake/FindJACK.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Andrew Kelley 2 | # This file is MIT licensed. 3 | # See http://opensource.org/licenses/MIT 4 | 5 | # JACK_FOUND 6 | # JACK_INCLUDE_DIR 7 | # JACK_LIBRARY 8 | 9 | find_path(JACK_INCLUDE_DIR NAMES jack/jack.h) 10 | 11 | find_library(JACK_LIBRARY NAMES jack) 12 | 13 | include(CheckLibraryExists) 14 | check_library_exists(jack "jack_set_port_rename_callback" "${JACK_LIBRARY}" HAVE_jack_set_port_rename_callback) 15 | 16 | include(FindPackageHandleStandardArgs) 17 | find_package_handle_standard_args(JACK DEFAULT_MSG JACK_LIBRARY JACK_INCLUDE_DIR HAVE_jack_set_port_rename_callback) 18 | 19 | mark_as_advanced(JACK_INCLUDE_DIR JACK_LIBRARY) 20 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/cmake/FindPulseAudio.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Andrew Kelley 2 | # This file is MIT licensed. 3 | # See http://opensource.org/licenses/MIT 4 | 5 | # PULSEAUDIO_FOUND 6 | # PULSEAUDIO_INCLUDE_DIR 7 | # PULSEAUDIO_LIBRARY 8 | 9 | find_path(PULSEAUDIO_INCLUDE_DIR NAMES pulse/pulseaudio.h) 10 | 11 | find_library(PULSEAUDIO_LIBRARY NAMES pulse) 12 | 13 | include(FindPackageHandleStandardArgs) 14 | find_package_handle_standard_args(PULSEAUDIO DEFAULT_MSG PULSEAUDIO_LIBRARY PULSEAUDIO_INCLUDE_DIR) 15 | 16 | mark_as_advanced(PULSEAUDIO_INCLUDE_DIR PULSEAUDIO_LIBRARY) 17 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/cmake/FindWASAPI.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Andrew Kelley 2 | # This file is MIT licensed. 3 | # See http://opensource.org/licenses/MIT 4 | 5 | # WASAPI_FOUND 6 | # AUDIOCLIENT_H 7 | 8 | if(WIN32) 9 | include(CheckIncludeFile) 10 | check_include_file(audioclient.h AUDIOCLIENT_H) 11 | endif() 12 | 13 | include(FindPackageHandleStandardArgs) 14 | find_package_handle_standard_args(WASAPI DEFAULT_MSG AUDIOCLIENT_H) 15 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/doc/FindSoundIo.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Andrew Kelley 2 | # This file is MIT licensed. 3 | # See http://opensource.org/licenses/MIT 4 | 5 | # SOUNDIO_FOUND 6 | # SOUNDIO_INCLUDE_DIR 7 | # SOUNDIO_LIBRARY 8 | 9 | find_path(SOUNDIO_INCLUDE_DIR NAMES soundio/soundio.h) 10 | 11 | find_library(SOUNDIO_LIBRARY NAMES soundio) 12 | 13 | include(FindPackageHandleStandardArgs) 14 | find_package_handle_standard_args(SOUNDIO DEFAULT_MSG SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR) 15 | 16 | mark_as_advanced(SOUNDIO_INCLUDE_DIR SOUNDIO_LIBRARY) 17 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/doc/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/src/config.h.in: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Andrew Kelley 3 | * 4 | * This file is part of libsoundio, which is MIT licensed. 5 | * See http://opensource.org/licenses/MIT 6 | */ 7 | 8 | #ifndef SOUNDIO_CONFIG_H 9 | #define SOUNDIO_CONFIG_H 10 | 11 | #define SOUNDIO_VERSION_MAJOR @LIBSOUNDIO_VERSION_MAJOR@ 12 | #define SOUNDIO_VERSION_MINOR @LIBSOUNDIO_VERSION_MINOR@ 13 | #define SOUNDIO_VERSION_PATCH @LIBSOUNDIO_VERSION_PATCH@ 14 | #define SOUNDIO_VERSION_STRING "@LIBSOUNDIO_VERSION@" 15 | 16 | #cmakedefine SOUNDIO_HAVE_JACK 17 | #cmakedefine SOUNDIO_HAVE_PULSEAUDIO 18 | #cmakedefine SOUNDIO_HAVE_ALSA 19 | #cmakedefine SOUNDIO_HAVE_COREAUDIO 20 | #cmakedefine SOUNDIO_HAVE_WASAPI 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/src/ring_buffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Andrew Kelley 3 | * 4 | * This file is part of libsoundio, which is MIT licensed. 5 | * See http://opensource.org/licenses/MIT 6 | */ 7 | 8 | #ifndef SOUNDIO_RING_BUFFER_H 9 | #define SOUNDIO_RING_BUFFER_H 10 | 11 | #include "os.h" 12 | #include "atomics.h" 13 | 14 | struct SoundIoRingBuffer { 15 | struct SoundIoOsMirroredMemory mem; 16 | struct SoundIoAtomicULong write_offset; 17 | struct SoundIoAtomicULong read_offset; 18 | int capacity; 19 | }; 20 | 21 | int soundio_ring_buffer_init(struct SoundIoRingBuffer *rb, int requested_capacity); 22 | void soundio_ring_buffer_deinit(struct SoundIoRingBuffer *rb); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /examples/synth/libsoundio-master/src/soundio_internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Andrew Kelley 3 | * 4 | * This file is part of libsoundio, which is MIT licensed. 5 | * See http://opensource.org/licenses/MIT 6 | */ 7 | 8 | #ifndef SOUNDIO_SOUNDIO_INTERNAL_H 9 | #define SOUNDIO_SOUNDIO_INTERNAL_H 10 | 11 | // This exists for __declspec(dllexport) and __declspec(dllimport) to be 12 | // defined correctly without the library user having to do anything. 13 | #define SOUNDIO_BUILDING_LIBRARY 14 | #include "soundio/soundio.h" 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /examples/synth/synth-master/README.md: -------------------------------------------------------------------------------- 1 | # synth 2 | 3 | This code is used in the Code-It-Yourself sound synthesizer videos on the onelonecoder.com blog 4 | -------------------------------------------------------------------------------- /examples/ui/ui.h: -------------------------------------------------------------------------------- 1 | #include -------------------------------------------------------------------------------- /examples/wasm-fmt/README.md: -------------------------------------------------------------------------------- 1 | # zigfmt-web 2 | 3 | The WebAssembly memory allocator used here was added after Zig 0.4.0. On MacOS with Homebrew, `brew install zig --HEAD` can be used to install Zig's master branch. 4 | 5 | Compile with `zig build-exe -target wasm32-freestanding --release-fast fmt.zig` -------------------------------------------------------------------------------- /examples/wasm-fmt/fmt.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/wasm-fmt/fmt.wasm -------------------------------------------------------------------------------- /examples/wasm-pong/main.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/wasm-pong/main.wasm -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"], 3 | "plugins": [ 4 | "transform-object-rest-spread", 5 | "transform-es3-member-expression-literals", 6 | "transform-es3-property-literals" 7 | ], 8 | "env": { 9 | "commonjs": { 10 | "plugins": [ 11 | ["transform-es2015-modules-commonjs", { "loose": true }]] 12 | }, 13 | "es": { 14 | "plugins": [] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain 2 | # consistent coding styles between different editors and IDEs. 3 | 4 | root = true 5 | 6 | [*] 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | indent_style = space 12 | indent_size = 2 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/.eslintignore: -------------------------------------------------------------------------------- 1 | **/dist/** 2 | **/node_modules/** 3 | **/compiled/** -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "ecmaFeatures": { 3 | "modules": true 4 | }, 5 | "env": { 6 | "browser": true, 7 | "node": true 8 | }, 9 | "parser": "babel-eslint", 10 | "rules": { 11 | "global-require": "off", 12 | "object-shorthand": "off", 13 | "no-mixed-operators": "off", 14 | "no-plusplus": "off", 15 | "no-continue": "off", 16 | "dot-notation": "off", 17 | "no-restricted-syntax": "off", 18 | "quote-props": "off", 19 | "no-underscore-dangle": "off", 20 | "no-param-reassign": "off", 21 | "valid-jsdoc": 2, 22 | "quotes": [2, "single"], 23 | "strict": [2, "never"] 24 | }, 25 | "extends": "airbnb/base", 26 | "globals": { 27 | "describe" : false, 28 | "it" : false, 29 | "before" : false, 30 | "beforeEach" : false, 31 | "after" : false, 32 | "afterEach" : false 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.log 4 | lib 5 | es 6 | coverage 7 | _book 8 | .nyc_output 9 | .vscode 10 | package-lock.json 11 | dist 12 | compiled -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | asm-dom • TodoMVC 7 | 8 | 9 |
10 |
11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/src/helpers.cpp: -------------------------------------------------------------------------------- 1 | #include "helpers.hpp" 2 | #include 3 | #include 4 | #include 5 | 6 | namespace todomvc { 7 | namespace helpers { 8 | 9 | std::string classnames(std::map classes) { 10 | std::string className = ""; 11 | for ( auto it = classes.begin(); it != classes.end(); ++it ) { 12 | if (it->second) { 13 | className.append(it->first); 14 | } 15 | } 16 | return className; 17 | }; 18 | 19 | std::wstring utf8_to_wstring(const std::string& str) { 20 | std::wstring_convert> converter; 21 | return converter.from_bytes(str); 22 | }; 23 | 24 | std::string wstring_to_utf8(const std::wstring& str) { 25 | std::wstring_convert> converter; 26 | return converter.to_bytes(str); 27 | }; 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/src/helpers.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_todomvc_helpers_hpp 2 | #define asmdom_todomvc_helpers_hpp 3 | 4 | #include 5 | 6 | namespace todomvc { 7 | namespace helpers { 8 | 9 | std::string classnames(std::map classes); 10 | std::wstring utf8_to_wstring(const std::string& str); 11 | std::string wstring_to_utf8(const std::wstring& str); 12 | 13 | } 14 | } 15 | 16 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/src/index.cpp: -------------------------------------------------------------------------------- 1 | #include "app.cpp" 2 | #include "helpers.cpp" 3 | #include "task.cpp" 4 | #include "todos.cpp" -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/src/index.js: -------------------------------------------------------------------------------- 1 | import 'todomvc-common/base.css'; 2 | import 'todomvc-app-css/index.css'; 3 | import '../../../src/cpp/'; 4 | 5 | (() => { 6 | const config = {}; 7 | 8 | const instantiate = (Module) => { 9 | Module(config); 10 | }; 11 | 12 | if ('WebAssembly' in window) { 13 | import('../compiled/wasm/app.wasm') 14 | .then((wasm) => { 15 | config.wasmBinary = new Uint8Array(wasm); 16 | return import('../compiled/wasm/app.js'); 17 | }) 18 | .then(instantiate); 19 | } else { 20 | import('../compiled/asmjs/app.asm.js').then(instantiate); 21 | } 22 | })(); 23 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpp/src/task.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_todomvc_task_hpp 2 | #define asmdom_todomvc_task_hpp 3 | 4 | #include "../../../src/cpp/asm-dom.hpp" 5 | #include 6 | #include 7 | 8 | using namespace asmdom; 9 | 10 | namespace todomvc { 11 | namespace task { 12 | 13 | struct Task { 14 | int id; 15 | std::string title; 16 | bool done; 17 | bool editing; 18 | std::wstring editingValue; 19 | }; 20 | 21 | typedef std::function action; 22 | 23 | VNode* view(Task task, std::function, std::function remove); 24 | Task init(int id, std::string title); 25 | Task update(Task task, action act); 26 | 27 | namespace Action { 28 | 29 | action Toggle (bool done); 30 | action StartEdit(); 31 | action CommitEdit(std::string title); 32 | action CancelEdit(); 33 | 34 | } 35 | } 36 | } 37 | 38 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"], 3 | "plugins": [ 4 | "transform-object-rest-spread", 5 | "transform-es3-member-expression-literals", 6 | "transform-es3-property-literals" 7 | ], 8 | "env": { 9 | "commonjs": { 10 | "plugins": [ 11 | ["transform-es2015-modules-commonjs", { "loose": true }]] 12 | }, 13 | "es": { 14 | "plugins": [] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain 2 | # consistent coding styles between different editors and IDEs. 3 | 4 | root = true 5 | 6 | [*] 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | indent_style = space 12 | indent_size = 2 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/.eslintignore: -------------------------------------------------------------------------------- 1 | **/dist/** 2 | **/node_modules/** 3 | **/compiled/** -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "ecmaFeatures": { 3 | "modules": true 4 | }, 5 | "env": { 6 | "browser": true, 7 | "node": true 8 | }, 9 | "parser": "babel-eslint", 10 | "rules": { 11 | "global-require": "off", 12 | "object-shorthand": "off", 13 | "no-mixed-operators": "off", 14 | "no-plusplus": "off", 15 | "no-continue": "off", 16 | "dot-notation": "off", 17 | "no-restricted-syntax": "off", 18 | "quote-props": "off", 19 | "no-underscore-dangle": "off", 20 | "no-param-reassign": "off", 21 | "valid-jsdoc": 2, 22 | "quotes": [2, "single"], 23 | "strict": [2, "never"] 24 | }, 25 | "extends": "airbnb/base", 26 | "globals": { 27 | "describe" : false, 28 | "it" : false, 29 | "before" : false, 30 | "beforeEach" : false, 31 | "after" : false, 32 | "afterEach" : false 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/.gccxrc: -------------------------------------------------------------------------------- 1 | { 2 | "output": "temp", 3 | "extensions": [".cpp"], 4 | "copyFiles": true 5 | } -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.log 4 | lib 5 | es 6 | coverage 7 | temp 8 | _book 9 | .nyc_output 10 | .vscode 11 | package-lock.json 12 | dist 13 | compiled -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | asm-dom • TodoMVC 7 | 8 | 9 |
10 |
11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/src/helpers.cpp: -------------------------------------------------------------------------------- 1 | #include "helpers.hpp" 2 | #include 3 | #include 4 | #include 5 | 6 | namespace todomvc { 7 | namespace helpers { 8 | 9 | std::string classnames(std::map classes) { 10 | std::string className = ""; 11 | for ( auto it = classes.begin(); it != classes.end(); ++it ) { 12 | if (it->second) { 13 | className.append(it->first); 14 | } 15 | } 16 | return className; 17 | }; 18 | 19 | std::wstring utf8_to_wstring(const std::string& str) { 20 | std::wstring_convert> converter; 21 | return converter.from_bytes(str); 22 | }; 23 | 24 | std::string wstring_to_utf8(const std::wstring& str) { 25 | std::wstring_convert> converter; 26 | return converter.to_bytes(str); 27 | }; 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/src/helpers.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_todomvc_helpers_hpp 2 | #define asmdom_todomvc_helpers_hpp 3 | 4 | #include 5 | 6 | namespace todomvc { 7 | namespace helpers { 8 | 9 | std::string classnames(std::map classes); 10 | std::wstring utf8_to_wstring(const std::string& str); 11 | std::string wstring_to_utf8(const std::wstring& str); 12 | 13 | } 14 | } 15 | 16 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/src/index.cpp: -------------------------------------------------------------------------------- 1 | #include "app.cpp" 2 | #include "helpers.cpp" 3 | #include "task.cpp" 4 | #include "todos.cpp" -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/src/index.js: -------------------------------------------------------------------------------- 1 | import 'todomvc-common/base.css'; 2 | import 'todomvc-app-css/index.css'; 3 | import '../../../src/cpp/'; 4 | 5 | (() => { 6 | const config = {}; 7 | 8 | const instantiate = (Module) => { 9 | Module(config); 10 | }; 11 | 12 | if ('WebAssembly' in window) { 13 | import('../compiled/wasm/app.wasm') 14 | .then((wasm) => { 15 | config.wasmBinary = new Uint8Array(wasm); 16 | return import('../compiled/wasm/app.js'); 17 | }) 18 | .then(instantiate); 19 | } else { 20 | import('../compiled/asmjs/app.asm.js').then(instantiate); 21 | } 22 | })(); 23 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - cpx/src/task.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_todomvc_task_hpp 2 | #define asmdom_todomvc_task_hpp 3 | 4 | #include "../../../src/cpp/asm-dom.hpp" 5 | #include 6 | #include 7 | 8 | using namespace asmdom; 9 | 10 | namespace todomvc { 11 | namespace task { 12 | 13 | struct Task { 14 | int id; 15 | std::string title; 16 | bool done; 17 | bool editing; 18 | std::wstring editingValue; 19 | }; 20 | 21 | typedef std::function action; 22 | 23 | VNode* view(Task task, std::function, std::function remove); 24 | Task init(int id, std::string title); 25 | Task update(Task task, action act); 26 | 27 | namespace Action { 28 | 29 | action Toggle (bool done); 30 | action StartEdit(); 31 | action CommitEdit(std::string title); 32 | action CancelEdit(); 33 | 34 | } 35 | } 36 | } 37 | 38 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - js/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"], 3 | "plugins": [ 4 | "transform-object-rest-spread", 5 | "transform-es3-member-expression-literals", 6 | "transform-es3-property-literals" 7 | ], 8 | "env": { 9 | "commonjs": { 10 | "plugins": [ 11 | ["transform-es2015-modules-commonjs", { "loose": true }]] 12 | }, 13 | "es": { 14 | "plugins": [] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - js/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain 2 | # consistent coding styles between different editors and IDEs. 3 | 4 | root = true 5 | 6 | [*] 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | indent_style = space 12 | indent_size = 2 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - js/.eslintignore: -------------------------------------------------------------------------------- 1 | **/dist/** 2 | **/node_modules/** 3 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - js/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "ecmaFeatures": { 3 | "modules": true 4 | }, 5 | "env": { 6 | "browser": true, 7 | "node": true 8 | }, 9 | "parser": "babel-eslint", 10 | "rules": { 11 | "global-require": "off", 12 | "object-shorthand": "off", 13 | "no-mixed-operators": "off", 14 | "no-plusplus": "off", 15 | "no-continue": "off", 16 | "dot-notation": "off", 17 | "no-restricted-syntax": "off", 18 | "quote-props": "off", 19 | "no-underscore-dangle": "off", 20 | "no-param-reassign": "off", 21 | "valid-jsdoc": 2, 22 | "quotes": [2, "single"], 23 | "strict": [2, "never"] 24 | }, 25 | "extends": "airbnb/base", 26 | "globals": { 27 | "describe" : false, 28 | "it" : false, 29 | "before" : false, 30 | "beforeEach" : false, 31 | "after" : false, 32 | "afterEach" : false 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - js/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.log 4 | lib 5 | es 6 | coverage 7 | _book 8 | .nyc_output 9 | .vscode 10 | package-lock.json 11 | dist 12 | compiled -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - js/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | asm-dom • TodoMVC 7 | 8 | 9 |
10 |
11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - js/src/index.js: -------------------------------------------------------------------------------- 1 | import init from 'asm-dom'; 2 | import 'todomvc-common/base.css'; 3 | import 'todomvc-app-css/index.css'; 4 | import todos from './todos'; 5 | 6 | init().then((asmDom) => { 7 | const { h, patch } = asmDom; 8 | 9 | function main(initState, oldVnode, { view, update }) { 10 | let handler; 11 | const newVnode = view(h, initState, handler = (e) => { 12 | const newState = update(initState, e); 13 | main(newState, newVnode, { view, update }); 14 | }); 15 | if (patch(oldVnode, newVnode) !== undefined) { 16 | window.onhashchange = () => handler(todos.Action.Filter(window.location.hash.substr(2) || 'all')); 17 | } 18 | } 19 | 20 | const state = todos.init(); 21 | 22 | main( 23 | state, 24 | document.querySelector('.todoapp'), 25 | todos, 26 | ); 27 | }); 28 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"], 3 | "plugins": [ 4 | "transform-object-rest-spread", 5 | "transform-es3-member-expression-literals", 6 | "transform-es3-property-literals" 7 | ], 8 | "env": { 9 | "commonjs": { 10 | "plugins": [ 11 | ["transform-es2015-modules-commonjs", { "loose": true }]] 12 | }, 13 | "es": { 14 | "plugins": [] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain 2 | # consistent coding styles between different editors and IDEs. 3 | 4 | root = true 5 | 6 | [*] 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | indent_style = space 12 | indent_size = 2 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/.eslintignore: -------------------------------------------------------------------------------- 1 | **/dist/** 2 | **/node_modules/** 3 | **/compiled/** -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "ecmaFeatures": { 3 | "modules": true 4 | }, 5 | "env": { 6 | "browser": true, 7 | "node": true 8 | }, 9 | "parser": "babel-eslint", 10 | "rules": { 11 | "global-require": "off", 12 | "object-shorthand": "off", 13 | "no-mixed-operators": "off", 14 | "no-plusplus": "off", 15 | "no-continue": "off", 16 | "dot-notation": "off", 17 | "no-restricted-syntax": "off", 18 | "quote-props": "off", 19 | "no-underscore-dangle": "off", 20 | "no-param-reassign": "off", 21 | "valid-jsdoc": 2, 22 | "quotes": [2, "single"], 23 | "strict": [2, "never"] 24 | }, 25 | "extends": "airbnb/base", 26 | "globals": { 27 | "describe" : false, 28 | "it" : false, 29 | "before" : false, 30 | "beforeEach" : false, 31 | "after" : false, 32 | "afterEach" : false 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.log 4 | lib 5 | es 6 | coverage 7 | _book 8 | .nyc_output 9 | .vscode 10 | package-lock.json 11 | dist 12 | compiled -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/client/index.cpp: -------------------------------------------------------------------------------- 1 | #include "../../../../src/cpp/asm-dom.cpp" 2 | #include "../shared/index.cpp" 3 | #include "app.cpp" -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/client/index.js: -------------------------------------------------------------------------------- 1 | import 'todomvc-common/base.css'; 2 | import 'todomvc-app-css/index.css'; 3 | import '../../../../src/cpp/'; 4 | 5 | (() => { 6 | const config = {}; 7 | 8 | const instantiate = (Module) => { 9 | Module(config); 10 | }; 11 | 12 | if ('WebAssembly' in window) { 13 | import('../../compiled/client/wasm/app.wasm') 14 | .then((wasm) => { 15 | config.wasmBinary = new Uint8Array(wasm); 16 | return import('../../compiled/client/wasm/app.js'); 17 | }) 18 | .then(instantiate); 19 | } else { 20 | import('../../compiled/client/asmjs/app.asm.js').then(instantiate); 21 | } 22 | })(); 23 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/server/index.cpp: -------------------------------------------------------------------------------- 1 | #include "../../../../src/cpp/asm-dom.cpp" 2 | #include "../../../../src/cpp/asm-dom-server.cpp" 3 | #include "../shared/index.cpp" 4 | #include "app.cpp" -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/server/index.js: -------------------------------------------------------------------------------- 1 | import '../../../../src/cpp/'; 2 | 3 | const config = {}; 4 | 5 | const instantiate = (Module) => { 6 | Module(config); 7 | }; 8 | 9 | if ('WebAssembly' in window) { 10 | import('../../compiled/server/wasm/app.wasm') 11 | .then((wasm) => { 12 | config.wasmBinary = new Uint8Array(wasm); 13 | return import('../../compiled/server/wasm/app.js'); 14 | }) 15 | .then(instantiate); 16 | } else { 17 | import('../../compiled/server/asmjs/app.asm.js').then(instantiate); 18 | } 19 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/shared/helpers.cpp: -------------------------------------------------------------------------------- 1 | #include "helpers.hpp" 2 | #include 3 | #include 4 | #include 5 | 6 | namespace todomvc { 7 | namespace helpers { 8 | 9 | std::string classnames(std::map classes) { 10 | std::string className = ""; 11 | for ( auto it = classes.begin(); it != classes.end(); ++it ) { 12 | if (it->second) { 13 | className.append(it->first); 14 | } 15 | } 16 | return className; 17 | }; 18 | 19 | std::wstring utf8_to_wstring(const std::string& str) { 20 | std::wstring_convert> converter; 21 | return converter.from_bytes(str); 22 | }; 23 | 24 | std::string wstring_to_utf8(const std::wstring& str) { 25 | std::wstring_convert> converter; 26 | return converter.to_bytes(str); 27 | }; 28 | 29 | } 30 | } -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/shared/helpers.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_todomvc_helpers_hpp 2 | #define asmdom_todomvc_helpers_hpp 3 | 4 | #include 5 | 6 | namespace todomvc { 7 | namespace helpers { 8 | 9 | std::string classnames(std::map classes); 10 | std::wstring utf8_to_wstring(const std::string& str); 11 | std::string wstring_to_utf8(const std::wstring& str); 12 | 13 | } 14 | } 15 | 16 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/shared/index.cpp: -------------------------------------------------------------------------------- 1 | #include "helpers.cpp" 2 | #include "task.cpp" 3 | #include "todos.cpp" -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/todomvc - ssr/src/shared/task.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_todomvc_task_hpp 2 | #define asmdom_todomvc_task_hpp 3 | 4 | #include "../../../../src/cpp/asm-dom.hpp" 5 | #include 6 | #include 7 | 8 | using namespace asmdom; 9 | 10 | namespace todomvc { 11 | namespace task { 12 | 13 | struct Task { 14 | int id; 15 | std::string title; 16 | bool done; 17 | bool editing; 18 | std::wstring editingValue; 19 | }; 20 | 21 | typedef std::function action; 22 | 23 | VNode* view(Task task, std::function, std::function remove); 24 | Task init(int id, std::string title); 25 | Task update(Task task, action act); 26 | 27 | namespace Action { 28 | 29 | action Toggle (bool done); 30 | action StartEdit(); 31 | action CommitEdit(std::string title); 32 | action CancelEdit(); 33 | 34 | } 35 | } 36 | } 37 | 38 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"], 3 | "plugins": [ 4 | "transform-object-rest-spread", 5 | "transform-es3-member-expression-literals", 6 | "transform-es3-property-literals" 7 | ], 8 | "env": { 9 | "commonjs": { 10 | "plugins": [ 11 | ["transform-es2015-modules-commonjs", { "loose": true }]] 12 | }, 13 | "es": { 14 | "plugins": [] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain 2 | # consistent coding styles between different editors and IDEs. 3 | 4 | root = true 5 | 6 | [*] 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | indent_style = space 12 | indent_size = 2 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/.eslintignore: -------------------------------------------------------------------------------- 1 | **/dist/** 2 | **/node_modules/** 3 | **/compiled/** -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "ecmaFeatures": { 3 | "modules": true 4 | }, 5 | "env": { 6 | "browser": true, 7 | "node": true 8 | }, 9 | "parser": "babel-eslint", 10 | "rules": { 11 | "global-require": "off", 12 | "object-shorthand": "off", 13 | "no-mixed-operators": "off", 14 | "no-plusplus": "off", 15 | "no-continue": "off", 16 | "dot-notation": "off", 17 | "no-restricted-syntax": "off", 18 | "quote-props": "off", 19 | "no-underscore-dangle": "off", 20 | "no-param-reassign": "off", 21 | "valid-jsdoc": 2, 22 | "quotes": [2, "single"], 23 | "strict": [2, "never"] 24 | }, 25 | "extends": "airbnb/base", 26 | "globals": { 27 | "describe" : false, 28 | "it" : false, 29 | "before" : false, 30 | "beforeEach" : false, 31 | "after" : false, 32 | "afterEach" : false 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.log 4 | lib 5 | es 6 | coverage 7 | _book 8 | .nyc_output 9 | .vscode 10 | package-lock.json 11 | dist 12 | compiled -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | asm-dom • webcomponents 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/src/components/HelloComponent.js: -------------------------------------------------------------------------------- 1 | class HelloComponent extends HTMLElement { 2 | static get observedAttributes() { 3 | return ['name']; 4 | } 5 | 6 | get props() { 7 | return { 8 | name: this.name, 9 | }; 10 | } 11 | 12 | get name() { 13 | return this.getAttribute('name') || 'World'; 14 | } 15 | 16 | set name(val) { 17 | this.setAttribute('name', val); 18 | } 19 | 20 | constructor() { 21 | super(); 22 | this.attachShadow({ mode: 'open' }); 23 | this.render(); 24 | } 25 | 26 | attributeChangedCallback() { 27 | this.render(); 28 | this.shadowRoot.dispatchEvent(new Event('change', { bubbles: true, composed: true })); 29 | } 30 | 31 | render() { 32 | const name = this.props.name; 33 | this.shadowRoot.textContent = `Hello ${name}!`; 34 | } 35 | } 36 | 37 | customElements.define('hello-component', HelloComponent); 38 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/src/index.cpp: -------------------------------------------------------------------------------- 1 | #include "app.cpp" -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - cpp/src/index.js: -------------------------------------------------------------------------------- 1 | import '../../../src/cpp/'; 2 | import './components/HelloComponent'; 3 | 4 | (() => { 5 | const config = {}; 6 | 7 | const instantiate = (Module) => { 8 | Module(config); 9 | }; 10 | 11 | if ('WebAssembly' in window) { 12 | import('../compiled/wasm/app.wasm') 13 | .then((wasm) => { 14 | config.wasmBinary = new Uint8Array(wasm); 15 | return import('../compiled/wasm/app.js'); 16 | }) 17 | .then(instantiate); 18 | } else { 19 | import('../compiled/asmjs/app.asm.js').then(instantiate); 20 | } 21 | })(); 22 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - js/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"], 3 | "plugins": [ 4 | "transform-object-rest-spread", 5 | "transform-es3-member-expression-literals", 6 | "transform-es3-property-literals" 7 | ], 8 | "env": { 9 | "commonjs": { 10 | "plugins": [ 11 | ["transform-es2015-modules-commonjs", { "loose": true }]] 12 | }, 13 | "es": { 14 | "plugins": [] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - js/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain 2 | # consistent coding styles between different editors and IDEs. 3 | 4 | root = true 5 | 6 | [*] 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | indent_style = space 12 | indent_size = 2 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - js/.eslintignore: -------------------------------------------------------------------------------- 1 | **/dist/** 2 | **/node_modules/** 3 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - js/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "ecmaFeatures": { 3 | "modules": true 4 | }, 5 | "env": { 6 | "browser": true, 7 | "node": true 8 | }, 9 | "parser": "babel-eslint", 10 | "rules": { 11 | "global-require": "off", 12 | "object-shorthand": "off", 13 | "no-mixed-operators": "off", 14 | "no-plusplus": "off", 15 | "no-continue": "off", 16 | "dot-notation": "off", 17 | "no-restricted-syntax": "off", 18 | "quote-props": "off", 19 | "no-underscore-dangle": "off", 20 | "no-param-reassign": "off", 21 | "valid-jsdoc": 2, 22 | "quotes": [2, "single"], 23 | "strict": [2, "never"] 24 | }, 25 | "extends": "airbnb/base", 26 | "globals": { 27 | "describe" : false, 28 | "it" : false, 29 | "before" : false, 30 | "beforeEach" : false, 31 | "after" : false, 32 | "afterEach" : false 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - js/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.log 4 | lib 5 | es 6 | coverage 7 | _book 8 | .nyc_output 9 | .vscode 10 | package-lock.json 11 | dist 12 | compiled -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/examples/webcomponents - js/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | asm-dom • webcomponents 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/Diff/diff.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_diff_hpp 2 | #define asmdom_diff_hpp 3 | 4 | #include "../VNode/VNode.hpp" 5 | 6 | namespace asmdom { 7 | 8 | void diff(VNode* __restrict__ const oldVnode, VNode* __restrict__ const vnode); 9 | 10 | } 11 | 12 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/Init/init.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_Init_hpp 2 | #define asmdom_Init_hpp 3 | 4 | #include "../Config/Config.hpp" 5 | 6 | namespace asmdom { 7 | 8 | void init(const Config& config); 9 | 10 | } 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/Patch/patch.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_Patch_hpp 2 | #define asmdom_Patch_hpp 3 | 4 | #include "../VNode/VNode.hpp" 5 | #include 6 | 7 | namespace asmdom { 8 | 9 | VNode* patch( 10 | const emscripten::val& element, 11 | VNode* const vnode 12 | ); 13 | VNode* patch( 14 | VNode* const oldVnode, 15 | VNode* const vnode 16 | ); 17 | 18 | #ifdef ASMDOM_TEST 19 | void reset(); 20 | #endif 21 | 22 | } 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/h/h.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_h_hpp 2 | #define asmdom_h_hpp 3 | 4 | #include "../VNode/VNode.hpp" 5 | #include 6 | #include 7 | #include 8 | 9 | namespace asmdom { 10 | 11 | VNode* h(const std::string& sel); 12 | VNode* h(const std::string& sel, const std::string& text); 13 | VNode* h(const std::string& sel, bool text); 14 | VNode* h(const std::string& sel, const Data& data); 15 | VNode* h(const std::string& sel, const Children& children); 16 | VNode* h(const std::string& sel, VNode* child); 17 | VNode* h(const std::string& sel, const Data& data, const std::string& text); 18 | VNode* h(const std::string& sel, const Data& data, const Children& children); 19 | VNode* h(const std::string& sel, const Data& data, VNode* child); 20 | 21 | } 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/toHTML/toHTML.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_tohtml_hpp 2 | #define asmdom_tohtml_hpp 3 | 4 | #include "../VNode/VNode.hpp" 5 | #include 6 | 7 | namespace asmdom { 8 | 9 | std::string toHTML(const VNode* const vnode); 10 | 11 | } 12 | 13 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/toVNode/toVNode.hpp: -------------------------------------------------------------------------------- 1 | #ifndef asmdom_tovnode_hpp 2 | #define asmdom_tovnode_hpp 3 | 4 | #include "../VNode/VNode.hpp" 5 | #include 6 | 7 | namespace asmdom { 8 | 9 | VNode* toVNode(const emscripten::val& node); 10 | 11 | } 12 | 13 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/utils/utils.cpp: -------------------------------------------------------------------------------- 1 | #ifdef ASMDOM_JS_SIDE 2 | #include "utils.hpp" 3 | #include 4 | #include 5 | #include 6 | 7 | namespace asmdom { 8 | 9 | std::wstring utf8_to_wstring(const std::string& str) { 10 | std::wstring_convert> converter; 11 | return converter.from_bytes(str); 12 | }; 13 | 14 | std::string wstring_to_utf8(const std::wstring& str) { 15 | std::wstring_convert> converter; 16 | return converter.to_bytes(str); 17 | }; 18 | 19 | } 20 | #endif -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/cpp/utils/utils.hpp: -------------------------------------------------------------------------------- 1 | #ifdef ASMDOM_JS_SIDE 2 | #ifndef asmdom_utils_hpp 3 | #define asmdom_utils_hpp 4 | 5 | #include 6 | 7 | namespace asmdom { 8 | 9 | std::wstring utf8_to_wstring(const std::string& str); 10 | std::string wstring_to_utf8(const std::wstring& str); 11 | 12 | } 13 | 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/js/loadWasm.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line 2 | import preval from 'babel-plugin-preval/macro'; 3 | 4 | export default (config) => { 5 | const base64 = preval` 6 | var fs = require('fs'); 7 | module.exports = fs.readFileSync(__dirname + '/../../compiled/wasm/asm-dom.wasm', 'base64'); 8 | `; 9 | const binary = new Buffer(base64, 'base64').toString('binary'); 10 | const bytes = new Uint8Array(binary.length); 11 | for (let i = 0; i < binary.length; ++i) { 12 | bytes[i] = binary.charCodeAt(i); 13 | } 14 | config.wasmBinary = new Uint8Array(bytes.buffer); 15 | return Promise.resolve(require('../../compiled/wasm/asm-dom.js')); 16 | }; 17 | -------------------------------------------------------------------------------- /examples/wasm/asm-dom-master/src/js/patch.js: -------------------------------------------------------------------------------- 1 | export default (oldVnode, vnode) => { 2 | if ( 3 | window.asmDom.unsafePatch === false && 4 | window.asmDomHelpers.currentNode !== oldVnode && 5 | window.asmDomHelpers.currentNode !== undefined 6 | ) return; 7 | // eslint-disable-next-line 8 | if (oldVnode === vnode) return vnode; 9 | window.asmDomHelpers.currentNode = vnode; 10 | let { clearMemory } = window.asmDom; 11 | if (typeof oldVnode !== 'number') { 12 | clearMemory = true; 13 | oldVnode = window.asmDom.toVNode(oldVnode); 14 | } 15 | window.asmDom._patch(oldVnode, vnode); 16 | if (clearMemory === true) { 17 | setTimeout(window.asmDom.deleteVNode.bind(null, oldVnode)); 18 | } 19 | // eslint-disable-next-line 20 | return vnode; 21 | }; 22 | -------------------------------------------------------------------------------- /examples/wasm/js/audio.js: -------------------------------------------------------------------------------- 1 | const audioCtx = new (window.AudioContext || window.webkitAudioContext)(); 2 | const audioBuffer = audioCtx.createBuffer(1, audioCtx.sampleRate * 2.0, audioCtx.sampleRate); 3 | 4 | const playAudio = (bufferPtr, bufferSize) => { 5 | audioBuffer.copyToChannel(new Float32Array(memory.buffer, bufferPtr, bufferSize), 0); 6 | const source = audioCtx.createBufferSource(); 7 | source.buffer = audioBuffer; 8 | source.connect(audioCtx.destination); 9 | source.start(); 10 | } 11 | 12 | var audio = { 13 | playAudio 14 | }; -------------------------------------------------------------------------------- /examples/wasm/js/wasm.js: -------------------------------------------------------------------------------- 1 | var memory; 2 | 3 | const getRandomSeed = () => Math.floor(Math.random() * 2147483647); 4 | const getRandomString = () => Math.random().toString(36).substring(5, 15) + Math.random().toString(36).substring(5, 15); 5 | const consoleLog = (value) => console.log('consoleLog', value); 6 | const readCharStr = (ptr, len) => { 7 | const bytes = new Uint8Array(memory.buffer, ptr, len); 8 | let s = ""; 9 | for (let i = 0; i < len; ++i) { 10 | s += String.fromCharCode(bytes[i]); 11 | } 12 | return s; 13 | } 14 | 15 | var wasm = { 16 | consoleLog, 17 | getRandomSeed, 18 | getRandomString, 19 | consoleLogF: consoleLog, 20 | consoleLogS: consoleLog, 21 | readCharStr, 22 | } -------------------------------------------------------------------------------- /examples/wasm/platform/web/platform.zig: -------------------------------------------------------------------------------- 1 | 2 | const wasm = @import("web/wasm.zig"); 3 | // const dom = @import("web/dom.zig"); 4 | const canvas = @import("web/canvas.zig"); 5 | const webgl = @import("web/webgl.zig"); 6 | 7 | pub use wasm; 8 | pub use canvas; 9 | pub use webgl; 10 | 11 | const builtin = @import("builtin"); 12 | pub const allocator = @import("std").heap.wasm_allocator; 13 | pub const Window = c_void; 14 | 15 | pub fn panic(message: []const u8, error_return_trace: ?*builtin.StackTrace) noreturn { 16 | @setCold(true); 17 | wasm.consoleLogS(message.ptr, message.len); 18 | while (true) {} 19 | } 20 | 21 | pub fn initShader(source: []const u8, name: []const u8, kind: c_uint) c_uint { 22 | return webgl.glInitShader(source.ptr, source.len, kind); 23 | } 24 | 25 | pub fn linkShaderProgram(vertex_id: c_uint, fragment_id: c_uint, geometry_id: ?c_uint) c_uint { 26 | return webgl.glLinkShaderProgram(vertex_id, fragment_id); 27 | } 28 | -------------------------------------------------------------------------------- /examples/wasm/platform/web/wasm.zig: -------------------------------------------------------------------------------- 1 | 2 | pub extern fn getRandomSeed() c_uint; 3 | pub extern fn getRandomString() [*]const u8; 4 | pub extern fn consoleLog(_: c_int) void; 5 | pub extern fn consoleLogF(_: f32) void; 6 | pub extern fn consoleLogS(_: [*]const u8, _: c_uint) void; -------------------------------------------------------------------------------- /examples/window/glfw/c.h: -------------------------------------------------------------------------------- 1 | #include "glad.h" 2 | #include -------------------------------------------------------------------------------- /examples/window/main_fb.zig: -------------------------------------------------------------------------------- 1 | const fb = @import("window.zig"); 2 | const platform_fb = fb.platform_fb; 3 | 4 | const WIDTH: u32 = 800; 5 | const HEIGHT: u32 = 600; 6 | 7 | var s_buffer = []u32 {0} ** (WIDTH * HEIGHT); 8 | 9 | pub fn main() !void { 10 | try platform_fb.open("Framebuffer Test\x00", WIDTH, HEIGHT); 11 | 12 | var x: usize = 0; 13 | 14 | while (true) { 15 | var i: usize = 0; 16 | while (i < WIDTH * HEIGHT) : (i += 1) { 17 | s_buffer[i] = fb.rgb(@truncate(u8, i * 3 + x * 2), @truncate(u8, i*2 + x * 5), @truncate(u8, i*5 + 5 * 3)); 18 | } 19 | platform_fb.update(s_buffer[0..]) catch break; 20 | x = (x + 1) % 255; 21 | } 22 | 23 | platform_fb.close(); 24 | } 25 | -------------------------------------------------------------------------------- /examples/window/main_gl.zig: -------------------------------------------------------------------------------- 1 | const fb = @import("window.zig"); 2 | const platform_fb = gl.platform_fb; 3 | 4 | const WIDTH: u32 = 800; 5 | const HEIGHT: u32 = 600; 6 | 7 | var s_buffer = []u32 {0} ** (WIDTH * HEIGHT); 8 | 9 | pub fn main() !void { 10 | try platform_fb.open("Framebuffer Test\x00", WIDTH, HEIGHT); 11 | 12 | var x: usize = 0; 13 | 14 | while (true) { 15 | var i: usize = 0; 16 | while (i < WIDTH * HEIGHT) : (i += 1) { 17 | s_buffer[i] = fb.rgb(@truncate(u8, i * 3 + x * 2), @truncate(u8, i*2 + x * 5), @truncate(u8, i*5 + 5 * 3)); 18 | } 19 | platform_fb.update(s_buffer[0..]) catch break; 20 | x = (x + 1) % 255; 21 | } 22 | 23 | platform_fb.close(); 24 | } 25 | -------------------------------------------------------------------------------- /examples/window/win32/libs/win32/index.zig: -------------------------------------------------------------------------------- 1 | pub use @import("win32_types.zig"); 2 | pub use @import("win32_functions.zig"); 3 | pub use @import("win32_macros.zig"); 4 | pub use @import("win32_constants.zig"); 5 | pub use @import("win32_externs.zig"); 6 | pub const Map = @import("win32_map.zig"); 7 | pub const gl = @import("gl.zig"); 8 | pub const wglext = @import("wglext.zig"); -------------------------------------------------------------------------------- /examples/window/win32/libs/win32_lean.h: -------------------------------------------------------------------------------- 1 | #define WIN32_LEAN_AND_MEAN 2 | #include "windows.h" -------------------------------------------------------------------------------- /examples/window/win32/libs/win32_lean.h.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/window/win32/libs/win32_lean.h.zig -------------------------------------------------------------------------------- /examples/window/win32/libs/win32_lean_gl.h: -------------------------------------------------------------------------------- 1 | #define WIN32_LEAN_AND_MEAN 2 | #include 3 | #include 4 | 5 | -------------------------------------------------------------------------------- /examples/window/win32/libs/win32_lean_gl.h.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/window/win32/libs/win32_lean_gl.h.zig -------------------------------------------------------------------------------- /examples/window/win32/main.zig: -------------------------------------------------------------------------------- 1 | use @import("std").os.windows; 2 | 3 | export fn WinMain(hInstance: HINSTANCE, hPrevInstance: HINSTANCE, lpCmdLine: PWSTR, nCmdShow: INT) INT { 4 | _ = MessageBoxA(null, c"hello", c"title", 0); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /examples/window/xcb/c.h: -------------------------------------------------------------------------------- 1 | #include -------------------------------------------------------------------------------- /examples/window/xcb/xcb_fb.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/window/xcb/xcb_fb.zig -------------------------------------------------------------------------------- /examples/window/xcb/xcb_gl.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/window/xcb/xcb_gl.zig -------------------------------------------------------------------------------- /examples/window/xlib/c.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | -------------------------------------------------------------------------------- /examples/zag/.gitignore: -------------------------------------------------------------------------------- 1 | zig-cache/ -------------------------------------------------------------------------------- /examples/zag/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/zag/README.md -------------------------------------------------------------------------------- /examples/zag/example/script.zag: -------------------------------------------------------------------------------- 1 | { 2 | var x = 0; 3 | 4 | while (x < 5) { 5 | x = x + 1; 6 | print x; 7 | } 8 | } -------------------------------------------------------------------------------- /examples/zag/example/std.zag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/zag/example/std.zag -------------------------------------------------------------------------------- /examples/zag/lang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/examples/zag/lang -------------------------------------------------------------------------------- /include/SDL2/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2017 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | -------------------------------------------------------------------------------- /include/SDL2/SDL_revision.h: -------------------------------------------------------------------------------- 1 | #define SDL_REVISION "hg-11645:2088cd828335" 2 | #define SDL_REVISION_NUMBER 11645 3 | -------------------------------------------------------------------------------- /src/core/c.zig: -------------------------------------------------------------------------------- 1 | const t = @import("../index.zig"); 2 | 3 | pub use @cImport({ 4 | if (is_windows) { 5 | @cInclude() 6 | } else { 7 | @cInclude("unistd.h"); 8 | @cInclude("sys/types.h"); 9 | @cInclude("sys/stat.h"); 10 | @cInclude("dlfcn.h"); 11 | } 12 | @cInclude("soundio/soundio.h"); 13 | }); 14 | 15 | pub fn ptr(p: var) t: { 16 | const T = @typeOf(p); 17 | const info = @typeInfo(@typeOf(p)).Pointer; 18 | break :t if (info.is_const) ?[*]const info.child else ?[*]info.child; 19 | } { 20 | return @ptrCast(@typeInfo(@typeOf(this)).Fn.return_type.?, p); 21 | } 22 | -------------------------------------------------------------------------------- /test/2D/build.zig: -------------------------------------------------------------------------------- 1 | const Builder = @import("std").build.Builder; 2 | const builtin = @import("builtin"); 3 | 4 | pub fn build(b: *Builder) void { 5 | const mode = b.standardReleaseOptions(); 6 | const version = b.version(0, 0, 1); 7 | 8 | var t = b.addTest("main.zig"); 9 | const test_step = b.step("test", "Run all tests"); 10 | test_step.dependOn(&t.step); 11 | 12 | var exe = b.addExecutable("main", "main.zig"); 13 | exe.linkSystemLibrary("c"); 14 | exe.setBuildMode(mode); 15 | 16 | b.installArtifact(exe); 17 | b.default_step.dependOn(&exe.step); 18 | 19 | const play = b.step("play", "Play the game"); 20 | const run = b.addCommand(".", b.env_map, [][]const u8{exe.getOutputPath()}); 21 | play.dependOn(&run.step); 22 | run.step.dependOn(&exe.step); 23 | } 24 | -------------------------------------------------------------------------------- /test/3D/build.zig: -------------------------------------------------------------------------------- 1 | const Builder = @import("std").build.Builder; 2 | const builtin = @import("builtin"); 3 | 4 | pub fn build(b: *Builder) void { 5 | const mode = b.standardReleaseOptions(); 6 | 7 | var t = b.addTest("test.zig"); 8 | t.linkSystemLibrary("c"); 9 | const test_step = b.step("test", "Run all tests"); 10 | test_step.dependOn(&t.step); 11 | 12 | var exe = b.addExecutable("oxid", "src/oxid/main.zig"); 13 | exe.setBuildMode(mode); 14 | exe.linkSystemLibrary("SDL2"); 15 | exe.linkSystemLibrary("SDL2_mixer"); 16 | exe.linkSystemLibrary("epoxy"); 17 | exe.linkSystemLibrary("c"); 18 | 19 | b.installArtifact(exe); 20 | 21 | b.default_step.dependOn(&exe.step); 22 | 23 | const play = b.step("play", "Play the game"); 24 | const run = b.addCommand(".", b.env_map, [][]const u8{exe.getOutputPath()}); 25 | play.dependOn(&run.step); 26 | run.step.dependOn(&exe.step); 27 | } 28 | -------------------------------------------------------------------------------- /test/3D/game.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/test/3D/game.zig -------------------------------------------------------------------------------- /test/3D/main.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/test/3D/main.zig -------------------------------------------------------------------------------- /test/FB/build.zig: -------------------------------------------------------------------------------- 1 | const Builder = @import("std").build.Builder; 2 | const builtin = @import("builtin"); 3 | 4 | pub fn build(b: *Builder) void { 5 | const mode = b.standardReleaseOptions(); 6 | 7 | var t = b.addTest("test.zig"); 8 | t.linkSystemLibrary("c"); 9 | const test_step = b.step("test", "Run all tests"); 10 | test_step.dependOn(&t.step); 11 | 12 | var exe = b.addExecutable("oxid", "src/oxid/main.zig"); 13 | exe.setBuildMode(mode); 14 | exe.linkSystemLibrary("SDL2"); 15 | exe.linkSystemLibrary("SDL2_mixer"); 16 | exe.linkSystemLibrary("epoxy"); 17 | exe.linkSystemLibrary("c"); 18 | 19 | b.installArtifact(exe); 20 | 21 | b.default_step.dependOn(&exe.step); 22 | 23 | const play = b.step("play", "Play the game"); 24 | const run = b.addCommand(".", b.env_map, [][]const u8{exe.getOutputPath()}); 25 | play.dependOn(&run.step); 26 | run.step.dependOn(&exe.step); 27 | } 28 | -------------------------------------------------------------------------------- /test/FB/game.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/test/FB/game.zig -------------------------------------------------------------------------------- /test/FB/main.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raulgrell/tick/a7ad846d110b66dac2eae4fc8abf68470ed030cd/test/FB/main.zig -------------------------------------------------------------------------------- /test/Shell/main.zig: -------------------------------------------------------------------------------- 1 | const std = @import("std"); 2 | 3 | const FileInStream = std.io.FileInStream; 4 | const FileOutStream = std.io.FileOutStream; 5 | 6 | pub fn main() !void { 7 | var stdin_file = try std.io.getStdIn(); 8 | var stdin = FileInStream.init(&stdin_file); 9 | 10 | var stdout_file = try std.io.getStdOut(); 11 | var stdout = FileOutStream.init(&stdout_file); 12 | 13 | var arg_list = std.ArrayList([]const u8).init(std.debug.global_allocator); 14 | defer arg_list.deinit(); 15 | 16 | var status: i32 = 1; 17 | 18 | while (status > 0) { 19 | try stdout_file.write("> "); 20 | 21 | var line = try stdin.stream.readUntilDelimiterAlloc(std.debug.global_allocator, '\n', 256); 22 | 23 | var args_iterator = std.mem.split(line, " \t\r\n"); 24 | while (args_iterator.next()) | arg | { 25 | try arg_list.append(arg); 26 | } 27 | 28 | std.debug.global_allocator.free(line); 29 | arg_list.len = 0; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /test/index.zig: -------------------------------------------------------------------------------- 1 | const std = @import("std"); 2 | const core = @import("../src/core/index.zig"); 3 | 4 | pub fn main() !void { 5 | var args_it = std.os.args(); 6 | var args_list = std.ArrayList([]const u8).init(std.debug.global_allocator); 7 | defer args_list.deinit(); 8 | 9 | while (args_it.next(allocator)) | arg | { 10 | try args_list.append(try unwrapArg(arg)); 11 | } 12 | 13 | var app = core.App.init(); 14 | 15 | switch(args_list.len) { 16 | 1 => { app.run(GAME); }, 17 | 2 => { app.runHot("./zig-cache/libgame.so", "GAME"); }, 18 | else => { showUsage(); } 19 | } 20 | } 21 | 22 | fn showUsage() void { 23 | std.debug.warn("Usage: lang [path]\n"); 24 | } --------------------------------------------------------------------------------