Enno Rehling
398a258658
cppcheck: variable scopes, etc.
2018-02-11 15:57:31 +01:00
Enno Rehling
1035a98fd3
make attrib use a variant, not a custom union.
...
change attrib_type methods to take a variant, not the entire attrib.
2018-02-09 21:20:43 +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
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
f4e56d1512
bug 2238: respect the dragon speed multiplier.
2017-12-26 06:26:56 +01:00
Enno Rehling
a7c45d31ad
bug 2214: drifting ships in E3 should take no damage.
2017-12-25 23:22:58 +01:00
Enno Rehling
cba452786f
BUG 2396: insect recruit messages fixed, and tests added.
2017-12-22 11:15:17 +01:00
Enno Rehling
683e3c566d
addendum bug 2389: insects mail not sail a ship into a glacier, but can be passengers.
2017-12-17 14:50:11 +01:00
Enno Rehling
404691c5db
delete unused define and code for insects.
2017-12-17 14:33:18 +01:00
Enno Rehling
ed75f4d21a
fix bug 2389 (sailing into glaciers).
...
reduce verbosity.
2017-12-17 14:28:15 +01:00
Enno Rehling
93613b99af
slprintf is not in BSD (it's theft from samba).
2017-12-11 19:23:56 +01:00
Enno Rehling
691dde5960
unit test ROUTE.
2017-12-11 16:24:06 +01:00
Enno Rehling
d740380152
unused variable, merge bug
2017-12-09 09:40:17 +01:00
Enno Rehling
5ad66d6b7a
cppcheck style fixes
2017-12-08 21:08:45 +01:00
Enno Rehling
17ee0e50b6
cppcheck warnings and scope reductions.
2017-12-08 21:08:11 +01:00
Enno Rehling
26c31708dc
delete dead code.
2017-12-08 20:46:24 +01:00
Enno Rehling
9163d166ec
cppcheck style fixes.
...
delete dead functions.
reactivate patzer_deathcloud.
2017-12-08 19:59:49 +01:00
Enno Rehling
34808a25c5
Merge branch 'develop'
2017-11-09 18:04:41 +01:00
Enno Rehling
35742e8870
BUG 2376: Abtreiben zeigt immer Nordwesten an.
2017-10-30 18:01:33 +01:00
Enno Rehling
79aecf21b5
Merge branch 'develop'
2017-10-18 19:40:00 +02:00
Enno Rehling
e2c7b2c711
merge with master, which was far behind
2017-10-15 20:32:19 +02:00
Enno Rehling
333ef06fef
hackish optimization for STUDY orders
2017-10-13 19:33:29 +02:00
Enno Rehling
a82034b8a7
BUG 2372 canride breakage
2017-10-13 18:30:22 +02:00
Enno Rehling
1b53128e1a
BUG 2366: Fix cansee for seen_spell regions.
2017-10-10 20:24:20 +02:00
Enno Rehling
86e265c7c4
miniature is_mage get_mage optimization
2017-10-06 22:38:01 +02:00
Enno Rehling
6265abac74
remove side-effects from movement_speed().
2017-10-06 22:30:44 +02:00
Enno Rehling
f594a908df
deprecate old get_mage implementation.
...
fix test_familiar_equip with new get_mage.
2017-10-06 21:53:07 +02:00
Enno Rehling
fc4bde47f6
kill the old curses enum and oldcursename.
2017-08-21 20:48:00 +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
c99e92db20
kill curse cache logic, it was a bad idea.
...
ct_find is almost never what we want to do.
2017-08-21 19:43:35 +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
bb37e423e1
use UFL_FOLLOWED for optimization.
2017-02-03 20:35:15 +01:00
Enno Rehling
b27e1a01aa
continued work for MSVC compilation
2017-01-10 18:07:36 +01:00
Enno Rehling
8b7dae6977
kill autoconf.h, replace platform.h for C99 compatibility work
2017-01-10 16:31:05 +01:00
Enno Rehling
aa08a20724
Merge branch 'develop' of github.com:ennorehling/eressea into develop
2016-12-23 18:05:55 +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
72ac801734
fix bug 2266
2016-12-16 17:17:04 +01:00
Enno Rehling
95954fb386
start writing a test (WIP).
2016-12-16 07:29:43 +01:00
Enno Rehling
531da88b2a
squash some static analysis warnings.
2016-11-19 15:19:23 +01:00
Enno Rehling
11b122048b
reduce dependency on save.h
...
moving a_write* functions to attrib.h, which was most of the reason everyone and their mom include save.h
2016-11-13 19:40:38 +01:00
Enno Rehling
467ffe2db0
include guard.h directly, not through laws.h
2016-11-01 22:11:10 +01:00
Enno Rehling
03d90c5680
remove BOM from UTF-8 files, replace Umlauts
2016-11-01 17:25:52 +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
5bb2dbfd87
move is_guarded from move.h to guard.h
...
Conflicts:
src/move.c
2016-10-29 19:15:49 +02:00
Enno Rehling
6075396de3
WIP: make guard tests pass.
...
BUG: monsters are always allowed to guard unarmed.
TODO: more code duplication, refactor it.
TODO: ents do not guard resources?
2016-10-29 14:16:40 +02:00
Enno Rehling
3bbd2bcce8
Merge pull request #581 from ennorehling/follow-nodrift
...
FEATURE: ships that FOLLOW or use PIRACY are not affected by storms.
2016-09-25 08:37:18 +02:00
Enno Rehling
12239178c6
rc_find optimizations in monster AI.
...
remove dead alp code.
2016-09-19 20:10:01 +02:00
Enno Rehling
6ec99af4d6
mark all three major dragon types as RCF_DRAGON.
...
use RCF_DRGON flag to detemine BP_DRAGON speed.
2016-09-19 15:53:31 +02:00
Enno Rehling
98d1fb935c
Feature: ships that FOLLOW or use PIRACY are not affected by storms.
2016-09-04 22:00:37 +01:00