Commit graph

4436 commits

Author SHA1 Message Date
Enno Rehling
0cfdee0218 https://bugs.eressea.de/view.php?id=2712
Make the reports.lua script not break passwords of
 new players.
2020-12-06 15:47:47 +01:00
Enno Rehling
e23d5e6949 remove bad assumption
units on ships are not all at the end of the list, or ordered.
2020-12-06 15:47:47 +01:00
Enno Rehling
e4e06dfcbe bug 2710 ships moving in circles break guard 2020-12-06 15:47:47 +01:00
Enno Rehling
fe463a9f44 bug 2710: add tests, fix land movement 2020-12-06 15:47:47 +01:00
Enno Rehling
b50994bb9c add a test for famililar skill modifiers. 2020-12-06 15:47:47 +01:00
Enno Rehling
69c4595282 Build in Visual Studio 2019
simplify test_create_faction
rewrite lots of tests
2020-12-06 15:47:47 +01:00
Enno Rehling
9e4e9c2d3e fix integer conversion warning 2020-12-06 15:47:47 +01:00
Enno Rehling
0ee4afc023 initialize building_type.magres 2020-12-06 15:47:47 +01:00
Enno Rehling
65488eb2f8 fix undead spawn chance.
disable commands for EX.
2020-12-06 15:47:47 +01:00
Enno Rehling
53fac9ab58 variable-based monster spawns 2020-12-06 15:47:47 +01:00
Enno Rehling
1293b9f27c disable iwyu, it is reporting garbage 2020-12-06 15:47:47 +01:00
Enno Rehling
c39bbed2b5 lighthouses protect from drifting
do not check for maintenance in update_lighthouse, but when the lighthouse is used.
2020-12-06 15:47:47 +01:00
Enno Rehling
68b409e1e7 ships on a ROUTE can drift. 2020-12-06 15:47:47 +01:00
Enno Rehling
814fda43a0 Regentanz / Segen der Erde
Der Effekt soll angeblich nur für Bauern gelten, nicht für Spieler.
2020-12-06 15:47:47 +01:00
Enno Rehling
8c62bd95cd Refactor the wage function for readability.
Add a test for wages at different castle sizes.
2020-12-06 15:47:47 +01:00
Enno Rehling
6868cbb928 screw you, iwyu 2020-12-06 15:47:47 +01:00
Enno Rehling
7eb26db2ec move gcc-specific signal handling out of main.c 2020-12-06 15:47:47 +01:00
Enno Rehling
10cafcbdec pointer out of scope 2020-12-06 15:47:47 +01:00
Enno Rehling
be17f600eb resource visibility, code clarification. 2020-12-06 15:47:47 +01:00
Enno Rehling
7987317697 add a setting for an alternate resource discovery rule. 2020-12-06 15:47:47 +01:00
Enno Rehling
8cabd04b75 division by zero error 2020-12-06 15:47:47 +01:00
Enno Rehling
a3f55de9a7 teachers do not need to be in an academy.
remove source files for academy.
2020-12-06 15:47:47 +01:00
Enno Rehling
0c080ad7dd coverity complains about possibly missing warden. 2020-12-06 15:47:47 +01:00
Enno Rehling
2c71e7fb82 start version 3.26 development Q4/2020 2020-12-06 15:47:47 +01:00
Enno Rehling
f78aa507f8 https://bugs.eressea.de/view.php?id=2701
fix the academy
make academy, curses and potions work for LERNE AUTO
remove E3 study.speedup
2020-12-06 15:47:47 +01:00
Enno Rehling
4e9bc53288 avoid division by zero for uninitialized btype->magres fractions 2020-11-07 21:28:25 +01:00
Enno Rehling
44ce77e0c4 allow setting region age from lua 2020-10-14 18:55:06 +02:00
Enno Rehling
79924f0551 disable iwyu 2020-10-12 08:52:05 +02:00
Enno Rehling
4a7dadfb9b make regions age only once someone discovers then 2020-10-12 08:47:54 +02:00
Enno Rehling
c7aab36c6e GIB KOMMANDO erst nach drittem BETRETE 2020-09-24 19:16:46 +02:00
Enno Rehling
513e448976 academy changes light: teacher does not need to be in an academy 2020-09-11 21:58:42 +02:00
Enno Rehling
573404e390 https://bugs.eressea.de/view.php?id=2699
Sichtbarkeit aus Leuchttürmen korrigiert.
2020-09-11 21:35:35 +02:00
Enno Rehling
ba39de9d25 Fix CR output for list of regions
Add pvp/pve battle statistics
2020-09-05 23:08:44 +02:00
Enno Rehling
712e1c3052 FOLGE SCHIFF repariert.
https://bugs.eressea.de/view.php?id=2698
FOLGE generell verbessert, so daß man mehrere FOLGE Befehle setzen kann.
Bugfix: findship findet auch "leere" Schiffe, der Caller muss jetzt auf sh->number testen.
Schiffe und Burgen können ab sofort die selben IDs benutzen.
Befehlsreihenfolge: FOLGE erst nach VERLASSE/GIB
2020-09-03 21:42:38 +02:00
Enno Rehling
d9a0bc7016 undo the crazy region_id hack.
accept that the CR is what it is, and it has a coordinate type.
2020-08-29 10:43:42 +02:00
Enno Rehling
f95549a91a Fehlendes \n bei einfachen attributen im CR 2020-08-23 21:28:15 +02:00
Enno Rehling
9c71139bf4 add region_id to messages that include a region. 2020-08-23 20:55:58 +02:00
Enno Rehling
708abf4997 CR version 69, new attribute: section
MESSAGE.section replaces MESSAGETYPE.section
2020-08-23 20:19:30 +02:00
Enno Rehling
7ddb7bc181 fix a TODO and a coverity warning. 2020-08-16 21:19:50 +02:00
Enno Rehling
b4fb721db4 make var_copy_regions not leaak (coverity) 2020-08-16 21:17:23 +02:00
Enno Rehling
740f4a568b refactor new_border's relationship to nextborder.
loading a connection was unnecessarily changing nextborder.
2020-08-16 20:39:08 +02:00
Enno Rehling
e9baa06a63 remove existing roads from oceans.
new datafile version!
2020-08-16 20:32:19 +02:00
Enno Rehling
d53a901d8a https://bugs.eressea.de/view.php?id=2694
when terraforming, remove roads.
2020-08-16 20:04:56 +02:00
Enno Rehling
11ce5a2f32 remove deprecated report functions 2020-08-16 16:00:30 +02:00
Enno Rehling
d4400bb583 remove deprecated init_order_depr 2020-08-16 16:00:30 +02:00
Enno Rehling
2e44e2dd09 eliminate deprecated function. 2020-08-16 16:00:30 +02:00
Enno Rehling
bf00a9a994 create_data: remove short-lived allocation. 2020-08-16 16:00:30 +02:00
Enno Rehling
f7dc15b64f move_cmd caller no longer has to call init_order.
refactor move_cmd to be more like other command processors.
2020-08-16 16:00:30 +02:00
Enno Rehling
734614ab6f deal with gcc's -Werror=switch 2020-08-16 16:00:30 +02:00
Enno Rehling
aa28ad323a LOCALE command: do not delete orders with incomplete translations
Instead, we let the player fix them from echeck warnings.
2020-08-16 16:00:30 +02:00