Commit graph

4623 commits

Author SHA1 Message Date
Enno Rehling
7cedc4c9dd quick performance improvement for scale_number 2020-08-16 16:00:29 +02:00
Enno Rehling
beb673a28b spotting monsters from lighthouses 2020-08-16 16:00:29 +02:00
Enno Rehling
68e2a6e892 tree growth is rounded up. 2020-08-16 16:00:29 +02:00
Enno Rehling
6ccaaee4ea report 2682: simplify tree growth
each spring, 2/3 of all saplings become trees over a 6 week period (1/9 per week).
2020-08-16 16:00:28 +02:00
Enno Rehling
b2689e3a9e Bug 2621: Fehlermeldung bei fehlender Anzahl
bei Personen- und Schiffsübergaben.

closing https://bugs.eressea.de/view.php?id=2621
2020-08-16 16:00:28 +02:00
Enno Rehling
09c9ba32eb small bug: argument is not const. 2020-08-16 16:00:28 +02:00
Enno Rehling
6d542327f9 bug 2660 delayed canibalism
monsters now eat each other in randenc.
2020-08-16 16:00:28 +02:00
Enno Rehling
d0149f334f test for new parser behavior. 2020-08-16 16:00:28 +02:00
Enno Rehling
a3300d5b59 fix parser crash from turn 1179 2020-08-16 16:00:28 +02:00
Enno Rehling
9e3dc18daa bug 2684: update sp_showastral and sp_viewreality.
add more messages
add unit tests
closes https://bugs.eressea.de/view.php?id=2684
2020-08-16 16:00:28 +02:00
Enno Rehling
b06f3cf0e2 Bug 2684 Astraler Blick
Old implementation was bad, using set_observer is better. Still missing a test, but improved the one for sp_viewreality, which is almost doing the same thing - adaptation should be easy.

