diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-12-13 08:15:47 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-12-13 08:15:47 -0800 |
commit | 6a1c41149ad50d975b6ed5d7a5ef248c1ccba4cf (patch) | |
tree | c5122db4dbf96ec9bc72e436e4b759bcb8eb7ce8 /src/game.c | |
parent | 659b8b07abba9bc439fed682b274284759977fc6 (diff) |
plasma-node,game: wire up and implement maga plasma
This is a bit janky on the integration side, may cleanup later.
When game_t.is_maga is true, plasma-node now goes nationalist
with red white and blue stripes.
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1148,7 +1148,7 @@ static void * game_init(play_t *play, int argc, char *argv[], unsigned flags) game->sars = sars; game->stage = sars->stage; - game->plasma_node = plasma_node_new(&(stage_conf_t){ .parent = sars->stage, .name = "plasma", .alpha = 1 }, &sars->projection_x, &game->infections_rate_smoothed); + game->plasma_node = plasma_node_new(&(stage_conf_t){ .parent = sars->stage, .name = "plasma", .alpha = 1 }, &sars->projection_x, &game->infections_rate_smoothed, &game->is_maga); game->ix2 = ix2_new(NULL, 4, 4, 2 /* support two simultaneous searches: tv_search->baby_search */); |