Enno Rehling
6403c75c85
monsters should not be anonymous.
2018-07-02 19:58:26 +02:00
Enno Rehling
5018308170
remove at_chaoscount, update storage module.
2018-06-28 22:48:57 +02:00
Enno Rehling
60a86e7b2f
escaping a string for use in CR needs to only replace quotes and backslashes.
2018-05-21 13:27:02 +02:00
Enno Rehling
0a9f8bf662
merge from develop
2018-05-15 21:59:01 +02:00
Enno Rehling
7e6688552b
create a callback mechanism for equipment.
2018-05-11 21:30:26 +02:00
Enno Rehling
08663b6eb5
fix last commit. refactoring with the MSVC IDE is prone to errors.
2018-04-28 15:57:51 +02:00
Enno Rehling
0171c74e19
refactor monster movement planning, test at_hate.
2018-04-22 18:04:09 +01:00
Enno Rehling
915706d6f8
BUG: at_hate stores a unit, never an int.
...
https://bugs.eressea.de/view.php?id=2432
2018-04-21 23:18:35 +01:00
Enno Rehling
432a8d432d
messy merge of cppcheck fixes into develop
2018-02-25 20:41:53 +01:00
Enno Rehling
8c554edfee
findunitg was deprecated.
2018-02-25 18:35:40 +01:00
Enno Rehling
42c86d122e
stop using MINMAX macros.
2018-02-24 19:41:36 +01:00
Enno Rehling
7d789d9896
Merge branch 'develop' of https://github.com/ennorehling/eressea.git
2018-02-14 20:03:11 +01:00
Enno Rehling
d15684a546
fix test_process_turn failure.
...
move turn global to calendar.
promote calendar module to kernel.
2018-02-14 20:01:36 +01:00
Enno Rehling
f4be3a1374
remove duplication setstatus -> unit_setstatus
2018-02-14 11:24:38 +01:00
Enno Rehling
e4859e68c9
do not use MIN and MAX.
2018-01-01 08:23:52 +01:00
Enno Rehling
a8140f1dc9
rename strlcpy->str_strlcpy, etc.
2017-12-30 19:49:21 +01:00
Enno Rehling
ea0acc49d9
iwyu
2017-12-30 07:22:09 +01:00
Enno Rehling
f98eab56c4
platform.h is only for WIN32 now.
...
replace MIN and MAX macros, they are BAD.
2017-12-29 06:13:28 +01:00
Enno Rehling
6927eed52e
bug 2387: create a ghost to hold on to magical notlost items.
2017-12-25 19:11:12 +01:00
Enno Rehling
b297b4d43c
eliminate some more strlcat calls.
2017-12-11 18:35:30 +01:00
Enno Rehling
ff2f83c371
order leak in recruit_dracoids, do not build a study order
2017-11-20 17:03:12 +01:00
Enno Rehling
54b016a735
Merge remote-tracking branch 'upstream/develop' into develop
2017-11-15 20:37:46 +01:00
Steffen Mecke
0aa5a64c63
allow empty faction email
2017-11-15 12:12:42 +01:00
Enno Rehling
98be298d72
reduce monster spawning with configuration settings.
2017-11-07 19:35:21 +01:00
Enno Rehling
e2c7b2c711
merge with master, which was far behind
2017-10-15 20:32:19 +02:00
Enno Rehling
1b53128e1a
BUG 2366: Fix cansee for seen_spell regions.
2017-10-10 20:24:20 +02:00
Enno Rehling
5e204083b8
remove noreply email, monster report.
2017-09-18 21:43:52 +02:00
Enno Rehling
455e03fa05
try and make coverity understand the equipment trie.
...
shorten names.
2017-09-17 20:42:43 +02:00
Enno Rehling
c5181195d7
new feature: sea serpents will not go after small targets.
2017-09-09 12:58:10 +02:00
Enno Rehling
7985ebe511
replace ct_find calls with constants.
...
reorder a lot of includes.
2017-08-21 20:18:19 +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
ad465f1028
Ponnuki should not be aggressive.
2017-05-07 17:29:55 +02:00
Enno Rehling
1885831204
remove handle_events for unused events.
2017-04-30 03:48:50 +02:00
Enno Rehling
b06e93db7a
BUG 2317: wyrms in E2 didn't move
2017-04-17 16:50:15 +02:00
Enno Rehling
b44c5e54bf
Neuer Befehlespräfix: ! zur Unterdrückung von Fehlern.
2017-03-25 11:18:48 +01: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
5b52451d9d
remove unused ai.aggression atribute
2017-02-18 19:21:54 +01:00
Enno Rehling
f2ed2c892a
bugfix: Drachen "scare" attribut
...
muss mit MOD, nicht AND angewendet werden. rng_int() & 400 ist eine bekloppte Rechnung.
2017-02-05 18:42:06 +01:00
Enno Rehling
d94cde67a4
kill autoconf.h, replace platform.h for C99 compatibility work
2017-01-26 18:03:48 +01:00
Enno Rehling
8c045d7a78
fix flt/int compilation bug.
2017-01-26 17:57:21 +01:00
Enno Rehling
f297d89958
merge monster.c and monsters.c
...
move RCF_DESERT handling to monsters.c
2017-01-26 17:57:21 +01:00
Enno Rehling
a4badc0a75
remove quicklist shim, use selist everywhere
2017-01-26 17:41:21 +01:00
Enno Rehling
ec4060cb9a
fix curse-vigour calculation math.
...
also fix a ton of small other niggles from pvs-studio.
2016-11-20 19:08:39 +01:00
Enno Rehling
467ffe2db0
include guard.h directly, not through laws.h
2016-11-01 22:11:10 +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
fbdf845cb9
fix overpopulation-checks and movement based on splitsize.
2016-10-03 20:15:38 +02:00
Enno Rehling
26a416c5ba
do not call can_survive all this much.
2016-10-03 16:38:17 +02:00
Enno Rehling
ef43aaa830
eliminate some duplicate calculations.
2016-10-03 16:28:18 +02:00
Enno Rehling
42e75007c3
little bit of refactoring and better variable names.
2016-10-03 16:26:40 +02:00
Enno Rehling
423e293745
some more config lookup caching
2016-09-23 20:39:08 +02:00