Enno Rehling
2a1ead6506
BENENNE REGION ist jeder Einheit des Regionsbesitzers erlaubt
2017-01-26 18:06:49 +01:00
Enno Rehling
c0692986b2
make runtests.bat not crash.
...
disable auto-load of config.lua (sob).
free messages and config in config.reset().
2017-01-26 18:06:48 +01:00
Enno Rehling
48ae12b629
emit a password message for newbie factions
2017-01-26 18:06:16 +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
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
7f9313f1a7
static analysis warnings.
...
PVS-Studio warnings reduced or suppressed.
2016-11-23 18:56:40 +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
303eb86399
factionid and curseid are also boring.
2016-11-17 21:29:15 +01:00
Enno Rehling
a88bfa7a9a
decluttering config.c (rules go into laws.c)
2016-11-16 22:46:01 +01:00
Enno Rehling
17365edff7
move renumber command to a separate module.
2016-11-15 23:34:20 +01:00
Enno Rehling
772bc427aa
Merge branch 'develop' of github.com:ennorehling/eressea into develop
2016-11-15 20:44:02 +01:00
Enno Rehling
c1f468ceb0
begin to declutter config.c
2016-11-15 20:43:36 +01:00
Enno Rehling
ce4a3c14b3
convert from atoi to atoip.
...
most numbers in commands cannot be negative.
2016-11-14 22:27:44 +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
ff09defa69
prevent badly naming units/factions/regions.
2016-11-11 01:59:43 +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
1ea8c80845
test that is_guard changes when armedmen does.
2016-10-29 19:19:11 +02:00
Enno Rehling
8f802c11e1
off-by-one error for early break from loop.
2016-10-25 00:12:18 +02:00
Enno Rehling
f12eda8bdf
remove cfindhash, again.
...
curse and unit ids can collide, there is no reason why they should be from the same pool.
2016-10-23 10:03:33 +02:00
Enno Rehling
63f60a2465
cache some more get_race calls, especially for RC_SPELL.
2016-10-03 20:36:46 +02:00
Enno Rehling
e45dc3d68a
initizlize rc_elf
2016-09-22 09:37:54 +02:00
Enno Rehling
ff83d5108a
remove old_race call form heal_factor
2016-09-22 09:08:02 +02:00
Enno Rehling
a3ad9a0222
I am now calling get_race far too often. Fix this a bit.
2016-09-20 20:27:41 +02:00
Enno Rehling
aceb880826
add some TODO and reduce old_race usage.
2016-09-19 18:45:16 +02:00
Enno Rehling
86ef225ccb
add some more local caching.
2016-09-11 12:48:00 +02:00
Enno Rehling
a5ce809f41
fix memory leak in umlaut.c with reference counting (sad).
2016-09-06 19:57:07 +01:00
Enno Rehling
d9e541843b
further reduce number of bt_find calls.
2016-08-30 09:36:09 +01:00
Enno Rehling
1a1ec3f363
cleanup: remove static curse_type variables.
2016-08-29 20:12:31 +01:00
Enno Rehling
43090e1492
remove any reference to old two-stage maintenance.
...
getting rid of a lot of dead code.
2016-08-21 20:02:20 +02:00
Enno Rehling
4f5bd43dcf
Merge branch 'master' into develop
...
Conflicts:
src/buildno.h
2016-08-07 00:47:50 +02:00
Enno Rehling
44b6a87649
death by NMR was broken, because I can't write loops good.
2016-08-07 00:40:10 +02:00
Enno Rehling
c79ecc1a78
fix bug 2211, ignore a match for items we don't have.
2016-06-06 23:24:33 +02:00
Enno Rehling
7fe07439f5
fix write_faction_reference, check for f->alive in other places
...
TODO:
1. I added some new TODOs
2. What happens to morale when region owners die?
3. Needs tests
2016-02-22 20:47:06 +01:00
Enno Rehling
40530f2066
rename to password_encode, streamline tests
2016-02-12 08:33:08 +01:00
Enno Rehling
0189111876
update key attribute api
...
prepare to replace at_key. do not return the internals. add basic test.
2016-02-09 06:43:19 +01:00
Enno Rehling
8a3bb35987
eliminate global log_flags, revert the mode arguments for fopen.
...
turns out that text is default, and windows hates it if I open a binary file without 'b'
standardize on using join_path to create filenames
(use backslash on windows, even though fopen doesn't seem to care).
2016-02-05 23:10:05 +01:00
Enno Rehling
ba39fc9284
I'm really bad at reading. Fixed!
2016-01-31 22:17:55 +01:00
Enno Rehling
ca81dadedb
missed a spot!
2016-01-31 22:12:08 +01:00
Enno Rehling
7ebfdb0747
manually smooth out a merge of two commits trying to do the same thing.
...
prevent negative parents
https://bugs.eressea.de/view.php?id=2183
2016-01-31 22:10:37 +01:00
Enno Rehling
1ec20aed16
fix crash when aging stone circles without an astral plane
2016-01-31 13:47:18 +01:00
Enno Rehling
c08235693d
Merge branch 'master' into develop
...
Conflicts:
src/buildno.h
src/kernel/item.c
src/kernel/region.c
src/laws.c
2016-01-30 23:09:02 +01:00
Enno Rehling
c557778731
fix https://bugs.eressea.de/view.php?id=2183
2016-01-30 23:04:41 +01:00
Enno Rehling
91f894b290
teleport.c is the astral space implementation, and it is not one of the core concepts, so move it out of the kernel/ directory
2016-01-28 12:25:16 +01:00
Enno Rehling
8d05f4cc25
implement MD5 crypted passwords as default
2016-01-14 15:49:09 +01:00
Enno Rehling
c3da0cd42d
as long as we use no encryption, all tests pass.
2016-01-13 16:16:02 +01:00
Enno Rehling
54d25e91dd
add a new password module
...
start adding password hashing logic (WIP)
does not yet pass all tests
2016-01-12 23:52:30 +01:00
Enno Rehling
b6d44410b7
make the password pseudo-private to faction.c
2016-01-12 06:46:51 +01:00
Enno Rehling
b4389c91fe
fix compilation (what was I thinking?), remove uses of f.alive where they should not be needed.
2016-01-11 11:54:45 +01:00