]> git.gir.st - VIper.git/commit
cleanup wrapmode, fix bonus interval
authorgirst <girst@users.noreply.github.com>
Mon, 3 Sep 2018 12:57:11 +0000 (14:57 +0200)
committergirst <girst@users.noreply.github.com>
Mon, 3 Sep 2018 12:57:11 +0000 (14:57 +0200)
commit2b1e181505bf50fb5f39bf459d64088fee950189
treeadcd5dd14017459287bb877c1ebae879239bd2c6
parent425acdb2f5c9bbb7a83525fd1e422a8a8f2575ec
cleanup wrapmode, fix bonus interval

when consuming an item, set the time of next bonus then (instead of just
when spawning). at spawn time we also factor in the time a bonus might
be alive (can be shortened by eating it).

bonus actions (i.e. wraparound) is now a bitmap. thus, more than 1
action might be active at the same time.
schemes.h
viiper.c
Imprint / Impressum