Enno Rehling
|
197241df0d
|
fix datafile reading problems for versions 350 and 351
|
2016-02-29 16:18:14 +01:00 |
|
Enno Rehling
|
1e4b860a2e
|
some trivial assertions
|
2016-02-22 20:48:24 +01:00 |
|
Enno Rehling
|
370338736c
|
gcc is picky, fix gcc warnings
|
2016-02-22 20:47:06 +01: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
|
4050f994a4
|
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-16 07:30:26 +01:00 |
|
Enno Rehling
|
54e4b7a508
|
E2 turn 966 desaster: code was writing a bad datafile
|
2016-02-13 22:07:51 +01:00 |
|
Enno Rehling
|
b3db14465e
|
fix logic error in json_buildings
|
2016-02-01 13:59:35 +01:00 |
|
Enno Rehling
|
85010e5358
|
seems like there is a problem opening files with the optional 'b' mode, so remove it everywhere?
|
2016-02-01 12:29:41 +01:00 |
|
Enno Rehling
|
2f2bbb16ab
|
remove wild mkdir calls all over the code, catch EEXIST errors
use join_path more consistently
fix a test that's intermittent on windows because fopen(..., "wb") fails, why?
|
2016-02-01 09:26:24 +01:00 |
|
Enno Rehling
|
09ae3d8993
|
Merge branch 'feature/issue-462-log-test-errors' of https://github.com/ennorehling/eressea into ennorehling-feature/issue-462-log-test-errors
Conflicts:
src/magic.test.c
|
2016-01-31 21:58:16 +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
|
73f16d5bb6
|
adding a join_path function to try and narrow down misbehavior.
|
2016-01-29 19:11:48 +01:00 |
|
Enno Rehling
|
9bf1059d8a
|
trying to make tests not throw out so many ERROR log mesages, commenting on some of them.
|
2016-01-29 17:49:27 +01:00 |
|
Enno Rehling
|
729c4ceea1
|
increase error-logging from unit tests.
suppress some unrelated errors.
|
2016-01-28 16:00:36 +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
|
fa130d9ce5
|
make all the rset-asserts look the same
|
2016-01-24 14:57:36 +01:00 |
|
Enno Rehling
|
cc4367f1b7
|
borken merge fix
|
2016-01-24 14:55:43 +01:00 |
|
Enno Rehling
|
a66e81e90d
|
Merge branch 'master' into develop
Conflicts:
src/buildno.h
src/kernel/region.c
|
2016-01-24 14:55:05 +01:00 |
|
Enno Rehling
|
a6b15813ed
|
relax strict assertion (should be allowed to set ocean to 0 peasants)
|
2016-01-24 14:45:46 +01:00 |
|
Enno Rehling
|
023686fab2
|
add a liberal sprinkling of assertions to catch negative peasants bug 2182
|
2016-01-24 14:35:46 +01:00 |
|
Enno Rehling
|
3d7b22fa21
|
avoid crashing because of bug 2182
|
2016-01-24 14:31:24 +01:00 |
|
Enno Rehling
|
76475b9bf7
|
add a little extra randomness to the seed salt (still bad).
remove dead prototype code from faction.c
|
2016-01-15 08:01:12 +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
|
799514bf40
|
implement md5 password hashing (untested)
disable test for case-insensitive password test
fix faction/checkpasswd test
|
2016-01-13 14:41:09 +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
|
dc6cc41d2d
|
additional warnings
|
2016-01-12 02:27:22 +01:00 |
|
Enno Rehling
|
19390dd8e2
|
log a warning when passwords would fail for being case-sensitive.
add a test to enforce the status quo, for now.
|
2016-01-12 00:52:42 +01:00 |
|
Enno Rehling
|
fadc92ee52
|
do not leak memory for factions that have died.
|
2016-01-11 18:17:24 +01:00 |
|
Enno Rehling
|
20063e0e0e
|
fix errors in the order of cleanup
|
2016-01-11 18:03:53 +01:00 |
|
Enno Rehling
|
04e2fb73c7
|
fix test of allies status after destroying a faction
|
2016-01-11 15:08:36 +01:00 |
|
Enno Rehling
|
50eba2d308
|
I don't really believe that this is going to work, but let's see where it fails.
|
2016-01-11 14:59:25 +01:00 |
|
Enno Rehling
|
04624179ce
|
make destroyfaction not have to loop over all factions to clear HELP status.
|
2016-01-11 14:42:36 +01:00 |
|
Enno Rehling
|
8742317979
|
hack: do not free faction when we destroy it (issue #451)
|
2016-01-11 14:01:55 +01:00 |
|
Enno Rehling
|
ca500a499e
|
adding a much-needed getter function for faction_alive
|
2016-01-11 12:25:23 +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 |
|
Enno Rehling
|
de512be1ba
|
make destroyfaction remove the faction from the list (slightly scary change)
|
2016-01-11 09:55:47 +01:00 |
|
Enno Rehling
|
7d426dc3ed
|
call destroyfaction instead of free as a quick fix
|
2016-01-10 12:07:00 +01:00 |
|
Enno Rehling
|
810ad094af
|
suppress misc warnings in the log file by reorganizing E3 strings and tuning down log levels
|
2015-12-18 15:13:15 +01:00 |
|
Enno Rehling
|
18c0c235db
|
Merge pull request #440 from ennorehling/feature/bug-2176-reduceproduction
bug 2176, reduceproduction message im CR
|
2015-12-17 13:17:00 +01:00 |
|
Enno Rehling
|
9e4344e3c3
|
resolve a TODO, make attribute (and data) a little bit smaller.
|
2015-12-17 12:23:07 +01:00 |
|
Enno Rehling
|
5187788f3c
|
pass the parent of an attribute into a_age and attrib_type::age
|
2015-12-16 22:18:44 +01:00 |
|
Enno Rehling
|
d85123fe8b
|
Merge pull request #439 from ennorehling/develop
MS Visual Studio 2015 update 1 breaking changes
|
2015-12-16 17:06:04 +01:00 |
|
Enno Rehling
|
c66d6c7457
|
Address MS Visual Studio 2015 update 1 breaking changes
|
2015-12-16 17:01:47 +01:00 |
|
Enno Rehling
|
24f559b4ad
|
Address MS Visual Studio 2015 update 1 breaking changes
|
2015-12-16 16:55:52 +01:00 |
|
Enno Rehling
|
fa55f84b41
|
remove unnecessary assert that prevents throwing away money on an ocean
github issue #437
https://bugs.eressea.de/view.php?id=2173#c6411
|
2015-12-16 13:32:02 +01:00 |
|
Enno Rehling
|
3fafb04b57
|
fix ahort to int converaion problems, fox PR
|
2015-12-11 18:03:55 +01:00 |
|
Steffen Mecke
|
1f4c521ac8
|
encapsulate r->land->peasants, money, horses, herbs, morale
|
2015-12-08 17:57:23 +01:00 |
|