Commit Graph

167 Commits

Author SHA1 Message Date
Enno Rehling 290a07e763 Merge branch 'develop' 2017-11-15 20:39:20 +01:00
Steffen Mecke 0aa5a64c63 allow empty faction email 2017-11-15 12:12:42 +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 34cd692c2d remove the locale from orders. 2017-10-13 19:33:28 +02:00
Enno Rehling 1b53128e1a BUG 2366: Fix cansee for seen_spell regions. 2017-10-10 20:24:20 +02:00
Enno Rehling 9d1e1a2e32 BUG 2369 workaround: do not assert at_mage. 2017-10-07 20:44:50 +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 95695c1b54 remove log_orders because I'm never using it and it costs time.
reduce memory reserved for balloc.
2017-09-23 21:12:50 +02:00
Enno Rehling 5e204083b8 remove noreply email, monster report. 2017-09-18 21:43:52 +02:00
Enno Rehling fd27534132 coverity CID 173897 Pointer to local outside scope 2017-09-18 20:23:31 +02:00
Enno Rehling 2dd159841e Merge branch 'master' into develop 2017-08-24 16:47:24 +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 233ea9dce4 BUG 2337: lighthouse capacity is # of units, not people. 2017-07-17 17:08:27 +02:00
Enno Rehling de1e0ae916 fix indentation 2017-07-09 10:43:53 +02:00
Enno Rehling 6fa471bb97 merge conflicts from the 13.2.3 release 2017-07-09 10:42:10 +02:00
Enno Rehling 7790ebd671 Valenar crash: bad report interval when a faction has no units. 2017-06-26 20:39:05 +02:00
Enno Rehling 3306488641 Merge pull request #695 from ennorehling/feature/refactor-rcspell
refactor observers, lighthouses
2017-05-28 12:50:05 +02:00
Enno Rehling 9e213d3bcd minor optimization and using fraction code 2017-05-26 19:05:46 +02:00
Enno Rehling 30cfe2c0c0 convert RC_SPELL to at_observer during readgame. 2017-05-24 08:18:55 +02:00
Enno Rehling 51f8f87072 eliminate the O(n) lighthouse/inside complexity from prepare_report 2017-05-22 21:15:42 +02:00
Enno Rehling abb7c9fb17 Merge branch 'kill-rcspell' into feature/refactor-rcspell
Conflicts:
	src/kernel/config.h
	src/main.c
	src/report.c
	src/reports.c
	src/reports.test.c
	src/spells.c
2017-05-21 21:33:29 +02:00
Enno Rehling 22c05963fd fix illusioncastle reporting. 2017-05-01 14:49:06 +02:00
Enno Rehling 17145eaf10 make region:set_resource do the right thing
also for adamantium
2017-03-22 20:37:09 +01:00
Enno Rehling ae41cafcb4 fix double free in new lighthouse code 2017-03-12 11:19:40 +01:00
Enno Rehling 783bba0467 Merge pull request #672 from ennorehling/lighthouse-speedup
lighthouses speedup
2017-03-11 16:17:37 +01:00
Enno Rehling 3f562e7fc9 Merge branch 'develop' into lighthouse-speedup
Conflicts:
	src/reports.c
	src/reports.test.c
2017-03-11 16:08:14 +01:00
Enno Rehling 8b9f0f0894 BUG 2307: report mallorn trees as Mallorn in the CR.
for legacy compatibility, we cannot call them Mallornbaeume.
2017-03-10 23:18:09 +01:00
Enno Rehling f54165d4f1 BUG 2309: show true faction to allies.
https://bugs.eressea.de/view.php?id=2309
2017-03-08 20:30:32 +01:00
Enno Rehling ba8f51b7d4 Merge pull request #667 from ennorehling/hotfix/config-2301
fix bugs 2301, 2302, 2303
2017-03-06 21:57:23 +01:00
Enno Rehling 05bb109a09 BUG 2303: allied units are not traitors.
had to rewrite the creport code for this, it is probably less efficient now than ever, but at least it works.
2017-03-06 21:35:48 +01:00
Enno Rehling 0379a17350 make report_resource return an rtype, not a name. 2017-03-05 17:42:57 +01:00
Enno Rehling 52dd11a28f create a failing test for stones in the NR. 2017-03-05 17:18:17 +01:00
Enno Rehling 6a87625409 refactor cr_output_resources for easy testing.
Write a (failing) test that checks first resource is silver.
2017-03-05 15:26:04 +01:00
Enno Rehling 4502141c5b bug 2292: set mailcmd from eressea.ini
this fixes https://bugs.eressea.de/view.php?id=2292
2017-03-02 18:28:00 +01:00
Enno Rehling 7f03417c37 bug 2286: fix missing addresses.
was using cansee_unit wrong, mixed up traveler (ut) and target (u).
2017-03-01 21:10:50 +01:00
Enno Rehling e0085eac0c write a test for get_addresses before modifying it. 2017-03-01 19:52:23 +01:00
Enno Rehling f4dc88c3be strip rawmaterial_type to just the funpointers 2017-02-23 07:53:28 +01:00
Enno Rehling 4bd295e3b2 remove the nearly unused illusion race 2017-02-20 20:42:31 +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 75514014bc no need to create locale here 2017-02-12 06:20:37 +01:00
Enno Rehling 456d1bd196 spellbooks should not use spellref, it's unnecessary. 2017-02-02 20:08:04 +01:00
Enno Rehling 7e69149c40 WIP: spellref everywhere 2017-02-02 16:52:32 +01:00
Enno Rehling ee88c13732 Korrekte Email-Subject und Adresse, auch im NR.
Eliminate crufty per-game strings.
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 774fa12a5a continued work for MSVC compilation 2017-01-26 18:05:25 +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 d71d5e413a eliminate unnecessary strncpy use. 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 c72b050a42 WIP: quicklist->selist shim can compile and link, but tests crash 2017-01-26 10:53:52 +01:00