WIP: c-rewrite-build-process #9

Closed
sot wants to merge 0 commits from c-rewrite-build-process into c-rewrite
Collaborator

Working on implementing more robust data structures, making naming conventions consistent, incorporating SDL3 to eventually compile into WASM/Emscripten, and adding sqlite3 directly as recommended by the sqlite devs. Additionally I'm working on making the functions in intersection.c pure, that way we can optimise them better which is where I need your input

Working on implementing more robust data structures, making naming conventions consistent, incorporating SDL3 to eventually compile into WASM/Emscripten, and adding sqlite3 directly as recommended by the sqlite devs. Additionally I'm working on making the functions in `intersection.c` pure, that way we can optimise them better which is where I need your input
- Add datastructs headers: dynamic_array.h, dynamic_matrix.h,
  queue.h, stack.h and documentation inc/datastructs/datatypes.md
- Replace simple Makefile with multi-config build: debug/release/native,
  per-build object dirs, dependency generation, sanitizer/use flags,
  parallel jobs, and clangd init target
- Extend .gitignore for common build artifacts and IDE files
- Removed records.c are types or not opaque and don't have any functions
  relying on them
Rename Point to Coordinates and update Txsg/Stop field names
Replace custom Intersection array with dynamic array / queue macros
Adjust intersection function names and signatures and use SDL_fabs
Add SDL3 app scaffold (src/main.c) and link -lSDL3 in the makefile
Simplify includes in speedestimation.c
Author
Collaborator

Merged manually

Merged manually
sot closed this pull request 2026-05-08 02:20:51 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vlad/TIMRRN!9
No description provided.