Commit graph

4499 commits

Author SHA1 Message Date
Enno Rehling
b288a62542 simplify random injection, extend it to integer constants 2021-03-12 19:24:44 +01:00
Enno Rehling
cd8cd3c45d replace damage_unit with somethign that doesn't malloc 2021-03-11 20:15:25 +01:00
Enno Rehling
e2a567e9c9 add tests for dice_rand term evaluation 2021-03-11 19:53:44 +01:00
Enno Rehling
c0304ff572 error message whenever we recruit less than ordered. 2021-03-11 19:26:50 +01:00
Enno Rehling
010dde1cb8 fix bug in last change, could not give items to peasants. 2021-03-04 15:49:12 +01:00
Enno Rehling
5df3c3dc4b fix a crash in give_cmd.
do give_unit last, because it kills the actively iterated list.
2021-03-03 20:10:51 +01:00
Enno Rehling
7d434323a7 make use of build no. 2021-02-28 17:11:31 +01:00
Enno Rehling
3df552676c begin work on version 3.28 2021-02-24 19:46:55 +01:00
Enno Rehling
ccba09390b compile with ERESSEA_VERSION 2021-02-24 19:45:45 +01:00
Enno Rehling
f48551ebcb remove unicode from autoseed (races are always english tokens) 2021-02-24 18:48:12 +01:00
Enno Rehling
355b9ff7fc remove lunit from repository (use luarocks)
make info panel bigger, do not cut off names.
2021-02-22 19:51:46 +01:00
Enno Rehling
6176e5e754 gmtool no longer needs unicode.h 2021-02-21 22:58:17 +01:00
Enno Rehling
df4317f9f1 remove non-utf8 hacks from mapper.
correclty refresh map window after listboxes close.
2021-02-21 22:32:40 +01:00
Enno Rehling
979f2f7b6e build with ncursesw
Now we can display special characters and proper boxes
2021-02-21 22:05:43 +01:00
Enno Rehling
a3499dd895 fix new bug in ascii converter. 2021-02-21 21:01:52 +01:00
Enno Rehling
abf548cecd overdue unicode cleanup.
our new pdcurses can do utf8 output, let's use it.
convert output on a windows tty to codepage 1252.
2021-02-21 20:49:03 +01:00
Enno Rehling
b9eea2c8a2 forgot to increase verison number for 3.27 2021-02-21 13:41:36 +01:00
Enno Rehling
d8c0b57864 we don't need to track age statistics for any but the new factions. rename global age to newbies. 2021-02-21 00:54:33 +01:00
Enno Rehling
e1d117754a fix new callback signature for jsonconf 2021-02-21 00:37:31 +01:00
Enno Rehling
d4f09fbf74 fix tests that expected the old storage library behavior 2021-02-21 00:21:19 +01:00
Enno Rehling
3db561ec3a require cmake 3.13, not more 2021-02-20 23:24:50 +01:00
Enno Rehling
e0e82c5fa5 fix MSVC warning levels, move _CRT_SECURE_NO_WARNINGS define to sources 2021-02-20 23:22:10 +01:00
Enno Rehling
4dfa1035b6 fix libbsd and string function detection 2021-02-18 22:26:41 +01:00
Enno Rehling
b63d5e31ac tolua update again 2021-02-16 10:12:05 +01:00
Enno Rehling
c8d03c9ea3 fix inifile and tolua builds
remove our custom assert header
2021-02-16 10:12:05 +01:00
Enno Rehling
e156a65779 fix the inifile cli editor 2021-02-16 10:12:05 +01:00
Enno Rehling
a59fdf87cb separate stats and log 2021-02-16 10:12:05 +01:00
Enno Rehling
b6b95f58ed import the inifile builder from iniparser repo 2021-02-16 10:12:05 +01:00
Enno Rehling
db402c4e2c include custom version of tolua as a submodule.
change how libm and libbsd are detected.
2021-02-16 10:12:05 +01:00
Enno Rehling
d1ec2bbb5c tolua creates sources that abuse the LUALIB_API defines.
Manually fixing the generated files so they don't try to declare dllimports.
2021-02-16 10:12:05 +01:00
Enno Rehling
b0093868b3 eliminate cJSON submodule 2021-02-16 10:12:05 +01:00
Enno Rehling
fb3047beb5 add cmake support for iniparser package 2021-02-16 10:12:05 +01:00
Enno Rehling
0d2b3a76b7 fix compilation with Lua 5.4 (LUA_QL no longer exists) 2021-02-16 10:12:04 +01:00
Enno Rehling
ebc8c3f1d2 add FindSQLite3 for older cmake versions 2021-02-16 10:12:04 +01:00
Enno Rehling
70ccef02ae use vcpkg packages on windows
make cmake files smarter
2021-02-16 10:12:04 +01:00
Enno Rehling
117edad7e4 more astral spell magic resist fixes 2021-02-16 10:12:04 +01:00
Enno Rehling
b756fde006 spells must deal with resisting targets, or sigsegv will happen 2021-02-16 10:12:04 +01:00
Enno Rehling
8d286d5e23 fix disabling of tree growth. 2021-02-16 10:12:04 +01:00
Enno Rehling
8fbcf3f379 Neue Option für schnelleres Samenwachstum. 2021-02-16 10:12:04 +01:00
Enno Rehling
cc5e062b68 https://bugs.eressea.de/view.php?id=2724
Magieresistenz reparieren.
2021-02-16 10:12:04 +01:00
Enno Rehling
d03face3c1 simplicate and add more lightness 2021-02-16 10:12:04 +01:00
Enno Rehling
31f589e76f https://bugs.eressea.de/view.php?id=2716
improved messages when following a ship.
2021-02-16 10:12:04 +01:00
Enno Rehling
8ef95e6729 https://bugs.eressea.de/view.php?id=2716
Bei FOLGE Schiff muss das Zile nicht in der gleichen Region sein!
2021-02-16 10:12:04 +01:00
Enno Rehling
f09bed10b7 personen mit racename können eh nicht übergeben werden, code kann man sich sparen. 2021-02-16 10:12:04 +01:00
Enno Rehling
af2dadfc8e https://bugs.eressea.de/view.php?id=2719
fix shapeshifted units without a timer
do not transfer shapeshift spell when giving to a new unit.
2021-02-16 10:12:04 +01:00
Enno Rehling
fb294d9118 add a debug option, -D
usually do not need to save the game when debugging
2021-02-16 10:12:04 +01:00
Enno Rehling
f4acff67e4 https://bugs.eressea.de/view.php?id=2720
report study costs to the correct unit
2021-02-16 10:12:04 +01:00
Enno Rehling
0bbadf2a66 https://bugs.eressea.de/view.php?id=2718
Better error messages for drifting ship.
2021-02-16 10:12:04 +01:00
Enno Rehling
e97f80ad3c eliminate some high-level warnings 2021-02-16 10:12:04 +01:00
Enno Rehling
da83e3f2f6 coverity CID 215803 Dereference after null check 2021-02-16 10:12:04 +01:00