Commit Graph

7980 Commits

Author SHA1 Message Date
Enno Rehling 774fa12a5a continued work for MSVC compilation 2017-01-26 18:05:25 +01:00
Enno Rehling 5ddd511aa8 continue fixing compilation (gcc/clang) 2017-01-26 18:03:48 +01:00
Enno Rehling d94cde67a4 kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-26 18:03:48 +01:00
Enno Rehling ae3bfc952b create_order takes variable arguments!
more snprintf removal.
2017-01-26 17:57:22 +01:00
Enno Rehling 03def6ae5e replace snprintf and the like.
you cannot trust _snprintf in MSVC (no zero-termination).
2017-01-26 17:57:21 +01:00
Enno Rehling fd759e7ff6 remove old & unused fix_famililar repair code. 2017-01-26 17:57:21 +01:00
Enno Rehling 9351a1960e gcc warning eliminated 2017-01-26 17:57:21 +01:00
Enno Rehling 2422e63af2 never use strncpy, anywhere. 2017-01-26 17:57:21 +01:00
Enno Rehling d71d5e413a eliminate unnecessary strncpy use. 2017-01-26 17:57:21 +01:00
Enno Rehling 47c8b20f68 add a happy test for mt_new.
refactor to not use strncpy.
2017-01-26 17:57:21 +01:00
Enno Rehling d4dd9b4bc6 enable PAY NOT in E2 2017-01-26 17:57:21 +01:00
Enno Rehling b8bccd7238 monster name pluralization changes with u->number. 2017-01-26 17:57:21 +01:00
Enno Rehling e49d350348 test that monsters with "namegeneric" hook get a NULL name (WIP) 2017-01-26 17:57:21 +01:00
Enno Rehling 51bebfdb6b fix undead name generation. 2017-01-26 17:57:21 +01:00
Enno Rehling 0c865dca57 failing test for name_unit. 2017-01-26 17:57:21 +01:00
Enno Rehling 8c045d7a78 fix flt/int compilation bug. 2017-01-26 17:57:21 +01:00
Enno Rehling f297d89958 merge monster.c and monsters.c
move RCF_DESERT handling to monsters.c
2017-01-26 17:57:21 +01:00
Enno Rehling 129f6fb68a fix bug 2266 2017-01-26 17:57:21 +01:00
Enno Rehling 13128be0aa add a failing test for bug 2266 2017-01-26 17:57:21 +01:00
Enno Rehling 5cb67e1da0 start writing a test (WIP). 2017-01-26 17:57:21 +01:00
Enno Rehling 70dfe20e62 small edit (int->bool) 2017-01-26 17:57:21 +01:00
Enno Rehling 61f3585ad7 unlimited teachers.
quicklist replaces fixed array.
2017-01-26 17:57:21 +01:00
Enno Rehling d42f1767ff add a test for teach-messages.
vheck that they are generated for students and teachers.
2017-01-26 17:57:21 +01:00
Enno Rehling a4badc0a75 remove quicklist shim, use selist everywhere 2017-01-26 17:41:21 +01:00
Enno Rehling 2ace44d385 fix duplicate cutest library conflict and crash 2017-01-26 16:05:44 +01:00
Enno Rehling c72b050a42 WIP: quicklist->selist shim can compile and link, but tests crash 2017-01-26 10:53:52 +01:00
Enno Rehling 1382583109 fix compilation (but not linking). 2017-01-26 10:15:26 +01:00
Enno Rehling d9213c8f25 WIP: still converting to clibs/selist 2017-01-26 10:12:12 +01:00
Enno Rehling 955997d58c WIP: use latest clibs with selist.
adding a transitional quicklist.c module to reduce work.
2017-01-26 06:00:08 +01:00
Enno Rehling bcd5d4584b Merge pull request #641 from ennorehling/develop
cleanup
2017-01-25 21:31:14 +01:00
Enno Rehling 78e43bd62e hack compress to not use /home/enno/bin script 2017-01-25 21:26:30 +01:00
Enno Rehling fb653d6dcf Merge branch 'bug2274' into develop 2017-01-25 21:15:35 +01:00
Enno Rehling f921a14ab6 Merge pull request #640 from ennorehling/bug2274
BUG 2274: Bestimmung des Regionsbesitz bei BENENNE
2017-01-25 21:14:13 +01:00
Enno Rehling 30fc6f3e91 BESCHREIBE REGION ist jeder Einheit des Regionsbesitzers erlaubt 2017-01-25 21:03:08 +01:00
Enno Rehling 77cbd04cfa BENENNE REGION ist jeder Einheit des Regionsbesitzers erlaubt 2017-01-25 20:57:54 +01:00
Enno Rehling b170a30faa add a function to compare size of occupied castles 2017-01-25 18:17:19 +01:00
Enno Rehling d4e8a43048 Merge pull request #639 from ennorehling/develop
BUG 2273: runtests.bat fails when config is auto-loaded.
2017-01-24 11:52:32 +01:00
Enno Rehling 404ac546fa BUG 2273: runtests.bat fails when config is auto-loaded.
run rules tests with the correct configuration, ignore .ini file
setting.
still not enabling auto-load again, use custom.lua instead.
2017-01-24 10:36:27 +01:00
Enno Rehling 9cea70afe8 Merge pull request #638 from ennorehling/develop
disable config.lua auto-laod
2017-01-23 21:40:57 +01:00
Enno Rehling 99274e3ab1 make runtests.bat not crash.
disable auto-load of config.lua (sob).
free messages and config in config.reset().
2017-01-23 21:35:01 +01:00
Enno Rehling 6d9d920f81 fix issue #477 (intermittent volcano) 2017-01-23 11:45:05 +01:00
Enno Rehling 2185e7d5e5 Merge remote-tracking branch 'upstream/develop' into develop 2017-01-23 11:44:05 +01:00
Enno Rehling bce2afac12 Merge pull request #636 from ennorehling/develop
issue #633 & #477
2017-01-23 11:42:31 +01:00
Enno Rehling 646e6f7197 refactor and annotate volcano outbreaks.
add configuration options to control volcano behavior.
2017-01-23 11:21:48 +01:00
Enno Rehling e19f0ad381 issue #633: parse FACTION/PARTEI in any language.
added a test since the first fix did not work.
2017-01-23 10:47:49 +01:00
Enno Rehling ed3667130e Merge pull request #635 from ennorehling/develop
FACTION and PARTEI should both start orders.
2017-01-23 09:47:46 +01:00
Enno Rehling 23d1355fa1 FACTION and PARTEI should both start orders. 2017-01-23 09:22:29 +01:00
Enno Rehling 31b551aa1e Merge pull request #634 from ennorehling/develop
Letzte Reste des Eressea-Namens entfernen.
2017-01-22 21:35:22 +01:00
Enno Rehling 3a07d43321 specify a game id, because there is one in the data 2017-01-22 21:02:15 +01:00
Enno Rehling 30665f874a fix game_name, remove it from rules 2017-01-22 20:32:54 +01:00