Commit Graph

10894 Commits

Author SHA1 Message Date
Enno Rehling a9a7609a9a make curse_active check for a magician.
fix tests that were using curses without a creator.
2021-03-23 19:27:11 +01:00
Enno Rehling 5e7fba50d6 Dämonen können magisch reanimiert werden. 2021-03-23 18:53:11 +01:00
Enno Rehling 5452987cb7 flee_spell did not need an extra argument
checking for precombat spells is easy and safe!
2021-03-23 18:53:11 +01:00
Enno Rehling b6e084c758 fix recent change for terraforming herbs 2021-03-23 18:52:42 +01:00
Enno Rehling bb82df04c4 terraforming changes herbs
https://bugs.eressea.de/view.php?id=2730
2021-03-23 18:52:42 +01:00
Enno Rehling 5d2dbcb93a we do not need cmake 3.19 2021-03-23 18:52:42 +01:00
Enno Rehling de1386dba6 on macos, there is apparently no ncursesw 2021-03-23 18:52:42 +01:00
Enno Rehling de9918f018 fix recent change for terraforming herbs 2021-03-23 18:52:06 +01:00
Enno Rehling 3ef6559c5f terraforming changes herbs
https://bugs.eressea.de/view.php?id=2730
2021-03-23 18:52:06 +01:00
Enno Rehling 26edfea405 we do not need cmake 3.19 2021-03-23 18:52:06 +01:00
Enno Rehling 09c257a3d0 on macos, there is apparently no ncursesw 2021-03-23 18:52:05 +01:00
Enno Rehling 181d82819a fix unsigned mismatch 2021-03-23 18:51:38 +01:00
Enno Rehling bdf4069675 update changelog 2021-03-23 18:51:38 +01:00
Enno Rehling 9c9be163d8 fix review comments,
extract meffect_protection and add a test.
2021-03-23 18:51:38 +01:00
Enno Rehling f11802d817 eliminate some type conversion warnings (MSVC) 2021-03-23 18:51:38 +01:00
Enno Rehling 521ae1f769 fix recent change for terraforming herbs 2021-03-23 18:51:38 +01:00
Enno Rehling eb1785568d terraforming changes herbs
https://bugs.eressea.de/view.php?id=2730
2021-03-23 18:51:37 +01:00
Enno Rehling a9bca011b9 we do not need cmake 3.19 2021-03-23 18:51:37 +01:00
Enno Rehling 6d106899c1 on macos, there is apparently no ncursesw 2021-03-23 18:51:37 +01:00
Steffen Mecke 5a595bd315 fix for flee spell 2021-03-23 18:50:49 +01:00
Steffen Mecke 4ee01be75f fix für Schild des Fisches 2021-03-23 18:50:49 +01:00
Enno Rehling 480d80f7c6 eliminate type conversion warning 2021-03-23 18:50:48 +01:00
Enno Rehling 842b37a5a2 indentation 2021-03-23 18:50:48 +01:00
Enno Rehling 3548722a58 clarification: at_dict is deprecated but has a conversion. 2021-03-23 18:50:48 +01:00
Enno Rehling 0573ddfbab https://bugs.eressea.de/view.php?id=2732
fix permanent smurfs
2021-03-23 18:50:48 +01:00
Enno Rehling 5fef373181 fix recent change for terraforming herbs 2021-03-23 18:50:48 +01:00
Enno Rehling c4c81547e8 https://bugs.eressea.de/view.php?id=2732
Einige Untotenrassen konnten nicht desertieren.
2021-03-23 18:50:48 +01:00
Enno Rehling 316188531e terraforming changes herbs
https://bugs.eressea.de/view.php?id=2730
2021-03-23 18:50:48 +01:00
Enno Rehling 738ddfc2e5 fix error message 2021-03-23 18:50:48 +01:00
Enno Rehling 42b71163ec use new storage module version 2021-03-23 18:50:48 +01:00
Enno Rehling 44b75288d2 we do not need cmake 3.19 2021-03-23 18:50:48 +01:00
Enno Rehling 0957209f31 on macos, there is apparently no ncursesw 2021-03-23 18:50:48 +01:00
Enno Rehling 117a506b6b remove tolua submodule, build with system library (WIP) 2021-03-23 18:50:48 +01:00
Steffen Mecke 3334fc05e7 e3 test irrelevant 2021-03-21 17:50:06 +01:00
Steffen Mecke 109b5d78a7 good dreams end when magician is dead 2021-03-21 14:14:01 +01:00
Enno Rehling 36653ec65b fix highly theoretical source of crash.
bind_eressea now checks if bindings were called without filename
2021-03-15 20:00:58 +01:00
Enno Rehling 56141ee7a1 include what you use 2021-03-14 17:42:18 +01:00
Enno Rehling d1aff44d7b Happy Pi day!
Let's use M_PI, it's available in all known math.h implementations.
2021-03-14 17:39:53 +01:00
Enno Rehling 07c1dee907 materials array is terminated with number == 0
we say nothing about rtype.
2021-03-14 16:35:55 +01:00
Enno Rehling 5b7a3cba32 buildings offer protection from volcano damage 2021-03-13 21:19:40 +01:00
Enno Rehling 5876c1a011 https://bugs.eressea.de/view.php?id=2729
castles were giving too much protection.
2021-03-13 21:18:47 +01:00
Enno Rehling 812907ffb5 Add_compile_options(/FC) fixes error messages.
The build output window was showing the wrong filename. See:
https://developercommunity.visualstudio.com/t/cmake-project-cant-click-on-error/729350
https://gitlab.kitware.com/cmake/cmake/-/issues/18261
2021-03-13 17:08:15 +01:00
Enno Rehling 14e95c9675 refactoring building_stage.construction
every building_stage has a construction.
no need to malloc it separately.
optimize some more allocations.
replace some memset and calloc calls.
2021-03-13 15:38:16 +01:00
Enno Rehling e6e5e75c4c let's try something: exparse handlers should not allocate 2021-03-13 14:39:20 +01:00
Enno Rehling c5b8839634 introduce new building_protection as a shortcut. 2021-03-13 14:25:30 +01:00
Enno Rehling 376b1106a6 rename to bt_protection 2021-03-13 14:20:37 +01:00
Enno Rehling c8d8eb85d3 code style: do not cast the result of malloc 2021-03-13 14:17:07 +01:00
Enno Rehling b9a20bb378 C90 has no inline keyword 2021-03-13 09:01:40 +01:00
Enno Rehling a9ca16e767 Testing for C90 compatibility 2021-03-13 08:55:45 +01:00
Enno Rehling 38fd655af9 remove the weird rounding macro from peasant growth 2021-03-13 08:14:01 +01:00