Audio sources & decoding are pretty much done and working well.
Playback is not really implemented yet, I'm just hacking in a way to output an audio source.
- Seriously microsoft wtf
- Added asserts to make sure we detect similar bugs faster
- Made simd shippable & configurable
- Some documentation in oogabooga.c on configuration
- Very optimized release build script
- Cleaned some stuff up
- Jai-like print procedures
- %s formats 'string' and to format a char* you do %cs
- It detects if %cs pointer is outside of program memory or stack and asserts
- AND same for if a char* is passed to %s
- Print directly writes to stdout without any allocations
- Basic utlity procedures
- Buncha string tests
- Beef up assert to display file & line as well
- Don't define memcpy procedures if compiler has intrinsics for them
- Init memory arena for allocations in initialization time before heap is ready (stack memory)
- os_compare_and_swap
- Spinlock "primitive" (wrapper around a bool using compare_and_swap)
- Switched to using spinlock instead of os mutex in heap for synchronization.
- is_pointer_valid() which checks if address is in program_memory or thread stack
- Some compile options that make sense for build.bat, and a build_release.bat
- oogabooga:
- Big buffer program_memory that always has same base address (goodbye serialisation problems)
- Big buffer grows as needed, crash when out of memory
- Very sexy platform abstraction & basic os call procedures
- Heap allocator around the program memory.
- Jaiyfication (context, context.allocator, push_allocator, temp allocator)
- Some tests to make sure we ooga the right boogas