Commit graph

5622 commits

Author SHA1 Message Date
Enno Rehling
09db2fe278 jsreport: return error if file not open. add scan-build to travis 2015-07-06 20:49:13 +02:00
Enno Rehling
ef4052b0f6 the outcome of a casual static analysis session. 2015-07-06 19:53:09 +02:00
Enno Rehling
004d6c61d4 avoid monsters: only seed new factions in hexes that have no units nearby. 2015-07-04 23:42:41 +02:00
Enno Rehling
59745c7ed0 parentheses to fix operator precedence. 2015-07-03 16:13:24 +02:00
Enno Rehling
b2d981e577 improved tests for DESTROY, fix destroy-after-attack 2015-07-03 13:08:06 +02:00
Enno Rehling
13ed70f2fd Merge pull request #245 from badgerman/feature/bug-1950-flee-and-guard
Bug 1950: fleeing units can guard the same turn.
2015-07-02 18:12:03 +02:00
Enno Rehling
a2376290d8 Bug 1950: fleeing units can guard the same turn.
checking for UFL_FLEEING in can_start_guarding should make that impossible now.
https://bugs.eressea.de/view.php?id=1950
2015-07-02 17:52:22 +02:00
Enno Rehling
98c161869f Merge pull request #244 from badgerman/develop
Bug 1861 (MAXTEACHERS) and misc fixes
2015-07-02 16:32:25 +02:00
Enno Rehling
f054ea114b Bug 1861: increase MAXTEACHERS, warn if it is still too small. 2015-07-02 16:23:38 +02:00
Enno Rehling
bfd93c68b2 remove bogus assert 2015-07-02 15:44:21 +02:00
Enno Rehling
a975073c0d fix an issue when reading pre-spellbook datafiles for E3. 2015-07-02 14:39:13 +02:00
Enno Rehling
31ca0ce052 fix a parser crash in the USE command. 2015-07-02 13:42:15 +02:00
Enno Rehling
bdbab14332 Merge pull request #243 from badgerman/feature/bug-1896-disable-besiege
Disable SIEGE in E2. The feature is bad and broken.
2015-07-02 12:14:14 +02:00
Enno Rehling
aee4fb4570 disable SIEGE in E2. The feature is bad and broken.
https://bugs.eressea.de/view.php?id=1896
2015-07-02 12:07:52 +02:00
Enno Rehling
37eb189cd0 Merge pull request #242 from badgerman/feature/bug-2080-move-after-destroy
bug 2080: long actions after DESTROY
2015-07-02 11:58:12 +02:00
Enno Rehling
fc2b8f3471 bug 2080: long actions after DESTROY
https://bugs.eressea.de/view.php?id=2080
we forgot to set the flags. also added a test for the future.
2015-07-02 11:42:18 +02:00
Enno Rehling
78857d8aa3 Merge pull request #240 from badgerman/feature/bug-2069-familiar-races
bug 2069: familiar races
2015-07-02 11:23:25 +02:00
Enno Rehling
a70b0d4902 Merge pull request #241 from badgerman/feature/bug-1890-monster-give-orders
bug 1890: make monsters give GIVE orders
2015-07-02 11:23:13 +02:00
Enno Rehling
b53d01eb18 Bug 1890: monsters do not respect the rules when giving excess weight to peasants.
https://bugs.eressea.de/view.php?id=1890
fixed by creating a give order instead of calling give_item directly.
2015-07-02 11:08:38 +02:00
Enno Rehling
414f6d3210 bug 2069: not all E3 magic schools have a familiar.
https://bugs.eressea.de/view.php?id=2069
quick fix: defaulting all additional schools to the illaun familiar.
2015-07-02 09:49:51 +02:00
Enno Rehling
258f3c37c0 add test coverage for bug report 2094 (prove that it is invalid) 2015-07-02 08:55:05 +02:00
Enno Rehling
b9f41526ef Merge pull request #239 from badgerman/feature/bug-1949-magicbag
bug 1949: magicbag contents
2015-07-01 22:34:00 +02:00
Enno Rehling
e0a383aa24 test the upper limit of the bag, too. 2015-07-01 22:16:43 +02:00
Enno Rehling
c634a01a3f Bug 1949: Zauberbeutelverhalten (magic bag tests & config changes)
https://bugs.eressea.de/view.php?id=1949
2015-07-01 22:13:24 +02:00
Enno Rehling
e59a23fae7 Merge pull request #238 from badgerman/develop
cleaning up tests, fixing a few internal bugs (squashed)
2015-07-01 21:55:47 +02:00
Enno Rehling
2f21f3c086 Merge remote-tracking branch 'upstream/develop' into develop 2015-07-01 21:28:29 +02:00
Enno Rehling
15e9c5962c merge feature/test-cleanup
removing old test files
merging old tests into current system
fixing some internal bugs (i.e. adjust_coordinates)
2015-07-01 21:24:44 +02:00
Enno Rehling
7934917607 pull latest version before building develop 2015-06-28 13:38:13 +02:00
Enno Rehling
59b0c7b957 Merge pull request #236 from badgerman/develop
Bug 2113: player-controlled dragon movement
2015-06-27 11:48:49 +02:00
Enno Rehling
0ee76ea8dd Bug 2113: player-owned dragons did not get movement bonuses.
https://bugs.eressea.de/view.php?id=2113
2015-06-26 20:12:01 +02:00
Enno Rehling
f1e3bc7013 Merge pull request #235 from badgerman/develop
fixing some small non-critical bugs
2015-06-26 15:57:20 +02:00
Enno Rehling
94ec39d7bb Bug 2114: broken army listing during combat.
https://bugs.eressea.de/view.php?id=2114
2015-06-26 14:44:28 +02:00
Enno Rehling
3ba2b3d4d7 indentation fixes (tab->spaces) 2015-06-26 14:31:21 +02:00
Enno Rehling
9b42824a5e Bug 2112: volcano stops smoking after it has erupted.
https://bugs.eressea.de/view.php?id=2112
2015-06-26 14:26:42 +02:00
Enno Rehling
b7b20bdec6 fewer units for new players, two players per region 2015-06-26 14:19:36 +02:00
Enno Rehling
6a42b6231e Merge branch 'master' into develop
Conflicts:
	src/buildno.h
