From 6a1c41149ad50d975b6ed5d7a5ef248c1ccba4cf Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 13 Dec 2022 08:15:47 -0800 Subject: 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. --- src/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 9c3f11d..ae2cc1f 100644 --- a/src/game.c +++ b/src/game.c @@ -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 */); -- cgit v1.2.3