Commit graph

1425 commits

Author SHA1 Message Date
Enno Rehling
394839f7a4 WIP: optimized study orders, failing 15 study tests 2017-10-13 19:33:28 +02:00
Enno Rehling
1033143411 fix gcc build 2017-10-13 19:33:28 +02:00
Enno Rehling
42f7be4bb9 do not use a list to store several million entries. 2017-10-13 19:33:28 +02:00
Enno Rehling
34cd692c2d remove the locale from orders. 2017-10-13 19:33:28 +02:00
Enno Rehling
2b54605080 remove order de-duplication for short and study orders. 2017-10-13 19:33:27 +02:00
Enno Rehling
db0bd8d4db refactor: split order_data from order, force use of ids (to be replaced with db backend). 2017-10-13 19:33:27 +02:00
Enno Rehling
1b53128e1a BUG 2366: Fix cansee for seen_spell regions. 2017-10-10 20:24:20 +02:00
Enno Rehling
c2634bd095 move readorders to orderfile module. 2017-10-07 19:44:23 +02:00
Enno Rehling
ecce8e5d91 Revert "refactor: extract a read_order function."
This reverts commit 8b39133dbf.
2017-10-07 18:06:54 +02:00
Enno Rehling
0537d39b17 add a fix for 2367 to fix_familiars 2017-10-07 03:22:35 +02:00
Enno Rehling
f594a908df deprecate old get_mage implementation.
fix test_familiar_equip with new get_mage.
2017-10-06 21:53:07 +02:00
Enno Rehling
2ce94f2d47 BUG 2367: refactor create_newfamiliar.
add first failing test for bug report.
2017-10-06 21:23:58 +02:00
Enno Rehling
4452f93009 BUG 2367: add a test for set_familiar. 2017-10-05 22:13:39 +02:00
Enno Rehling
02cfde0a49 fix create_unit default order memory leak 2017-10-01 17:08:05 +02:00
Enno Rehling
03f46e35c4 one short order to rule them all. 2017-09-30 20:09:30 +02:00
Enno Rehling
e50c421b3f can remove the keyword from order_data now 2017-09-30 20:08:22 +02:00
Enno Rehling
a067838fa0 test all the edge cases. 2017-09-30 19:44:39 +02:00
Enno Rehling
5c63d20ff7 fix remaining bugs 2017-09-30 19:35:40 +02:00
Enno Rehling
54fdda85cd smallify order 2017-09-30 19:22:24 +02:00
Enno Rehling
86e99a560c read_order must use parse_order (not create) to properly handle make temp. 2017-09-26 18:52:26 +02:00
Enno Rehling
8b39133dbf refactor: extract a read_order function. 2017-09-26 17:07:49 +02:00
Enno Rehling
e0514eddb5 let callers pass memory into create_order_i 2017-09-25 22:15:13 +02:00
Enno Rehling
9a1295b4a5 push whitespace eating down the stack a bit. 2017-09-25 22:12:49 +02:00
Enno Rehling
778f487afa remove whitespace eating from parse_order. 2017-09-25 22:08:23 +02:00
Enno Rehling
6bf2ac34e3 test that whitespace is ignored when parsing orders 2017-09-25 22:04:16 +02:00
Enno Rehling
1203b6e23a fix clang build warning 2017-09-22 19:13:42 +02:00
Enno Rehling
f350b81d51 gcc warning 2017-09-22 17:59:23 +02:00
Enno Rehling
8ebd4c2066 some more bugs reading objects that are conditional on save-data 2017-09-22 17:58:10 +02:00
Enno Rehling
0a9705809b fix some bugs created during conversions (thanks, tests!) 2017-09-22 17:19:55 +02:00
Enno Rehling
3aed0b1ee5 fix gcc compilation 2017-09-22 16:39:46 +02:00
Enno Rehling
0c16727d41 hashing implemented with linear probing and tombstones.
WIP: this crashes 572 in faction_getmages?
2017-09-22 09:15:37 +02:00
Enno Rehling
afe4532966 remove code for unsupported old region references 2017-09-21 17:29:01 +02:00
Enno Rehling
902e2126c9 WIP: change the resolve.h API 2017-09-21 17:29:01 +02:00
Enno Rehling
cda17d5379 The minimum data version has actually been 332 for a long time. 2017-09-21 16:30:29 +02:00
Enno Rehling
89e162c12a change resolve.h api to use int, not variant. 2017-09-19 11:42:02 +02:00
Enno Rehling
30777e5948 CID 173898 'Constant' variable guards dead code 2017-09-18 20:27:34 +02:00
Enno Rehling
4bccc87f2b fix Invalid read (valgrind) in remove_skill 2017-09-18 20:20:13 +02:00
Enno Rehling
832ba5f948 relax the limit on shortness of names a bit. 2017-09-18 20:14:46 +02:00
Enno Rehling
f43ec9ee0f remove equipment.name, save an allocation. 2017-09-18 20:03:23 +02:00
Enno Rehling
b4fc7a1ab4 fix coverity nag about spellbooks. 2017-09-18 19:51:47 +02:00
Enno Rehling
2451a8f637 resource names are max 23 bytes long.
fix rt_find nul-termination bug
2017-09-18 17:57:59 +02:00
Enno Rehling
c45c211dcf merge equipment fixes from develop 2017-09-18 17:47:24 +02:00
Enno Rehling
e2f6ada862 limit equipment names to 15 byte plus nul. 2017-09-18 17:46:26 +02:00
Enno Rehling
4cab65d233 fail get_equipment test when name is exactly 16 bytes long. 2017-09-18 17:32:39 +02:00
Enno Rehling
5605510351 Merge branch 'develop' 2017-09-18 17:27:09 +02:00
Enno Rehling
6ab35d80d0 Merge branch 'develop' of https://github.com/ennorehling/eressea.git 2017-09-18 17:26:50 +02:00
Enno Rehling
7fdbb1b939 add a test for rt_find to flush out substring matches. 2017-09-18 17:26:34 +02:00
Enno Rehling
69079ce319 remove it_register, because it does nothing. 2017-09-18 17:20:58 +02:00
Enno Rehling
1f65932794 add a test for get_equipment with substrings. 2017-09-18 17:20:09 +02:00
Enno Rehling
c9445ab517 change resource_type trie storage 2017-09-18 11:48:42 +02:00