diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-04-22 12:19:49 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-04-22 12:19:49 -0700 |
commit | 7f872664738b45c982f3e95749f2136a0de4c19a (patch) | |
tree | 6e29ea43fba6350e5e413b56d065811455bf720a /src/setup.c | |
parent | 10fca58ba81c3c9bc14212d4ae4c7bc83deafcec (diff) |
til: add til_module_randomize_setup() from rtv
This commit pulls the setup randomizer out of rtv into libtil
proper, so other modules may make use of it.
Other than adding an assert no functional changes occurred.
It may make sense to split this into two functions; one which
takes a til_module_t as-is, and a lower-level bare setup function
callback based function that doesn't know about til_module_t the
former would call into. That way generic setup randomization can
occur (the same setup machinery is used in video contexts for
example) without necessarily having a til_module_t on hand.
Diffstat (limited to 'src/setup.c')
0 files changed, 0 insertions, 0 deletions