Enno Rehling
bfb5a9b692
set age_unit and name_unit funpointers in rc_create.
...
no more <function/> in XML races.
rename juju-zombie => juju.
2017-02-20 22:07:36 +01:00
Enno Rehling
ba1fdcce59
remove race.describe funpointer
2017-02-20 07:47:36 +01: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
b27e1a01aa
continued work for MSVC compilation
2017-01-10 18:07:36 +01:00
Enno Rehling
8b7dae6977
kill autoconf.h, replace platform.h for C99 compatibility work
2017-01-10 16:31:05 +01:00
Enno Rehling
5b7cdc4d48
monster name pluralization changes with u->number.
2016-12-31 20:17:02 +01:00
Enno Rehling
f07c79e5cf
CID 146892: null-pointer check should be an assert.
2016-09-11 19:09:23 +02:00
Enno Rehling
4e323f8120
bugfix #551 : do not return a stack buffer that isn't static
2016-09-02 16:18:45 +02:00
Enno Rehling
fdc91c01a0
remove some FIXME comments
2016-08-30 07:56:40 +01:00
Enno Rehling
33701ab891
make describe_braineater more generic (describe_race).
2016-08-28 20:44:45 +01:00
Enno Rehling
c18d75207e
remove a TODO: static return variable from make_names.
2016-08-28 20:31:25 +01:00
Enno Rehling
e3b0dfedc9
race naming functions do more work than before.
2016-08-28 20:27:40 +01:00
Enno Rehling
514565d66b
move race_name_func registrations into race.c
2016-08-28 20:02:45 +01:00
Enno Rehling
0f3de70ced
refactor to push back the const-ness of generated names.
2016-08-28 19:06:14 +01:00
Enno Rehling
d1b6629281
extract counting name particles.
2016-08-28 19:00:04 +01:00
Enno Rehling
30cc5405ae
CID 22467: Division or modulo by zero
...
github issue #348
2015-11-04 12:59:03 +01:00
Enno Rehling
7efda5f967
CID 22468 Division or modulo by zero
2015-11-03 23:18:56 +01:00
Enno Rehling
1f055b3175
CID 22466 Division or modulo by zero
2015-11-03 23:17:11 +01:00
Enno Rehling
fbf483fb4e
CID 22518: Parse warning (PW.PARAM_SET_BUT_NOT_USED)
2015-10-30 15:21:06 +01:00
Enno Rehling
b8d7fa5bcc
CID 22567: Copy into fixed size buffer (STRING_OVERFLOW)
...
bsdstring replacements, again
2015-10-30 11:09:28 +01:00
Enno Rehling
51f66b8da8
CID 22568: Copy into fixed size buffer (STRING_OVERFLOW)
...
more bsdstring replacements
2015-10-30 11:06:24 +01:00
Enno Rehling
e69635d697
CID 22569: Copy into fixed size buffer (STRING_OVERFLOW)
...
bsdstring functions are the best.
2015-10-30 11:02:51 +01:00
Steffen Mecke
ab1376d212
trying to test curse_write/read
2015-05-13 12:05:45 +02:00
Steffen Mecke
a31898ceb5
fix bug in generic_name, minor improvements
...
Amusingly, names::generic_name used u->no instead of u->number to determine
singular or plural.
2015-02-11 23:10:27 +01: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
3d4fefcf7c
Some additional TODO comments for things I want to tackle eventually. #comment-only
2015-01-10 17:05:10 +01:00
Enno Rehling
0fead39b41
added a function that sets a monster's name to NULL if it is the name of its race.
...
deprecate old rc_name function (renamed to rc_name_s) because it used a static return string.
2014-12-09 07:20:36 +01:00
Enno Rehling
1af315ebf2
move magic out of kernel, into src.
...
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
2014-11-01 12:57:01 +01:00
Enno Rehling
a9a0455207
reorganized directory structure.
...
flattening the directory structure, moving some modules to the src/ directory.
making stealth a separate file, under test.
more tests for some stuff.
2014-08-27 06:40:35 +02:00