Fixes https://bugs.eressea.de/view.php?id=2684
2020-08-16 16:00:28 +02:00
Enno Rehling
e80701ef35 Allow alternative names for some spells. 2020-08-16 16:00:28 +02:00
Enno Rehling
a5bca33bf7 fake wormhole in test had negative size 2020-08-16 16:00:27 +02:00
Enno Rehling
a5b39962fd make it impossible to create buildings with size 0 2020-08-16 16:00:27 +02:00
Enno Rehling
2d39641e3f Bug 2668 Spruchstärke Ritual der Aufnahme
Zauber sollen force benutzen, nicht level.
2020-08-16 16:00:27 +02:00
Enno Rehling
0c9153396c Bug 2683: fix buildings with size 0
Fixing the symptoms, not the cause, becasue I don't know how this happened.
2020-08-16 16:00:27 +02:00
Enno Rehling
76468197d7 empty convoys cannot be built on. 2020-08-16 16:00:27 +02:00
Enno Rehling
1eaa6a9ec4 Bug 2680: shapeshift spell cannot be cast twice.
Add a message and don't pay for the failed spell.
2020-08-16 16:00:27 +02:00
Enno Rehling
e5be92da19 Bug 2679: Nur Bergwächter bewachen Eisen. 2020-08-16 16:00:27 +02:00
Enno Rehling
183981f3c7 bug 2678: fix trade_needs_castle
The logic for "insects do not need castles in deserts or swamps" was broken.
2020-08-16 16:00:27 +02:00
Enno Rehling
c35ba4cf92 stop showing unhandled keycodes in status 2020-08-16 16:00:27 +02:00
Enno Rehling
15f2e014d2 make coverity understand that there is no buffer overflow here. 2020-08-16 16:00:27 +02:00
Enno Rehling
515fcb3c86 Lighthouse shows roads in both CR and NR.
This closes bug 2669.
2020-08-16 16:00:27 +02:00
Enno Rehling
0ea9717b5a bug 2674 fix null-ptr deref 2020-08-16 16:00:27 +02:00
Enno Rehling
40493bdc64 bug 2674 send message to player, not monsters 2020-08-16 16:00:27 +02:00
Enno Rehling
ed0b7f8af2 Durch GIB "leer" gewordene Schiffe können nicht sinken. 2020-08-16 16:00:27 +02:00
Enno Rehling
dee8b306d0 update default version number 2020-08-16 16:00:26 +02:00
Enno Rehling
276db404ba bug 2673 ignore commands that have fewer than 2 characters. 2020-08-16 16:00:26 +02:00
Enno Rehling
f9c3f74117 Bug 2670 trim   and others from strings. 2020-08-16 16:00:26 +02:00
Enno Rehling
83232eb556 remove legacy filereader code 2020-08-16 16:00:26 +02:00
Enno Rehling
e19b386e7f fix tests for parsing single-letter keywords. 2020-08-16 16:00:26 +02:00
Steffen Mecke
5455037dbc fix NOTLOST items lost in battle 2020-08-16 16:00:26 +02:00
Enno Rehling
6a9cea219c https://bugs.eressea.de/view.php?id=2692 inherit racial stealth from creator unit 2020-08-16 16:00:08 +02:00
Enno Rehling
f1a0a7a55c https://bugs.eressea.de/view.php?id=2693
STIRB + PARTEI transferiert auch Magier des gleichen Gebietes.
2020-08-16 12:44:03 +02:00
Enno Rehling
afa160c4c3 fix crash in turn 1181 2020-08-15 23:29:40 +02:00
Enno Rehling
eed0473421 remove the stealthany race flag 2020-08-03 10:33:24 +02:00
Enno Rehling
3b864b10fc bug 2686: stealth races not translated correctly. 2020-08-03 10:31:58 +02:00
Enno Rehling
085115c4e4 Merge branch 'master' into develop 2020-05-24 16:14:38 +02:00
Enno Rehling
3a76261302 bug 2666 english creport is broken 2020-05-24 15:41:19 +02:00
Enno Rehling
405f8f240a No! Static variables are BAD! 2020-05-23 11:21:16 +02:00
Enno Rehling
dc466fef5d join_monsters merge conflict 2020-05-23 10:19:39 +02:00
Enno Rehling
c53aa27597 bug 2661: desertierende einheiten, spoils
Kampfstatus und Tarnung setzen.
Spoils-Texte für mehr Rassen.
2020-05-23 10:18:18 +02:00
Enno Rehling
2d849b17d7 Merge branch 'master' into develop 2020-05-10 18:01:43 +02:00
Enno Rehling
08b9f03afc Fix demon stealth in English reports. 2020-05-10 17:50:56 +02:00
Enno Rehling
8ef2ec71e9 Merge branch 'master' into develop 2020-05-09 21:08:20 +02:00
Enno Rehling
1a63e41929 Bug 2659: units inside building AND ship 2020-05-09 21:06:25 +02:00
Enno Rehling
97cb46933e typo, ccidental bit-shift operation 2020-05-03 15:16:32 +02:00
Enno Rehling
268d93293c Fehlermeldungen für GIB ALLES
Entkomplizierung lange Befehle.
2020-04-18 16:28:23 +02:00
Enno Rehling
6ebb5c7591 Merge branch 'ships' into develop 2020-03-28 09:37:40 +01:00
Enno Rehling
a60859ad08 ship report crash, fix error number 2020-03-28 09:05:52 +01:00
Enno Rehling
112126b07b Bug 2653: Fehlermeldungen bei Übergabe von Schiffen. 2020-03-25 19:20:51 +01:00
Enno Rehling
609d0daed3 Merge branch 'master' into develop 2020-03-14 12:00:41 +01:00
Enno Rehling
8bf8b68571 make parse_token trim ignored characters like zero-width spaces. 2020-03-14 11:59:35 +01:00
Enno Rehling
b09de26d33 update version 2020-03-14 11:58:39 +01:00
Enno Rehling
34ac5154e7 make parse_token trim ignored characters like zero-width spaces. 2020-03-14 11:57:29 +01:00
Enno Rehling
c4cb44f961 better starting conditions
- demons start cloaked
- regions have at least 50 trees
2020-03-08 10:07:04 +01:00
Enno Rehling
bea657b128 Merge branch 'master' into develop 2020-03-02 21:37:54 +01:00
Enno Rehling
b8205893d2 more unused code removed 2020-03-02 21:26:21 +01:00
Enno Rehling
fe39eb6cf7 remove unused local functions. 2020-03-02 21:19:02 +01:00
Enno Rehling
0bbee5d1ac kill read_orders, rewrite tests to use parseorders. 2020-03-02 21:05:49 +01:00
Enno Rehling
f4af719175 do not read orders when password is wrong 2020-03-02 20:40:45 +01:00
Enno Rehling
64ef6f9c32 change test to match new behavior. 2020-03-01 19:28:45 +01:00
Enno Rehling
eb16d7bf47 Bug 2645 TARNE [Stufe] reagiert auf Talentänderungen. 2020-03-01 17:55:07 +01:00
Enno Rehling
41cf41120f Bug 2640: Fehler in LERNE AUTO bei teilweisen Lehrern. 2020-03-01 14:24:31 +01:00
Enno Rehling
6ecd172ff4 LERNE AUTO: fix tests and logic some more.
still haven't fixed the actual bug, algorithm is wrong.
2020-02-25 20:35:55 +01:00
Enno Rehling
e5e936acc6 Bug 2640: LERNE AUTO sollte nicht alle Einheiten zu Lehrern delegieren.
Fixt den konkreten Bug, fühlt sich aber immer noch nach einemn Spezialfall an?
2020-02-21 21:12:19 +01:00
Enno Rehling
5ee5751475 Keine Befehle löschen, ist nicht nötig und verwirtr nur. 2020-02-20 21:09:04 +01:00
Enno Rehling
095e3d39ce Bug 2637: Monster sollen sich nicht parteitarnen. 2020-02-09 15:24:36 +01:00
Enno Rehling
b1098f7838 broke several monster behaviors, fixed. 2020-02-08 21:24:07 +01:00
Enno Rehling
3771b88bc6 typo, opps 2020-02-08 21:02:18 +01:00
Enno Rehling
40d63264d3 bug 2635: let only swimming units attack on ocean. 2020-02-07 22:12:24 +01:00
Enno Rehling
4886d29401 small code cleanup 2020-02-02 18:52:30 +01:00
Enno Rehling
bf867eb2d6 bug 2634 display number of ships to all factions. 2020-01-31 20:54:32 +01:00
Enno Rehling
63f4853875 crash in quit faction
fix test modules that have no setup
add test for lazy trolls
2020-01-26 12:32:31 +01:00
Enno Rehling
80b8bd7158 Merge branch 'master' into develop 2020-01-26 10:15:18 +01:00
Enno Rehling
42e17f3ba9 bug 2221: buildings cannot exceed maxsize.
* enable the allies.lua tests
2020-01-26 00:34:31 +01:00
Enno Rehling
356bb54bf3
Merge pull request #888 from ennorehling/develop
fix tree growth crash, cew CR version
2020-01-19 13:56:10 +01:00
Enno Rehling
3efcf97289 Fix for negative tree growth crash. 2020-01-19 13:45:38 +01:00
Enno Rehling
ec0d5b3754 new CR VERSION: remove MESSAGETYPES 2020-01-19 13:45:19 +01:00
Enno Rehling
54d0784b54 Kampfreport: Jede Partei hilft sich selbst, duh. 2020-01-18 21:25:40 +01:00
Enno Rehling
010487ac8d
Merge pull request #887 from ennorehling/develop
trees and seeds
2020-01-18 21:11:55 +01:00
Enno Rehling
a94e4219b1 automatic tree growth is a b*tch 2020-01-18 21:06:48 +01:00
Enno Rehling
3b09b401f7 Revert unnecessary trade limit bugfix
This reverts commit 27aac671a4.
2020-01-16 18:22:01 +01:00
Enno Rehling
b88f9e8610 remove duplicate calculation. 2020-01-15 23:08:11 +01:00
Enno Rehling
7aaa0fc301 Bug 2633: Porting the test from my "fix" to prove that it wasn't required. 2020-01-15 22:48:20 +01:00
Enno Rehling
27aac671a4 simplicate and add lightness 2020-01-14 21:00:54 +01:00
Enno Rehling
6626cfe297 Bug 2633: implement combined trade limits. 2020-01-14 20:57:29 +01:00
Enno Rehling
e02c1e9d00 Bug 2631: Kein Konvoi mit Sonnensegel. 2020-01-13 22:24:48 +01:00
Enno Rehling
06f00cae53 Bug 2632: no flying convoy 2020-01-13 22:21:26 +01:00
Enno Rehling
00ac549750 idiot-proofing the newfactions file parser 2020-01-08 20:57:29 +01:00
Enno Rehling
bfd89687cd when planting saplings, plant remaining seeds. 2020-01-07 20:37:21 +01:00
Enno Rehling
043949c8d0 Bug 2625 PFLANZE Implementation aufgeklärt, Tests geschrieben. 2020-01-07 20:28:43 +01:00
Enno Rehling
2e054f27cc Bug 2630: Drachen
1. Jungdrachen sind Drachen (RCF_DRAGON)
2. Ein Monster das nicht kämpfen kann, braucht nicht zu plündern.
3. make code more readable.
4. Wer schon bewacht, braucht keinen BEWACHE Befehl.
2020-01-07 19:24:10 +01:00
Enno Rehling
fb21d6d932 kill ancient godcursezone code.
add some tests for planting seeds.
2020-01-04 12:22:14 +01:00
Enno Rehling
32d2970965
Merge pull request #886 from ennorehling/develop
Baumwachstum und Flotten-Meldungen
2020-01-03 20:28:00 +01:00
Enno Rehling
84dfe46ce5 Revert "bug 2625 samen werden direkt zu schoesslingen"
This reverts commit 4f88bf137e.
2020-01-03 20:21:14 +01:00
Enno Rehling
e337b8b494 Bug 2626: Korrekter Meldungstext. 2020-01-03 17:14:44 +01:00
Enno Rehling
c8c22aea1b bug 2624: short range conversion bug in tree growth 2020-01-02 12:52:39 +01:00
Enno Rehling
4f88bf137e bug 2625 samen werden direkt zu schoesslingen 2020-01-02 12:10:38 +01:00
Enno Rehling
dcf9b9df26 bug 2626: fehlende neue messages nachtragen 2020-01-02 11:34:26 +01:00
Enno Rehling
d949d9a6d0 Bug 2623: Untote dürfen nicht in heilige Regionen ziehen.
Code style fixes.
2019-12-29 14:28:55 +01:00
Enno Rehling
cef5ff44eb Merge branch 'develop' of github.com:ennorehling/eressea into develop 2019-12-01 17:30:34 +01:00
Enno Rehling
5428211751 Merge remote-tracking branch 'upstream/master' into develop 2019-12-01 17:29:25 +01:00
Enno Rehling
0b623d0768 monster include structure, contd. 2019-12-01 17:28:51 +01:00
Enno Rehling
2573ab19b5 begin work on v3.23 2019-12-01 17:20:34 +01:00
Enno Rehling
08f7d267b8 version 3.22 is released 2019-12-01 17:18:59 +01:00
Enno Rehling
d6b5dea014 version 3.22 is released 2019-12-01 17:16:12 +01:00
Enno Rehling
b0792b57e9 move binding function declarations to headers. 2019-12-01 17:07:09 +01:00
Enno Rehling
633866c814 STIRB PARTEI: Versuche, Helden zu übernehmen. 2019-11-30 16:29:23 +01:00
Enno Rehling
1a8b94da59 STIRB PARTEI löscht die Befehle nicht.
Reparatur des Tests für VERGESSE MAGIE (Vertraute)
2019-11-24 16:39:21 +01:00
Enno Rehling
6b1baec2de Merge branch 'master' into develop 2019-11-18 19:44:37 +01:00
Enno Rehling
cd165d94ec Magier dürfen bei STIRB nicht übergeben werden. 2019-11-18 19:44:24 +01:00
Enno Rehling
dccde58221 Merge branch 'master' into develop 2019-11-18 19:34:05 +01:00
Enno Rehling
1bff7801ff transfer_faction respects magic schools. 2019-11-18 19:33:37 +01:00
Enno Rehling
beffa1d536 CID 205842: con is never NULL. 2019-11-18 18:48:28 +01:00
Enno Rehling
75000f2663 reduce struct person by 12 bytes on a 32-bit arch. 2019-11-17 19:55:41 +01:00
Enno Rehling
7850e84cea let's try increasing MAX_UNITSIZE to 128K 2019-11-02 21:37:33 +01:00
Enno Rehling
fd1b981983 simplify sail/travel, remove route from arguments. 2019-11-02 21:32:11 +01:00
Enno Rehling
52ee682a48 Bug 2617: Berechnung von Überladung berechnet Flotten korrekt. 2019-11-02 19:09:15 +01:00
Enno Rehling
0db8f2167b Bug 2618: Zusätzlicher Test Piraterie 2019-10-28 20:12:52 +01:00
Enno Rehling
7f57aa2a18 small copy/paste error 2019-10-27 10:57:32 +01:00
Enno Rehling
9b54784c94 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2019-10-27 10:56:32 +01:00
Enno Rehling
c8769a4412 Fehler in ship_crewed Berechnung 2019-10-27 10:56:16 +01:00
Enno Rehling
533a0aceec fix crash when following a lost ship 2019-10-23 23:17:31 +02:00
Enno Rehling
c82b3b27dd Bug 2616: FOLGE schiesst über das Ziel hinaus. 2019-10-22 21:30:14 +02:00
Enno Rehling
75a71c36aa ZERSTOERE Schiffe evtl. auch richtig? Best effort. 2019-10-22 18:46:00 +02:00
Enno Rehling
70b148296f MACHE beschädigte Konvois 2019-10-21 20:04:32 +02:00
Enno Rehling
d04fe741a9 https://bugs.eressea.de/view.php?id=2615
in the report, calculate max size of ships correctly.
2019-10-20 18:55:40 +02:00
Enno Rehling
d9cbbd9052 Bug 2614: Einheiten bewachen Region vor sich selbst. 2019-10-20 17:11:58 +02:00
Enno Rehling
12491ffc16 GIB 0 an Land kann alle Schiffe geben, auf Ozean nicht. 2019-10-10 20:24:18 +02:00
Enno Rehling
1d405e2ef8 GIB 0 n SCHIFFE
Keine Boote erlauben
Übergabe an eigene Besatzung.
2019-10-10 20:17:25 +02:00
Enno Rehling
78e44e0fe3 check compatible costs 2019-10-10 16:12:25 +02:00
Enno Rehling
24978a5b80 Schiffstransfer nur zwischen Kapitänen. 2019-10-08 21:14:01 +02:00
Enno Rehling
1e0afdc961 spells can only be cast on single ships. 2019-10-08 21:08:33 +02:00
Enno Rehling
b0e6ed430b GIB alle Schiffe an andere Einheit. 2019-10-08 04:52:41 +02:00
Enno Rehling
4052cb71ff Show convoy in reports. 2019-10-07 22:01:02 +02:00
Enno Rehling
f4011af784 GIB unit n SCHIFF implementiert. 2019-10-07 21:50:52 +02:00
Enno Rehling
39e3001a50 start implementing give_ship 2019-10-06 20:42:47 +02:00
Enno Rehling
5cf417d16d must have one captain per ship. 2019-10-06 20:22:19 +02:00
Enno Rehling
178f7c2e19 add number of ships for convoys.
check required crew skills.
require number of captains >= ship.number.
2019-10-06 18:11:10 +02:00
Enno Rehling
84633b50e1 gamedata version SHIP_NUMBER_VERSION 2019-10-05 21:00:17 +02:00
Enno Rehling
f02c4cbaeb disable magic resistant to prevent 2% intermittent test. 2019-10-05 20:59:55 +02:00
Enno Rehling
b4f3120658 delete unused function 2019-09-29 18:31:11 +02:00
Enno Rehling
7b9ea75d16 make disrupt_astral use callback, not region_list. 2019-09-29 18:28:44 +02:00
Enno Rehling
17fbd0d67d Bug 2612 Zauberreparatur. 2019-09-29 17:56:56 +02:00
Enno Rehling
a6ea80f5f8 create a for_all_in_range function to avoid use of region_list.
functional programming is good.
2019-09-29 16:57:26 +02:00
Enno Rehling
2ef753bd16 Tod den region_list Listen.
Weg mit astralregions().
2019-09-24 21:42:53 +02:00
Enno Rehling
24552613c8 fetch_astral braucht astralregions eigentlich nicht. 2019-09-24 21:26:34 +02:00
Enno Rehling
7335d8c5c9 fix build (bad merge, self is now f) 2019-09-24 09:35:38 +02:00
Enno Rehling
00e39717e1 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2019-09-24 09:28:44 +02:00
Enno Rehling
ddc23ca3ab Merge branch 'develop' of github.com:ennorehling/eressea into develop 2019-09-23 20:45:09 +02:00
Enno Rehling
a2ece4e749 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2019-09-23 20:44:59 +02:00
Enno Rehling
a2963a8621 stop using astralregions, avoid dynamic allocations. 2019-09-23 20:44:19 +02:00
Enno Rehling
ade50af60b Merge branch 'master' into develop 2019-09-23 17:37:02 +02:00
Enno Rehling
b6edc0b940 Bug 2611: password_cmd erzeugt ungültige Passworte. 2019-09-22 16:31:02 +02:00
Enno Rehling
c1a36a0963 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2019-09-22 13:51:23 +02:00
Enno Rehling
3ac343a997 Pestmeldung, Regionen Singular/Plural. 2019-09-22 13:51:02 +02:00
Enno Rehling
0db9389df6 coverity thinks I should check return values 2019-09-21 22:28:13 +02:00
Enno Rehling
08e45dc722 appease gcc const-check 2019-09-21 22:18:41 +02:00
Enno Rehling
6c73a58608 Bug 2607: BEnutze format_list für Schemen. 2019-09-21 22:16:46 +02:00
Enno Rehling
8433052c64 CID 204092: Memory - illegal accesses (NEGATIVE_RETURNS) 2019-09-19 05:05:13 +02:00
Enno Rehling
96facd21d9 Merge remote-tracking branch 'upstream/develop' into develop 2019-09-19 05:03:55 +02:00
Enno Rehling
17ba4e7746 allow clearing attributes from lua 2019-09-19 05:03:01 +02:00
Enno Rehling
d5104fa55a Bug 2609 VERGESSE Magie 2019-09-18 20:55:44 +02:00
Enno Rehling
ea9e31d1b2 tests for trolls riding on carts. 2019-09-15 20:32:07 +02:00
Enno Rehling
52f08917d5 getn is deprecated 2019-09-15 14:33:48 +02:00
Enno Rehling
fa3abe8c32 new bindings for allies.
script to fix damage from bug 2608.
2019-09-15 14:33:48 +02:00
Enno Rehling
fef57d3fcf factions that idle out gift their stuff to friends 2019-09-15 14:32:48 +02:00
Enno Rehling
e90b7acd4c Merge remote-tracking branch 'upstream/master' 2019-09-15 14:17:37 +02:00
Enno Rehling
f06fd8945c getn is deprecated 2019-09-15 14:02:53 +02:00
Enno Rehling
e58f51e536 new bindings for allies.
script to fix damage from bug 2608.
2019-09-15 14:02:32 +02:00
Enno Rehling
bd25c0bf6e helfe-status nach lua exponieren. 2019-09-15 14:01:33 +02:00
Enno Rehling
aecd79dab1 factions that idle out gift their stuff to friends 2019-09-15 13:59:42 +02:00
Enno Rehling
434aa15b9a factions that idle out gift their stuff to friends 2019-09-14 21:51:13 +02:00
Enno Rehling
f30a7848a5 rule_give is crufty, do not involve it in destroyfaction 2019-09-13 22:00:47 +02:00
Enno Rehling
b9ae927aa3 remove copyright notices. 2019-09-13 21:35:44 +02:00
Enno Rehling
ddc8c27489 Bug 2605: testing horses and carts
fixing indentation in battle.c
2019-09-12 22:23:50 +02:00
Enno Rehling
d9febc30d8 rostregen bugfix commit ruined indentation 2019-09-12 08:40:27 +02:00
Enno Rehling
cc77ce6f20 Tests für Einheiten mit Pferden. 2019-09-10 06:40:42 +02:00
Enno Rehling
007721991d Bug 2606: DRY, share code between buy and sell. 2019-09-08 13:29:10 +02:00
Enno Rehling
d2d782c761 Bug 2606: KAUFE braucht eine Burg. 2019-09-08 13:06:24 +02:00
Enno Rehling
99f7ddd1c0
Merge pull request #873 from ennorehling/develop
mapper enhancement
2019-09-02 20:59:41 +02:00
Enno Rehling
40a484774e gmtool: reset an entire world's age to zero. 2019-09-02 20:42:23 +02:00
Enno Rehling
a3299ed926 Verifikation dass Erbschaft wie gewollt verteilt wird. 2019-09-01 19:42:12 +02:00
Enno Rehling
7e4d7bf286
Merge pull request #872 from ennorehling/develop
bug 2603: when familiars cast spells, use their name in messages.
2019-09-01 04:10:08 +02:00
Enno Rehling
02f6f2f014 bug 2603: when familiars cast spells, use their name in messages. 2019-08-31 12:19:25 +02:00
Enno Rehling
7eb1e59d5d
Merge pull request #871 from ennorehling/develop
BENENNE FREMDE und pathfinding
2019-08-27 22:25:47 +02:00
Enno Rehling
aef98424ea fix pathfinding
fix BENENNE FREMDE BURG
2019-08-27 22:17:28 +02:00
Enno Rehling
c87944afad actually, rconnect is better, since we don't always need the entire scan. 2019-08-26 22:49:32 +02:00
Enno Rehling
b81fe4e244 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2019-08-26 22:47:11 +02:00
Enno Rehling
a5e59a6464 we prefer get_neighbours over rconnect 2019-08-26 22:46:59 +02:00
Enno Rehling
d639c2418c delete unused function 2019-08-26 20:47:02 +02:00
Enno Rehling
331546eec4 at_npcfaction is deprecated stuff. 2019-08-26 19:09:40 +02:00
Enno Rehling
ef92734483
Merge pull request #870 from ennorehling/develop
refactoring, to go into 3.21
2019-08-25 19:40:09 +02:00
Enno Rehling
fc29b492a2 last gcc thing, I hope. 2019-08-25 19:34:04 +02:00
Enno Rehling
eb95613996 fix gcc issues with new season_t type. 2019-08-25 18:14:03 +02:00
Enno Rehling
8bed3f3329 fix give_unit test for E3
extract read_factions from read_game, now small and nice.
2019-08-25 18:11:14 +02:00
Enno Rehling
827532dd49 extract read_regions from read_game. 2019-08-25 17:55:04 +02:00
Enno Rehling
cf7971bcfc Tests for GIVE UNIT and groups. 2019-08-25 17:43:18 +02:00
Enno Rehling
ea4f402ddc
Merge pull request #869 from ennorehling/develop
insect warning
2019-08-25 15:19:10 +02:00
Enno Rehling
8ddca8ab0e Bug 2458 strikes again: wrong insect warning.
simplify calendar code, add tests.
2019-08-25 15:14:21 +02:00
Enno Rehling
ae7a6cb5c1 Merge branch 'master' into develop 2019-08-24 22:02:15 +02:00
Enno Rehling
8916a1756a rule_give is crufty, do not involve it in destroyfaction 2019-08-24 12:14:57 +02:00
Enno Rehling
b4867e4679 Keine Burgen oder Schiffe in Land-Turmregionen zeigen. 2019-08-20 19:31:52 +02:00
Enno Rehling
62a45496e4 Sichtbarkeit von Landregionen aus Leuchttürmen.
https://bugs.eressea.de/view.php?id=2490
2019-08-20 17:24:05 +02:00
Enno Rehling
5264b6e4f5 fix and test implementation of ship_type.minskill 2019-08-18 12:13:51 +02:00
Enno Rehling
e616449fd0 Leuchttürme zeigen minimale Info über Landregionen an.
https://bugs.eressea.de/view.php?id=2490
Neues Schiff Galleone
https://bugs.eressea.de/view.php?id=2542
2019-08-17 22:48:14 +02:00
Enno Rehling
c8c2a6fe58 2587: Trennlinie vor Allianzstatus und Adressliste.
https://bugs.eressea.de/view.php?id=2587
2019-08-13 17:42:45 +02:00
Enno Rehling
4f80569ebf try using iwyu on travis 2019-08-11 18:03:52 +02:00
Enno Rehling
b89eed2f2a Bugfix in Berechnung von neuem Entertainment-Code. 2019-08-10 05:52:34 +02:00
Enno Rehling
55016e8a02 resource leak: forgot to free recruitment data. 2019-08-10 05:12:46 +02:00
Enno Rehling
061cadfce8 null-pointer check befor strcmp. 2019-08-10 05:10:00 +02:00
Enno Rehling
12117776a0 ignore some code more points, but leave emoji intact. 2019-08-08 18:23:31 +02:00
Enno Rehling
a0bd0378c3 rechenfehler unterhaltung 2019-08-06 20:04:47 +02:00
Enno Rehling
c97e881dbf let horses be short, too. 2019-08-03 20:58:13 +02:00
Enno Rehling
8106cf15a1 morale is ony [0-10], so unsigned short is more than fine. 2019-08-03 15:28:50 +02:00
Enno Rehling
a51d3edee7 region.peasants can be short 2019-08-03 15:12:07 +02:00
Enno Rehling
867dcd27f7 512 is not enough economy 2019-08-03 10:02:34 +02:00
Enno Rehling
16cad15dec change test for trimming non-printable chars 2019-08-02 12:24:32 +02:00
Enno Rehling
a2a7bc5f61 add missing include 2019-08-01 23:11:52 +02:00
Enno Rehling
964a0586dc fix UTF8 trimming 2019-08-01 22:58:20 +02:00
Enno Rehling
55299346f8 use wint_t, not long. 2019-08-01 18:49:39 +02:00
Enno Rehling
0fef06a661 Bug 2594: KONTAKTIERE vor STIRB 2019-07-31 08:31:19 +02:00
Enno Rehling
c880b6c99b merge conflict resolution MAXSCHOLARS 2019-07-30 11:18:09 +02:00
Enno Rehling
909a839adf simplify: WORK and ENTERTAIN use the same request array.
reduce need for global variables.
2019-07-30 11:13:25 +02:00
Enno Rehling
fdfe0d3b35 check MAX_ENTERTAINERS.
extract recruit from economy.
Bug 2600 (WIP).
2019-07-29 23:53:59 +02:00
Enno Rehling
28a4cfa55d bug 2597 wormholes teleport more than one unit. 2019-07-28 22:32:08 +02:00
Enno Rehling
7bb17225c9 Seaserpents are cannibals. 2019-07-28 18:41:26 +02:00
Enno Rehling
5cf680997e implement atoi36 with strtol 2019-07-28 12:56:59 +02:00
Enno Rehling
141e95c5c9 bugfix: KONTAKTIERE ohne Parameter crasht. 2019-07-28 07:43:54 +02:00
Enno Rehling
c3e86ff6da Make the worst-case number of Golems look better. 2019-07-27 16:50:45 +02:00
Enno Rehling
a33ac3b402 Increase MAX_WORKERS for Blumenkinder. 2019-07-27 09:28:50 +02:00
Enno Rehling
c70e597b05 Update copyright notice with current date. 2019-07-14 09:37:35 +02:00
Enno Rehling
0281ebc44b Bug 2596: Crash durch leeres Banner
https://bugs.eressea.de/view.php?id=2596
2019-07-14 09:26:32 +02:00
Enno Rehling
26521bcd2b hide unused function 2019-07-06 17:30:09 +02:00
Enno Rehling
3f395541e1 Merge branch 'master' of github.com:ennorehling/eressea 2019-07-06 12:09:11 +02:00
Enno Rehling
7eb0e580a0 increase MAXSCHOLARS 2019-07-06 12:05:32 +02:00
Enno Rehling
f677a21541 disable QUIT FACTION with ifdef QUIT_WITH_TRANSFER 2019-07-06 12:02:52 +02:00
Enno Rehling
05b8477b8a STIRB PARTEI hat immer nur eine Einheit übergeben. 2019-07-04 20:44:11 +02:00
Enno Rehling
33d3ce8e6a more intelligent batching of automated students. 2019-06-26 21:31:47 +02:00
Enno Rehling
38ff25042b Allow batching of too many students.
Limit number of batched units to 128.
2019-06-24 21:41:04 +02:00
Enno Rehling
6e64d749b0 tricks to reduce sizeof(scholar) 2019-06-24 20:51:09 +02:00
Enno Rehling
e6b84410b9 start work on next major release 2019-05-26 20:13:02 +02:00
Enno Rehling
9f2741f3dc fix any migrants that have received aura. 2019-05-19 15:47:13 +02:00
Enno Rehling
1c01f4d083 fix the fix_fam_spells function (2585 WIP) 2019-05-19 15:28:16 +02:00
Enno Rehling
670aa56d4e fix_fam_spells happy case test (is familiar) 2019-05-19 15:14:01 +02:00
Enno Rehling
cab3f4309f simple test for aurafocus effect on max spellpoints. 2019-05-19 12:38:54 +02:00
Enno Rehling
a35a0ca516 2582 WIP: failing test for regenerate_aura 2019-05-19 10:52:32 +02:00
Enno Rehling
4391ab95fa Bug 2483: FLIEHE als Default für neue Parteien, nicht AGGRESSIV. 2019-05-18 16:16:30 +02:00
Enno Rehling
2018238263 Bug 2584: gray mages can regenerate aura. 2019-05-18 13:16:13 +02:00
Enno Rehling
d2ee91bc88 Bug 2584: failing test for aura regeneration. 2019-05-18 12:56:40 +02:00
Enno Rehling
7dbb417b93 Bug 2575 2019-05-11 20:52:06 +02:00
Enno Rehling
7a59a11c20 Merge branch 'master' into develop 2019-05-08 21:09:39 +02:00
Enno Rehling
5c7788ecdd Merge branch '2541-quit' into develop 2019-05-04 12:01:55 +02:00
Enno Rehling
cd28f3aee4 heroes lose their status when gifted. 2019-05-04 11:11:30 +02:00
Enno Rehling
2cb4287268 do not transfer migrants. comments are good. 2019-05-04 11:06:56 +02:00
Enno Rehling
8605409ed3 limited-skill units are only transferred up to the limit. 2019-05-04 10:45:51 +02:00
Enno Rehling
6637c94852 do not allow transfer of heros and limited units. 2019-05-01 20:46:26 +02:00
Enno Rehling
7b3b792d01 Nicht Sonnensegel verhindert Sturmelementar, sondern Sturmelementar verhindert Sturmelementar. 2019-05-01 20:08:14 +02:00
Enno Rehling
b13deb2b04 test maximum shipspeed with all modifiers 2019-04-30 22:06:08 +02:00
Enno Rehling
8c0fc4bd91 2577: Fix resource values, again. 2019-04-30 18:56:37 +02:00
Enno Rehling
bbcb2113d7 WIP feature: STIRB <password> [PARTEI <nr>] 2019-04-30 18:40:24 +02:00
Enno Rehling
968f67a567 delete intermittent test: ents have no special guarding powers. 2019-04-27 18:30:30 +02:00
Enno Rehling
cffcac8af7 fix binding faction.no to sqlite statement. 2019-04-26 23:54:22 +02:00
Enno Rehling
2442aed1db null pointer handling for strlcpy 2019-04-25 16:31:35 +02:00
Enno Rehling
692cdcea13 Rechtschreibung
Dragon Evolution: hitpoint tweaking.
2019-04-25 08:44:48 +02:00
Enno Rehling
5acfdf5cd0 fix unused variable warning. 2019-04-24 15:13:27 +02:00
Enno Rehling
75dfed8082 Leerzeichen aus Beschreibungen trimmen. 2019-04-24 13:09:59 +02:00
Enno Rehling
7298968921 schema version 2
faction no is a char(4), not an int.
2019-04-24 08:08:50 +02:00
Enno Rehling
aab234a3f4 update to schema version 1
- factions table is now faction
- no turn column
- new update logic
2019-04-23 13:19:14 +02:00
Enno Rehling
91e40b7061 Bug 1982: Klone auflösen, und Magiern ihre permanete Aura und Trank zurück geben. 2019-04-07 21:37:06 +02:00
Enno Rehling
3f021b21cd Bug 1982: disable the clone spell. 2019-04-07 17:55:04 +02:00
Enno Rehling
94f54dc105 Merge branch 'master' of github.com:ennorehling/eressea 2019-04-07 16:07:10 +02:00
Enno Rehling
c92f7505e5 Bug 2576: additional logging.
increase log verbosity, decrease some log levels.
2019-04-07 15:28:47 +02:00
Enno Rehling
ca5e7b82ae Bug 2570: Linie vor jeder Region, Leerzeilen aufgeräumt. 2019-04-07 15:27:11 +02:00
Enno Rehling
bcca812ecc Bug 2576: additional logging.
increase log verbosity, decrease some log levels.
2019-04-07 13:11:02 +02:00
Enno Rehling
510b6c2628 Zeige keine Luxusgüter-Statistik im Ozean. 2019-04-06 19:00:59 +02:00
Enno Rehling
df746dd342 Newbie islands should not have volcano terrain. 2019-04-05 17:14:28 +02:00
Enno Rehling
6351f04916 blnak line conflict? 2019-04-03 18:24:42 +02:00
Enno Rehling
3b1a615f25 Merge branch 'master' into develop 2019-03-31 21:20:21 +02:00
Enno Rehling
29a9d8d30b Merge remote-tracking branch 'upstream/master' 2019-03-31 21:18:35 +02:00
Enno Rehling
17484e220f Bug 2569: Rostregen macht zu viele Waffen kaputt. 2019-03-31 21:03:31 +02:00
Enno Rehling
8868855837 allow setting password to null 2019-03-31 18:14:37 +02:00
Enno Rehling
53662878aa minor cleanup 2019-03-31 10:19:02 +02:00
Enno Rehling
fc6bb36ee4 BUG 2566 mountains with no low-level resources.
NB: new data version
2019-03-24 21:27:43 +01:00
Enno Rehling
63b762a627 missing nul-termination triggers valgrind. 2019-03-24 17:51:41 +01:00
Enno Rehling
7c01170563 Merge branch 'master' into develop 2019-03-24 17:27:58 +01:00
Enno Rehling
f1c27f09e3 dragon evolution gives full hitpoints. 2019-03-24 17:24:16 +01:00
Enno Rehling
ea1bf3d3b9 Bug 2567: we had alliances with status 0 in the data. 2019-03-24 17:18:25 +01:00
Enno Rehling
2a702cbabc Merge remote-tracking branch 'upstream/develop' into develop 2019-03-18 10:37:13 +01:00
Enno Rehling
d1fbd924e0 increase version number 2019-03-18 10:36:33 +01:00
Enno Rehling
ef81a20c6e 2565 Leerzeile nach Helfe-Status.
Helfestatus an das Ende des Reports.
2019-03-11 21:37:32 +01:00
Enno Rehling
8cc38420f0 missing nul-termination triggers valgrind. 2019-03-03 13:13:46 +01:00
Enno Rehling
2a0688d1b4 re-enable undead check, I think it is fixed. 2019-03-03 13:12:37 +01:00
Enno Rehling
9f3f9d7c56 fix the new password test 2019-03-03 13:12:08 +01:00
Enno Rehling
8253d8f833 new players should have lastorders = 0, get password. 2019-03-03 13:11:20 +01:00
Enno Rehling
5dd12df100 BUG 2564: show new spells. 2019-03-03 13:11:03 +01:00
Enno Rehling
9210f77a1a fix bcrypt use 2019-03-03 09:44:44 +01:00
Enno Rehling
894bb4db4c BUG 2504: skeletons can learn.
There was a mixup between the AI feature and the race capability, so I cleared up the code a little bit.
It's annoying that these flags are in the same int.
2019-03-03 09:42:42 +01:00
Enno Rehling
de06600394 fix coverity errors 2019-03-03 09:42:42 +01:00