├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── README.md ├── convention.txt ├── gen.py ├── makefile ├── rjd.h ├── rjd_all.h ├── rjd_array.h ├── rjd_atomic.h ├── rjd_binrw.h ├── rjd_cmd.h ├── rjd_debug.h ├── rjd_dict.h ├── rjd_easing.h ├── rjd_enum.h ├── rjd_fio.h ├── rjd_geo.h ├── rjd_gfx.h ├── rjd_gfx_d3d11.h ├── rjd_gfx_metal.h ├── rjd_hash.h ├── rjd_input.h ├── rjd_math.h ├── rjd_mem.h ├── rjd_path.h ├── rjd_platform.h ├── rjd_procgeo.h ├── rjd_resource.h ├── rjd_resource_loader.h ├── rjd_resource_types.h ├── rjd_result.h ├── rjd_rng.h ├── rjd_slotmap.h ├── rjd_strbuf.h ├── rjd_stream.h ├── rjd_strhash.h ├── rjd_strpool.h ├── rjd_thread.h ├── rjd_timer.h ├── rjd_utf8.h ├── rjd_window.h ├── test_data ├── fio │ ├── readonly.txt │ └── writeable.txt └── resource │ ├── lib │ └── gfx │ │ ├── test.bmp │ │ ├── test.material │ │ └── test.shader │ └── loader_filesystem │ ├── bootstrap.lvl │ ├── gfx │ ├── invalid.bmp │ └── quad.shader │ ├── init.cfg │ └── levels │ ├── dungeon.lvl │ └── mainmenu.lvl ├── tests.c ├── tests_rjd.c ├── tests_rjd.m ├── tests_rjd_wrapped.h └── todo.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | *.* text eol=lf -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/README.md -------------------------------------------------------------------------------- /convention.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/convention.txt -------------------------------------------------------------------------------- /gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/gen.py -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/makefile -------------------------------------------------------------------------------- /rjd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd.h -------------------------------------------------------------------------------- /rjd_all.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_all.h -------------------------------------------------------------------------------- /rjd_array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_array.h -------------------------------------------------------------------------------- /rjd_atomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_atomic.h -------------------------------------------------------------------------------- /rjd_binrw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_binrw.h -------------------------------------------------------------------------------- /rjd_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_cmd.h -------------------------------------------------------------------------------- /rjd_debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_debug.h -------------------------------------------------------------------------------- /rjd_dict.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_dict.h -------------------------------------------------------------------------------- /rjd_easing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_easing.h -------------------------------------------------------------------------------- /rjd_enum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_enum.h -------------------------------------------------------------------------------- /rjd_fio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_fio.h -------------------------------------------------------------------------------- /rjd_geo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_geo.h -------------------------------------------------------------------------------- /rjd_gfx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_gfx.h -------------------------------------------------------------------------------- /rjd_gfx_d3d11.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_gfx_d3d11.h -------------------------------------------------------------------------------- /rjd_gfx_metal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_gfx_metal.h -------------------------------------------------------------------------------- /rjd_hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_hash.h -------------------------------------------------------------------------------- /rjd_input.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_input.h -------------------------------------------------------------------------------- /rjd_math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_math.h -------------------------------------------------------------------------------- /rjd_mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_mem.h -------------------------------------------------------------------------------- /rjd_path.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_path.h -------------------------------------------------------------------------------- /rjd_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_platform.h -------------------------------------------------------------------------------- /rjd_procgeo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_procgeo.h -------------------------------------------------------------------------------- /rjd_resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_resource.h -------------------------------------------------------------------------------- /rjd_resource_loader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_resource_loader.h -------------------------------------------------------------------------------- /rjd_resource_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_resource_types.h -------------------------------------------------------------------------------- /rjd_result.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_result.h -------------------------------------------------------------------------------- /rjd_rng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_rng.h -------------------------------------------------------------------------------- /rjd_slotmap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_slotmap.h -------------------------------------------------------------------------------- /rjd_strbuf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_strbuf.h -------------------------------------------------------------------------------- /rjd_stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_stream.h -------------------------------------------------------------------------------- /rjd_strhash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_strhash.h -------------------------------------------------------------------------------- /rjd_strpool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_strpool.h -------------------------------------------------------------------------------- /rjd_thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_thread.h -------------------------------------------------------------------------------- /rjd_timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_timer.h -------------------------------------------------------------------------------- /rjd_utf8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_utf8.h -------------------------------------------------------------------------------- /rjd_window.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/rjd_window.h -------------------------------------------------------------------------------- /test_data/fio/readonly.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_data/fio/writeable.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_data/resource/lib/gfx/test.bmp: -------------------------------------------------------------------------------- 1 | 64 2 | 64 3 | 4 | -------------------------------------------------------------------------------- /test_data/resource/lib/gfx/test.material: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/test_data/resource/lib/gfx/test.material -------------------------------------------------------------------------------- /test_data/resource/lib/gfx/test.shader: -------------------------------------------------------------------------------- 1 | shader_code_here 2 | -------------------------------------------------------------------------------- /test_data/resource/loader_filesystem/bootstrap.lvl: -------------------------------------------------------------------------------- 1 | bootstrap level 2 | -------------------------------------------------------------------------------- /test_data/resource/loader_filesystem/gfx/invalid.bmp: -------------------------------------------------------------------------------- 1 | placeholder bitmap 2 | -------------------------------------------------------------------------------- /test_data/resource/loader_filesystem/gfx/quad.shader: -------------------------------------------------------------------------------- 1 | shader code here 2 | -------------------------------------------------------------------------------- /test_data/resource/loader_filesystem/init.cfg: -------------------------------------------------------------------------------- 1 | some init data is in here 2 | -------------------------------------------------------------------------------- /test_data/resource/loader_filesystem/levels/dungeon.lvl: -------------------------------------------------------------------------------- 1 | first dungeon level 2 | -------------------------------------------------------------------------------- /test_data/resource/loader_filesystem/levels/mainmenu.lvl: -------------------------------------------------------------------------------- 1 | the main menu and ui 2 | -------------------------------------------------------------------------------- /tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/tests.c -------------------------------------------------------------------------------- /tests_rjd.c: -------------------------------------------------------------------------------- 1 | #define RJD_IMPL true 2 | #include "tests_rjd_wrapped.h" 3 | 4 | -------------------------------------------------------------------------------- /tests_rjd.m: -------------------------------------------------------------------------------- 1 | #define RJD_IMPL true 2 | #include "tests_rjd_wrapped.h" 3 | 4 | -------------------------------------------------------------------------------- /tests_rjd_wrapped.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/tests_rjd_wrapped.h -------------------------------------------------------------------------------- /todo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdunnington/rjd/HEAD/todo.txt --------------------------------------------------------------------------------