Commit Graph

8625 Commits

Author SHA1 Message Date
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 59169f3eb1 simplicate 2017-09-21 17:26:37 +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 5e204083b8 remove noreply email, monster report. 2017-09-18 21:43:52 +02:00
Enno Rehling d8c063ae50 CID 172474 + 173899 Copy into fixed size buffer 2017-09-18 20:33:36 +02:00
Enno Rehling 30777e5948 CID 173898 'Constant' variable guards dead code 2017-09-18 20:27:34 +02:00
Enno Rehling fd27534132 coverity CID 173897 Pointer to local outside scope 2017-09-18 20:23:31 +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 02ed1dfe0c fix get_spellbook with cb_find_str. 2017-09-18 19:35:37 +02:00
Enno Rehling 6d79f5fad1 Merge branch 'coverity-equipment' 2017-09-18 19:13:39 +02:00
Enno Rehling 6083ff7616 get_spellbook has a bug. new clibs version 2017-09-18 19:13:26 +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
Enno Rehling 97dc98862b do not use strncpy, then 2017-09-18 08:39:06 +02:00
Enno Rehling eca1e5f973 make keys_size not return 4096 all the time. 2017-09-17 21:09:23 +02:00
Enno Rehling 455e03fa05 try and make coverity understand the equipment trie.
shorten names.
2017-09-17 20:42:43 +02:00
Enno Rehling 8e0bdbe428 coverity scan does not understand get_or_create_equipment? 2017-09-17 09:31:43 +02:00
Enno Rehling 0d0fb49381 attempt to fix valgrind bug 2017-09-16 09:34:47 +02:00
Enno Rehling 0a3eb9ac7b fix read/write of regioninfo. 2017-09-16 09:03:42 +02:00
Enno Rehling 1b19e8d19c BUG 2365: Ozeane sollen keine Beschreibung haben können.
https://trello.com/c/GSeHT8t6/618-why-r-display-not-r-land-display
2017-09-16 08:42:49 +02:00
Enno Rehling 423fe65377 move region display to land_region struct, oceans do not have descriptions. 2017-09-16 07:58:57 +02:00
Enno Rehling 8c6362002e fix some niggles, delete invalid test. 2017-09-16 07:37:33 +02:00
Enno Rehling 860afe855f improve the skill read/write code. 2017-09-15 22:03:54 +02:00
Enno Rehling 8b4e3b7738 extract write_skills and read_skills functions. 2017-09-15 21:55:57 +02:00
Enno Rehling a569ef67e8 sortiere unit.skills nach id.
TODO: binary search statt linear, read_unit optimization

https://trello.com/c/ydUTDGgl/616-sort-unitskills-binary-search
2017-09-15 21:52:20 +02:00
Enno Rehling 1319f546b8 fix seaserpent tests, simplify monster tests. 2017-09-09 15:24:50 +02:00
Enno Rehling c5181195d7 new feature: sea serpents will not go after small targets. 2017-09-09 12:58:10 +02:00
Enno Rehling b9b3f0322e slightly faster lookup for equipment, probably. 2017-09-08 22:24:17 +02:00
Enno Rehling e7fe3f8292 push stream compatibility calls back to cr_output_region. 2017-09-05 19:52:48 +02:00
Enno Rehling 127cc41e8e BUG 1779: Elfenwald-Effekte bei Trankzaubern.
https://bugs.eressea.de/view.php?id=1779
2017-09-05 18:56:47 +02:00
Enno Rehling 46b065dd29 BUG 2203: Schattenrichter sind gewichtslos 2017-09-04 20:08:56 +02:00
Enno Rehling 873b1a81af testing that words do not get split, lines get split at spaces. 2017-09-04 20:08:34 +02:00