2015-06-21 18:32:10 +02:00
Enno Rehling
ecb2b9b3b3 Merge pull request #234 from badgerman/hotfix/issue-233-invalid-read
invalid read, dead factions must leave their alliance
2015-06-21 18:29:00 +02:00
Enno Rehling
a085442b8f eliminate unused variable. 2015-06-21 17:54:39 +02:00
Enno Rehling
04bf7153f0 remove a faction from its alliance when it is dead. 2015-06-21 17:49:22 +02:00
Enno Rehling
7cf1062650 cmake changes from gruenbaer 2015-06-21 16:29:48 +02:00
Enno Rehling
6fa39da6f6 cmake submodule update 2015-06-21 16:27:35 +02:00
Enno Rehling
5667b6dc8c Merge branch 'develop' of github.com:eressea/server into develop 2015-06-21 16:24:46 +02:00
Enno Rehling
d2037a5cd9 Merge pull request #232 from badgerman/develop
after combat, eject enemies only
2015-06-20 15:56:50 +02:00
Enno Rehling
659aa6c973 after combat, eject enemies only 2015-06-20 14:28:16 +02:00
Enno Rehling
ca7c4804da Merge pull request #231 from badgerman/develop
Revert "disable force_leave code, it is too surprising"
2015-06-19 15:04:07 +02:00
Enno Rehling
9d1eac2f6a Merge pull request #230 from badgerman/feature-force-leave-postcombat
force leave after combat
2015-06-19 15:03:30 +02:00
Enno Rehling
5afd58faff Revert "disable force_leave code, it is too surprising"
This reverts commit f27d60e1b2.
2015-06-19 13:37:15 +02:00
Enno Rehling
9b7a4e813b functional test for forced leave configuration.
functional test for forced leave after combat.
functional test for MAKE TEMP.
error handling for Lua function building.create().
reduce some errors to warnings.
initialize race.battle_flags correctly (when not created through XML).
re-initialize processor in case config has changed.
handle missing translation of combat status, with error message.
2015-06-19 13:17:01 +02:00
Enno Rehling
e7bffb7533 implement post-combat forced leave from ship/building 2015-06-19 07:53:11 +02:00
Enno Rehling
75f87494d2 Merge pull request #229 from badgerman/develop
disable force_leave code, it is too surprising
2015-06-18 08:13:07 +02:00