Enno Rehling
b9ae927aa3
remove copyright notices.
2019-09-13 21:35:44 +02:00
Enno Rehling
c70e597b05
Update copyright notice with current date.
2019-07-14 09:37:35 +02:00
Enno Rehling
269030082c
remove struct equipment from the code entirely.
2018-05-15 21:51:47 +02:00
Enno Rehling
7e6688552b
create a callback mechanism for equipment.
2018-05-11 21:30:26 +02:00
Enno Rehling
5b1d27542a
reduce dependence on platform.h.
...
gradually stop using MAX and MIN (mistakes were made).
2017-12-28 18:29:40 +01:00
Enno Rehling
f4388f4429
free equipments, fewer leaks.
2017-12-26 13:26:40 +01: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
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
97dc98862b
do not use strncpy, then
2017-09-18 08:39:06 +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
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
4e5f1d05ce
Be very strict about C standards.
...
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
Enno Rehling
7009f26ee5
code duplication, lazy_spell was almost the same as spellref.
2017-02-02 20:18:20 +01:00
Enno Rehling
64e45248dc
rename create_equipment function
2017-01-26 18:06: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
a4badc0a75
remove quicklist shim, use selist everywhere
2017-01-26 17:41:21 +01:00
Enno Rehling
42c44724f8
testing lazy find_spell calls for equipment configuration
2016-09-24 17:29:55 +02:00
Enno Rehling
993af3a7f9
memory leak in equipment.skills
2016-09-08 06:56:16 +02:00
Enno Rehling
cb706c2cf2
equipment.test is down to two leaks and one TODO
2016-09-07 21:29:54 +02:00
Enno Rehling
d84ed1f89d
move static variable cleanup to kernel_done.
...
clean up some more.
2016-09-07 21:22:05 +02:00
Enno Rehling
144fcbef58
Merge branch 'develop' of github.com:ennorehling/eressea into develop
2016-09-07 20:48:16 +02:00
Enno Rehling
dda845e2f4
free configuration data (valgrind calls it still-reachable leaks).
2016-09-07 20:46:41 +02:00
Enno Rehling
282cc129d7
spellbook_clear crash fix
2016-09-07 19:02:03 +02:00
Enno Rehling
dd2f146e27
fix equipment static memory leak
2016-09-07 17:09:37 +01:00
Enno Rehling
df325b243a
enable stricter conversion checking for gcc < 4.9, fix code
2015-05-15 20:35:36 +02:00
Enno Rehling
c54cbfd472
fix copyright notice
2015-01-30 22:10:29 +01:00
Enno Rehling
abca25d1d5
fix indentation in every file
...
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
2015-01-30 20:37:14 +01:00
Enno Rehling
955a57273d
code review changes
2014-07-24 08:04:30 +02:00
CTD
4cfa1ec7c3
Bug 1755 Beschworene Skelette mit Ausdauerproblemen
...
Sowohl Beschworenen Untote als auch Monster (Drachen, für Monster-Untote
war es Ok) hatten keine Anpassung ihrer Max-HP nach der Zuweisung von
Skills.
2014-07-18 13:15:18 +02:00
Enno Rehling
1a7d892a96
use cmake for autoconf, slim down platform.h
2014-03-15 19:29:11 +01:00
Enno Rehling
03c247c788
I am killing the core/ directory.
...
Lots of files are moving to a new location in src/
Some intersting CMake changes.
2014-02-18 05:45:00 +01:00