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
3fb12d8f1e
replace snprintf and the like.
...
you cannot trust _snprintf in MSVC (no zero-termination).
2017-01-07 21:09:39 +01:00
Enno Rehling
7f9313f1a7
static analysis warnings.
...
PVS-Studio warnings reduced or suppressed.
2016-11-23 18:56:40 +01:00
Enno Rehling
b8df3f3a5f
increase the datatype for scores from int to long long
...
this fixes https://bugs.eressea.de/view.php?id=2136
2015-09-06 19:04:04 +02:00
Enno Rehling
c5a6f5bd03
fix -Wconversion in reports.c, json.c
2015-05-15 11:19:26 +02: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
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
fb32ebcd18
segmentation fault in export when a plane has no name (default plane).
2014-10-09 08:34:03 +02:00
Enno Rehling
46f6628a08
remove obsolete commands (PRAY) and parameters
2014-06-21 07:34:36 -07:00
Enno Rehling
a986640ef6
json export for planes. untested. old tests broken. WIP
2014-03-22 01:56:00 -07:00
Enno Rehling
632322a445
additional testing
...
improved directory detection in build script
2014-03-16 14:19:51 -07:00
Enno Rehling
eba61c1cda
handle empty world
...
and add tests for it
2014-03-16 11:17:47 -07:00
Enno Rehling
e350b8a146
rebuild lua bindings
...
fix json export
add a script to reset submodules
2014-03-16 02:12:49 -07:00
Enno Rehling
7845de0403
json import of regions
...
this is terribly untested, it barely compiles.
2014-03-16 01:51:08 -07:00
Enno Rehling
1a7d892a96
use cmake for autoconf, slim down platform.h
2014-03-15 19:29:11 +01:00
Enno Rehling
fc1a56d46a
rename export to json.
...
this may or may not have been a good idea, but for now, that is what I
choose.
2014-03-14 22:30:07 -07:00