Commit graph

9899 commits

Author SHA1 Message Date
Enno Rehling
4c19dfecf8 fix a previously undetected bug in str_strlcpy. 2018-11-27 20:01:47 +01:00
Enno Rehling
916c626aaa Merge remote-tracking branch 'upstream/master' 2018-11-27 18:59:08 +01:00
Enno Rehling
1a7f7531c3 Merge remote-tracking branch 'upstream/develop' into develop 2018-11-27 18:58:54 +01:00
Enno Rehling
5873c0252f Merge branch 'develop' 2018-11-27 18:56:01 +01:00
Enno Rehling
be3f63416d some factions have very long names, breaking my buffer.
use sbstring with care.
fix hackish utf8 space detection.
2018-11-27 04:17:16 +01:00
Enno Rehling
8584b46dc0 coverity 189780, realloc result check 2018-11-26 22:07:55 +01:00
Enno Rehling
304bebf291 reduce big arrays on the stack, report allies with new pump_paragraph function (WIP) 2018-11-26 22:01:18 +01:00
Enno Rehling
a2c179db9a
Merge pull request #821 from ennorehling/develop
bsdstring elimination, renumber crashfix
2018-11-25 14:25:15 +01:00
Enno Rehling
8c02d14f13 undo the period-at-end fix for region info, a test breaks 2018-11-25 09:38:58 +01:00
Enno Rehling
4c58127ce1 fix renumber parser crash 2018-11-25 09:26:24 +01:00
Enno Rehling
aef271fe39 Merge remote-tracking branch 'upstream/master' 2018-11-25 09:26:05 +01:00
Enno Rehling
b7275e40f3 fix renumber parser crash 2018-11-25 09:21:37 +01:00
Enno Rehling
8855574938 report.c is the last user of bsdstring 2018-11-24 21:47:27 +01:00
Enno Rehling
c757f83a71 eliminate bsdstring from reports.c
add missing period at end of region info.
2018-11-24 21:25:46 +01:00
Enno Rehling
26205094dd remove unused function 2018-11-24 19:27:31 +01:00
Enno Rehling
c596781aea Merge branch 'develop' of github.com:ennorehling/eressea into develop 2018-11-24 19:23:09 +01:00
Enno Rehling
0fb6b51e5d deprecated function removed 2018-11-24 12:47:52 +01:00
Enno Rehling
1d71e76ad6 more sbstring stuff 2018-11-24 12:46:28 +01:00
Enno Rehling
3e54d307df replace bsdstring in bufunit 2018-11-24 12:26:52 +01:00
Enno Rehling
6c5597b054 Oops, had some incomplete tests with NULL strings. 2018-11-23 22:28:40 +01:00
Enno Rehling
e155f1ef29 Fix MSVC static analysis warnings in laws.c 2018-11-23 22:16:44 +01:00
Enno Rehling
bb11026321 more sbstring conversions in reporting functions. 2018-11-23 22:00:37 +01:00
Enno Rehling
4b64de0db9 When available, use MSVC built-in itoa function. 2018-11-23 14:03:02 +01:00
Enno Rehling
af72febebc str_itoa for platforms that do not have itoa.
remove more static string buffer warning code (bsdstring) from reports.
2018-11-23 13:05:38 +01:00
Enno Rehling
037113b35d Merge branch 'develop' of github.com:ennorehling/eressea into develop 2018-11-23 12:35:24 +01:00
Enno Rehling
1d70281e6e
Merge pull request #820 from ennorehling/develop
Vertraute reparieren
2018-11-22 22:59:29 +01:00
Enno Rehling
c7a38e4bdd logic change in last commit: all familiars have an at_mage at creation. 2018-11-22 22:22:40 +01:00
Enno Rehling
73540d733d Bug 2451: fix equip_unit for spells,
update the familiar-fixing code from bug 2517.
2018-11-22 22:13:23 +01:00
Enno Rehling
62e6489c7a rename variable.
print error, not debug message.
2018-11-21 21:46:59 +01:00
Enno Rehling
8e9f8be007 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2018-11-21 14:26:08 +01:00
Enno Rehling
3638219e13 fix magic tests that created gray mages.
also fix mage_change_spellpoints.
2018-11-18 21:53:45 +01:00
Enno Rehling
4a66b558c5 WIP: refactor struct sc_mage (make it private).
tests are failing and/or slow.
2018-11-18 21:47:14 +01:00
Enno Rehling
6f26898822 fix accidental redefinition 2018-11-18 11:32:59 +01:00
Enno Rehling
e1ebf15d31 coverity thinks I need to check for NULL 2018-11-18 11:16:20 +01:00
Enno Rehling
2ab6ef1828
Merge pull request #819 from ennorehling/develop
Vertraute ohne eigene Magie.
2018-11-17 22:40:42 +01:00
Enno Rehling
b6110c5b22 some caster/mage changes issues (transfer aura is hard). 2018-11-17 22:28:55 +01:00
Enno Rehling
270646d9c3 iwyu 2018-11-17 22:16:27 +01:00
Enno Rehling
4403552b61 F*ck this MSVC message:
warning C6001: Using uninitialized memory
It is confused, and I screwed up trying to work around it.
2018-11-17 22:12:34 +01:00
Enno Rehling
aa466f3cc8 avoid code analysis warnings 2018-11-17 22:01:23 +01:00
Enno Rehling
d2389fa87b Bug 2517: Vertraute ohne eigene Zauber reparieren
Trennung von caster und mage in spells.c
2018-11-17 21:31:05 +01:00
Enno Rehling
b181618b53 BUG 1877: change non-spell familiars.
1. mages can have actions when familiars cast spells.
2. familiar spells do not increase magician's costs.
3. improve separation of caster and mage.
2018-11-15 20:51:42 +01:00
Enno Rehling
83b6db41fe remove legacy msg_level struct (unused). 2018-11-13 17:24:22 +01:00
Enno Rehling
5a7e8cbd9a
Merge pull request #818 from ennorehling/master
Bugfix für 3.17.8
2018-11-07 08:37:21 +01:00
Enno Rehling
4da6512f88 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2018-11-07 08:36:47 +01:00
Enno Rehling
e570300dbe Merge branch 'master' into develop 2018-11-06 19:33:46 +01:00
Enno Rehling
ed17b10287 Bug 2514: units giving LERNE AUTO with certain incomplete teacher/student matchups did not study anything. 2018-11-06 19:28:14 +01:00
Enno Rehling
2f9325073b test for cart building 2018-11-05 20:30:33 +01:00
Enno Rehling
c48371387c New Syntax: CONTACT [UNIT|FACTION] ...
Move everything to contact module, add tests.
2018-11-04 18:07:42 +01:00
Enno Rehling
0fd7906d41 extract contact logic to a module
add missing tests for contact to units.
add an attribute for contacting a faction.
2018-11-04 15:53:27 +01:00
Enno Rehling
bf04d95651 fix iwyu warnings. 2018-11-04 12:16:02 +01:00