include hashmap.c

This commit is contained in:
2025-09-18 18:14:28 +02:00
parent bf8ed0fcd5
commit 0b9c54adad
6 changed files with 10 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
[submodule "linmath.h"] [submodule "linmath.h"]
path = linmath.h path = linmath.h
url = https://github.com/datenwolf/linmath.h url = https://github.com/datenwolf/linmath.h
[submodule "hashmap.c"]
path = hashmap.c
url = https://github.com/tidwall/hashmap.c
+2 -2
View File
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign subdir-objects -Wall AUTOMAKE_OPTIONS = foreign subdir-objects -Wall
bin_PROGRAMS = forge bin_PROGRAMS = forge
forge_SOURCES = src/main.c src/args.c src/forge.c src/file.c src/window.c src/shaders.c src/timer.c src/strings.c $(top_srcdir)/include/glad/gl.h forge_SOURCES = src/main.c src/args.c src/forge.c src/file.c src/window.c src/shaders.c src/timer.c src/strings.c $(top_srcdir)/include/glad/gl.h $(top_srcdir)/hashmap.c/hashmap.c
forge_CFLAGS = -Ofast -march=native -flto -funroll-loops -fprefetch-loop-arrays -fno-exceptions -fopenmp -I$(top_srcdir)/include -DGLFW_INCLUDE_NONE forge_CFLAGS = -Ofast -march=native -flto -funroll-loops -fprefetch-loop-arrays -fno-exceptions -fopenmp -I$(top_srcdir)/include -DGLFW_INCLUDE_NONE
forge_LDADD = -lm -lGL -lglfw forge_LDADD = -lm -lGL -lglfw
include_HEADERS = src/main.h src/args.h src/config.h src/types.h src/forge.h src/file.h src/constants.h src/window.h src/shaders.h src/logs.h src/timer.h src/strings.h $(top_srcdir)/include/glad/gl.h $(top_srcdir)/include/linmath.h include_HEADERS = src/main.h src/args.h src/config.h src/types.h src/forge.h src/file.h src/constants.h src/window.h src/shaders.h src/logs.h src/timer.h src/strings.h $(top_srcdir)/include/glad/gl.h $(top_srcdir)/include/linmath.h $(top_srcdir)/include/hashmap.h
+1
View File
@@ -12,6 +12,7 @@ build:
gcc \ gcc \
src/*.h src/*.c \ src/*.h src/*.c \
-Iinclude \ -Iinclude \
hashmap.c/hashmap.c \
-lm -lGL -lglfw \ -lm -lGL -lglfw \
-Wall -Wextra \ -Wall -Wextra \
-DGLFW_INCLUDE_NONE \ -DGLFW_INCLUDE_NONE \
+2
View File
@@ -105,12 +105,14 @@ make -f Makefile.dev release-arch
- [x] Include common code - [x] Include common code
- [ ] 16 input + 16 fx definition and selection (with const param) - [ ] 16 input + 16 fx definition and selection (with const param)
- [x] Feedback texture - [x] Feedback texture
- [ ] Shaders config file
- [ ] Clean code - [ ] Clean code
- [ ] Midi - [ ] Midi
- [ ] Read Midi events - [ ] Read Midi events
- [ ] Read midi mapping config file - [ ] Read midi mapping config file
- [ ] Write Midi events - [ ] Write Midi events
- [ ] Save midi state - [ ] Save midi state
- [ ] State machine with A/B switch
- [ ] Tap-tempo feature - [ ] Tap-tempo feature
- [ ] Clean code - [ ] Clean code
- [ ] Video input - [ ] Video input
Submodule
+1
Submodule hashmap.c added at 5e475b4662
+1
View File
@@ -0,0 +1 @@
../hashmap.c/hashmap.h