Commit graph

4424 commits

Author SHA1 Message Date
Enno Rehling
90511b434c update test for lighthouse visibility 2020-08-16 16:00:29 +02:00
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