Enno Rehling
19b3b5b35a
change how message types are created (more prep work for expat)
2018-05-18 19:58:49 +02:00
Enno Rehling
9e16ebc01a
all kinds of race flag breakage repaired.
...
but now, humans suddenly can't build a ship in E2?
2018-05-10 22:00:23 +02:00
Enno Rehling
0171c74e19
refactor monster movement planning, test at_hate.
2018-04-22 18:04:09 +01:00
Enno Rehling
05242aaf2d
Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2018-02-25 17:18:30 +01:00
Enno Rehling
75f41a7169
fix crashes on 64-bit systems (not all 0s are created equal).
2018-01-14 09:38:26 +01:00
Enno Rehling
b83a1ee136
fix more missing_message errors.
2018-01-13 08:51:40 +01:00
Enno Rehling
cff4e12fbd
celan up tests, rename test_cleanup -> test_teardown.
2017-12-27 19:58:39 +01:00
Enno Rehling
34cd692c2d
remove the locale from orders.
2017-10-13 19:33:28 +02:00
Enno Rehling
1319f546b8
fix seaserpent tests, simplify monster tests.
2017-09-09 15:24:50 +02:00
Enno Rehling
8178f3f1e6
BUG 2334: Nochmal Ponnuki
...
Monsters cannot attack or guard when they are fleeing
2017-06-18 14:20:01 +02:00
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
cc227fb707
merge monster.c and monsters.c
...
move RCF_DESERT handling to monsters.c
2016-12-23 18:05:38 +01:00
Enno Rehling
754ad78db7
WIP: remove GUARD_* flags.
...
TODO: does not compile
TODO: write new guard.test.c tests
2016-10-31 07:45:06 +01:00
Enno Rehling
12239178c6
rc_find optimizations in monster AI.
...
remove dead alp code.
2016-09-19 20:10:01 +02:00
Enno Rehling
1eb0fd758a
fix broken seaserpent test
2016-08-31 16:47:36 +02:00
Enno Rehling
8a157de36c
only name monsters that have a naming function. test is bad, failing.
2016-08-31 16:43:02 +02:00
Enno Rehling
61acd40424
Merge pull request #512 from stm2/dragon_growl
...
Dragon growl
2016-06-11 23:16:23 +02:00
Steffen Mecke
c5014fd766
integrated Ennos suggestions for dragon growls
...
Dragons now growl 20% more elegantly!
2016-06-11 13:47:38 +02:00
Enno Rehling
78fa6d3a47
remove the SAIL_INTO flag
2016-06-10 20:55:27 +02:00
Steffen Mecke
cafa29426f
simplified message_test
2016-05-31 10:37:01 +02:00
Steffen Mecke
ce312afc95
fix dragon growl for regions with an apostrophe
2016-05-31 01:54:06 +02:00
Enno Rehling
547532bc63
remove deprecated learn_skill function and configuration
2016-03-24 22:31:07 +01:00
Enno Rehling
87b09cd3c6
refactor tests to use test locale where possible
2016-03-24 13:01:47 +01:00
Enno Rehling
3d5c7ba8fb
refactoring: move produceexp from unit.c to study.c
2016-03-09 14:50:54 +01:00
Steffen Mecke
e3d7d23d00
re-enable sea serpent piracy
2015-12-01 22:30:51 +01:00
Enno Rehling
70354a355b
disable piracy for sea serpents, piracy_cmd cannot handle it (issue #418 )
2015-12-01 12:22:03 +01:00
Enno Rehling
6c2f4be4af
fix sea serpents using piracy (by re-ordering the decision making process)
2015-11-25 15:29:26 +01:00
Enno Rehling
90b0bdd44e
re-enable all monster tests except piracy for seaserpents, which is red.
2015-11-25 14:53:29 +01:00
Enno Rehling
1cf805649e
Merge remote-tracking branch 'upstream/develop' into develop
...
Conflicts:
src/monsters.c
src/monsters.test.c
2015-11-25 14:38:26 +01:00
Enno Rehling
c85e489f4f
Merge branch 'monster_leftovers' of https://github.com/stm2/server into stm2-monster_leftovers
...
Conflicts:
src/kernel/unit.c
src/laws.test.c
src/monsters.c
2015-11-25 14:25:42 +01:00
Enno Rehling
b6bb5dee85
fix last merge to work with new config code
2015-11-25 13:27:44 +01:00
Enno Rehling
bdc5372537
disable test for seaserpent piracy (planned for 3.8)
2015-11-24 16:12:33 +01:00
Enno Rehling
1b3c8ea466
import monsters tests from PR #404
...
Monsters (i.e. sea serpents) can attack on oceans, when not guarding
2015-11-24 14:57:50 +01:00
Steffen Mecke
2a569635df
seaserpent test
2015-11-17 12:13:23 +01:00
Steffen Mecke
a366cd4b17
tests for plan_monster
2015-11-17 12:12:06 +01:00