No description
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.
Find a file
Charlie 18f4fc8123 - Text rendering
- Font loading
	- Measuring for formatting & justification
	- Utf8 Glyph walking
	- Commented example in oogabooga/examples/text_rendering.c
- Small 2D renderer refactor
	- Pass 8-bit integers "type" and "sampler_index" to shader
	- Sample texture differently depending on "type" (text or regular quad)
	- Sample with nearest/linear min/mag depending on sampler_index
	- Set min/mag filtering in Draw_Quad
	- Images are now created and deleted directly with gfx calls rather than deferring it for gfx_update.
	- We can now set image sub data with gfx_set_image_data()
	- Images are no longer hard coded to 4 channels
- Utf8 utility:
	- utf8_to_utf32(): convert utf8 bytes to a single u32 codepoint
	- next_utf8(): Convert first utf8 character in a string to a u32 codepoint and advance the passed string to the next unicode
- Renamed m4_multiply -> m4_mul for consistency
- Refactored os window to be DPI aware (scaled_width vs pixel_width)
- in minimal example, renamed hammer_xform -> rect_xform
2024-07-07 20:27:34 +02:00
.vscode - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
asset_workbench basic player move init, lesson #1 2024-07-02 14:36:47 +07:00
oogabooga - Text rendering 2024-07-07 20:27:34 +02:00
.gitignore - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
build.bat - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
build.c - Text rendering 2024-07-07 20:27:34 +02:00
build_dissassembly.bat - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
build_release.bat - Replace lodepng with stb_image (& add stb_truetype for fonts) 2024-07-04 20:56:27 +02:00
entry_randygame.c - Fixed bug in ALLOCATOR_REALLOC corrupting memory/returning invalid address 2024-07-03 17:55:25 +02:00
oogabooga.code-workspace included workspace for easier setup 2024-07-04 09:37:04 +07:00
player.png basic player move init, lesson #1 2024-07-02 14:36:47 +07:00
rock0.png entity megastruct init 2024-07-03 17:56:19 +07:00
tree0.png entity megastruct init 2024-07-03 17:56:19 +07:00
tree1.png entity megastruct init 2024-07-03 17:56:19 +07:00