Commit graph

11 commits

Author SHA1 Message Date
Enno Rehling
4e5f1d05ce Be very strict about C standards.
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
Enno Rehling
6d9d920f81 fix issue #477 (intermittent volcano) 2017-01-23 11:45:05 +01:00
Enno Rehling
646e6f7197 refactor and annotate volcano outbreaks.
add configuration options to control volcano behavior.
2017-01-23 11:21:48 +01:00
Enno Rehling
ecbd0ba83c github issue #606
disable volcano terrain change for snowglobe test
2016-11-18 13:30:30 +01:00
Enno Rehling
b958fa1c2e get_race is better than old_race 2016-09-19 08:56:33 +02:00
Enno Rehling
b56c48d95c verify arguments for volcanooutbreak message. 2016-08-27 08:29:01 +01:00
Enno Rehling
6d5e295678 activate, fix and improve volcano test.
reduce number of terrain lookups.
2016-08-26 17:26:26 +01:00
Enno Rehling
c3119e4c4a oh, I get it. reduceproduction signals that this volcano recently exploded.
added a test for outbreak and message
2016-08-23 07:53:29 +02:00
Enno Rehling
bdc9af9b69 fix intermittent test for dead code path, all new volcanos have reduceproduction attributes 2016-08-23 07:44:17 +02:00
Enno Rehling
4bdc9a5153 extract main volcano loop to volcano module, start adding tests 2016-08-22 21:27:24 +02:00
Enno Rehling
5e5882d674 extracting volcano code into a separate module (step one) 2016-08-21 21:21:56 +02:00