Commit Graph

10284 Commits

Author SHA1 Message Date
Enno Rehling d122ba22d0 fix reports backup, I hope 2019-03-03 09:42:42 +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
Enno Rehling 07f7adbe56 include expat in dependencies 2019-03-03 09:42:42 +01:00
Enno Rehling f83f17687b remove queue after we are done with it 2019-03-03 09:42:42 +01:00
Enno Rehling 306c1d8659 simplify the orders.queue locking logic, remove it from python 2019-03-03 09:42:42 +01:00
Enno Rehling d03f2cdab6 Mantis 2552: rewrite goblin stealing to be more readable. 2019-03-03 09:42:42 +01:00
Enno Rehling 2e1bd01c54 asciification 2019-03-03 09:42:42 +01:00
Enno Rehling ffccf8014f asciification 2019-03-03 09:42:42 +01:00
Enno Rehling 1944c2c136 asciify more files 2019-03-03 09:42:42 +01:00
Enno Rehling debb86601b umlaut substitutions 2019-03-03 09:42:42 +01:00
Enno Rehling 9e44b8a989 kaputte umlaute ersetzt, ascii 4 lyfe 2019-03-03 09:42:42 +01:00
Enno Rehling 9436640d22 remove UTF-8 BOM from sources 2019-03-03 09:42:42 +01:00
Enno Rehling 35bbcac97b eliminate warnings from cppcheck 2019-03-03 09:42:41 +01:00
Enno Rehling 3b81b7797f eliminate MAX/MIN macros completely 2019-03-03 09:42:41 +01:00
Enno Rehling 24eacbb40d eliminate MIN and MAX macros 2019-03-03 09:41:53 +01:00
Enno Rehling 9214975732 reserve memory for backtrace before it runs out 2019-03-03 09:41:53 +01:00
Enno Rehling ebe1df4cb9 review some flawfinder warnings 2019-03-03 09:41:53 +01:00
Enno Rehling 6f771ace3e re-undo splint warning fizes 2019-03-03 09:41:53 +01:00
Enno Rehling 6f61ca87a7 fix some weak splint warnings 2019-03-03 09:41:53 +01:00
Enno Rehling f054bdf8cf BUG 2549 promote after recruit
calculating max units before PROMOTE requires that all recruitment has finished.
2019-03-03 09:41:53 +01:00
Enno Rehling dea177cc5e MSVC debugger gets confused when two structs have the same name 2019-03-03 09:41:53 +01:00
Enno Rehling 1f95a46e64 Vereinfachte Statistik für Durchreiseregionen anzeigen. 2019-03-03 09:41:53 +01:00
Enno Rehling 765e2c5c61 newline after travelthru message 2019-03-03 09:41:53 +01:00
Enno Rehling acbbf42db1 write a warning in the template about password replacement.
for new factions, put the generated password into the template.
normalize and secure password generation.
2019-03-03 09:41:53 +01:00
Enno Rehling 9b3e651e9f missing newline 2019-03-03 09:41:15 +01:00
Enno Rehling b5624e6a8a Some tests for WORK and wages. 2019-03-03 09:41:15 +01:00
Enno Rehling cdb648b761 Check that groups are cleared when units are transferred. 2019-03-03 09:41:15 +01:00
Enno Rehling 92725faee6 New tests for give_unit and migrants. 2019-03-03 09:41:15 +01:00
Enno Rehling e9b2918209 fix source encodings, break umlauts, ASCII everywhere 2019-03-03 09:41:15 +01:00
Enno Rehling a597e97708 Someone was casting leaveastral with more than 32 arguments recently. 2019-03-03 09:41:15 +01:00
Enno Rehling 0de71b424a fix compilation 2019-03-03 09:41:15 +01:00
Enno Rehling 2a96fffeb5 starting to see diminishing returns. 2019-03-03 09:41:15 +01:00
Enno Rehling 484945d42a more allocation checks. 2019-03-03 09:41:15 +01:00
Enno Rehling 033070663a code analysis scan.
add checks for malloc results.
reduce stack size.
2019-03-03 09:41:15 +01:00
Enno Rehling a16c829218 include what you use 2019-03-03 09:41:15 +01:00
Enno Rehling 3d2bd2f1cd remove unused function 2019-03-03 09:41:15 +01:00
Enno Rehling 5764f71985 readorders was deprecated and is now gone. 2019-03-03 09:41:15 +01:00
Enno Rehling 0137d70221 order atoi36 conditions by likeliness. 2019-03-03 09:41:15 +01:00
Enno Rehling 28293eb2df cmake (on macOS) already has a FindLua module 2019-03-03 09:41:15 +01:00
Enno Rehling ca7f3fbf88 reduce variables scope (cppcheck warnings). 2019-03-03 09:41:15 +01:00
Enno Rehling 230a2d8fba do not use macros for va_copy, which is available from C99 on and with gcc >= 3.0.
this somehow eliminates bogus cppcheck warnings
2019-03-03 09:41:15 +01:00
Enno Rehling 6bf33f9fc2 stop coverity warning (realloc). 2019-03-03 09:41:15 +01:00
Enno Rehling 07d2278741 re-enable intermittent test, supplement unit test.
Untote reservieren nichts von anderen Einheiten.
2019-03-03 09:41:15 +01:00
Enno Rehling 230f7ca11f BUG 2535: Anzeige von Kampfzaubern.
use sbs_printf where possible.
2019-03-03 09:40:54 +01:00
Enno Rehling d0577a5d6a cppcheck style warnings: reduce variable scope 2019-03-03 09:40:22 +01:00
Enno Rehling 11c21d035a fix dupe declaration merge snafu 2019-03-03 09:39:52 +01:00
Enno Rehling 45c44a03fb some static analysis warnings (cppcheck and msvc). 2019-03-03 09:39:52 +01:00
Enno Rehling 83556f8010 cppcheck style 2019-03-03 09:39:52 +01:00
Enno Rehling cb7d2e9fcb fewer warnings from cppcheck 2019-03-03 09:39:52 +01:00