allow for custom SDL window parameters #5

Closed
opened 2026-10-05 22:50:44 +02:00 by odweta · 1 comment
Owner

remove the hard-coded values and allow settings them from client-space via engine_init()

remove the hard-coded values and allow settings them from client-space via engine_init()
odweta self-assigned this 2026-10-05 22:50:44 +02:00
odweta added this to the (deleted) project 2026-10-05 22:50:44 +02:00
odweta moved this to To Do in dangerzone on 2026-10-05 22:50:52 +02:00
Author
Owner

Fixed in commit a32a3db9bc.
Added the parameters to the function signatures and passing them through to the endpoint (engine_sdl_init_state), where they are used.
Made game_state->framebuffer a dynamically allocated heap pointer because of the window_width and window_height parameters' ability to now have arbitrary values.

Fixed in commit a32a3db9bc107ad5124f6a55ebee954aaf9078ae. Added the parameters to the function signatures and passing them through to the endpoint (engine_sdl_init_state), where they are used. Made game_state->framebuffer a dynamically allocated heap pointer because of the window_width and window_height parameters' ability to now have arbitrary values.
odweta added the enhancement label 2026-10-06 14:31:40 +02:00
odweta added this to the Initial release - v1.0 milestone 2026-10-06 14:31:44 +02:00
odweta added this to the (deleted) project 2026-10-06 14:58:26 +02:00
odweta moved this to Done in Initial release on 2026-10-06 14:58:56 +02:00
odweta removed this from the (deleted) project 2026-10-10 15:55:00 +02:00
odweta added this to the Engine Internals project 2026-10-10 15:55:00 +02:00
odweta moved this to Done in Engine Internals on 2026-10-10 15:56:01 +02:00
Sign in to join this conversation.