This repository has been archived on 2025-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
helpless/oogabooga
Charlie b37652e1ce v0.00.004 - Custom logging, more concurrency & bugfixing
Concurrency:
	- Refactored spinlock out of OS api (deprecated old procs)
	- Concurrency utilites:
		void spinlock_init(Spinlock *l);
		void spinlock_acquire_or_wait(Spinlock* l);
		bool spinlock_acquire_or_wait_timeout(Spinlock* l, f64 timeout_seconds);
		void spinlock_release(Spinlock* l);
		void mutex_init(Mutex *m);
		void mutex_destroy(Mutex *m);
		void mutex_acquire_or_wait(Mutex *m);
		void mutex_release(Mutex *m);
		void binary_semaphore_init(Binary_Semaphore *sem, bool initial_state);
		void binary_semaphore_destroy(Binary_Semaphore *sem);
		void binary_semaphore_wait(Binary_Semaphore *sem);
		void binary_semaphore_signal(Binary_Semaphore *sem);
		Macro MEMORY_BARRIER
	- Concurrency tests

Docs:
	- custom_logger.c example to show how one can make a custom logger and have logs displayed in-game

Utility:
	- draw_text_and_measure() which is just an overload of draw_text but it also does a measure and returns it

Misc:
	- Added u64 thread_id to global context. This is set in main() for main thread and in thread startup when you dispatch a Thread
	- Fixed a bug where plain rects would be drawn with the incorrect color
	- Fixed a bug where quads from earlier frames would be drawn
2024-07-09 18:38:06 +02:00
..
dev v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
examples v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
third_party Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
audio.c Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
base.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
bucket_array.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
color.c color.c utils 2024-07-02 12:48:05 +07:00
concurrency.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
cpu.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
d3d11_image_shader_bytecode.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
drawing.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
font.c Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
gfx_impl_d3d11.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
gfx_impl_legacy_opengl.c - D3D11, Image drawing & Matrix4 xform drawing 2024-07-01 02:14:08 +02:00
gfx_interface.c Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
hash.c Naive hash table & tests 2024-07-06 15:50:16 +02:00
hash_table.c - Text rendering 2024-07-07 20:27:34 +02:00
input.c - User input 2024-06-29 17:54:30 +02:00
linmath.c Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
memory.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
oogabooga.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
os_impl_windows.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
os_interface.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
path_utils.c Merge 2024-07-04 12:13:40 +02:00
profiling.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
random.c Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
range.c added range.c 2024-07-09 18:40:48 +07:00
simd.c - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
string.c Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
string_format.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
tests.c v0.00.004 - Custom logging, more concurrency & bugfixing 2024-07-09 18:38:06 +02:00
third_party.c Add minimal libraries for decoding audio 2024-07-08 15:33:01 +02:00
unicode.c - Text rendering 2024-07-07 20:27:34 +02:00