Commit Graph

153 Commits

Author SHA1 Message Date
Enno Rehling 3e1462a192 add empty calendar unit test. 2017-05-07 13:35:59 +02:00
Enno Rehling 51ec560f72 Merge branch 'master' into develop
Conflicts:
	scripts/tests/e2/init.lua
	scripts/tests/e3/init.lua
	src/economy.c
	src/economy.test.c
	src/kernel/item.c
	src/modules/arena.c
2017-03-11 14:41:25 +01:00
Enno Rehling 6d9387f6c2 warn about unused variables, back on 2017-03-01 18:16:07 +01:00
Enno Rehling 67252e2924 add conversion program 2017-02-26 15:03:47 +01:00
Enno Rehling 9e14bf5cf9 clang complains about -ansi? 2017-02-18 21:26:38 +01:00
Enno Rehling 12b1dcaa38 remove platform-cruft 2017-02-18 21:23:24 +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 10e78b1455 remove code for dict and lua .objects properties.
rewrite muschelplateau code to use keys.
2017-02-11 22:15:21 +01:00
Enno Rehling 2b3617a998 build versioning for pre-release builds 2017-01-30 10:35:59 +01:00
Enno Rehling f86d86d4c6 Revert "remove sqlite3 code and dependency"
This reverts commit 7b55a57610.
2017-01-26 18:06:48 +01:00
Enno Rehling 59916d1d5c remove sqlite3 code and dependency 2017-01-26 18:06:48 +01:00
Enno Rehling 437d959d97 do not set -Werror twice 2017-01-26 18:05:26 +01:00
Enno Rehling 1921fa4ec1 issue #478: re-enable -Werror 2017-01-26 18:05:26 +01:00
Enno Rehling f297d89958 merge monster.c and monsters.c
move RCF_DESERT handling to monsters.c
2017-01-26 17:57:21 +01:00
Enno Rehling a4badc0a75 remove quicklist shim, use selist everywhere 2017-01-26 17:41:21 +01:00
Enno Rehling 2ace44d385 fix duplicate cutest library conflict and crash 2017-01-26 16:05:44 +01:00
Enno Rehling 955997d58c WIP: use latest clibs with selist.
adding a transitional quicklist.c module to reduce work.
2017-01-26 06:00:08 +01:00
Enno Rehling 20fe039b16 use joint clibs directory instead of quicklist/critbit. 2016-12-19 21:35:02 +01:00
Enno Rehling 43b8ff1ea8 fix strdup compilications when compiling with gcc and autoconf. 2016-11-26 16:21:41 +01:00
Enno Rehling 7d874f1606 fix clang builds 2016-11-18 13:24:50 +01:00
Enno Rehling f371a0c5f3 eliminate unused callback module.
what was I thinking when I wrote this?
2016-11-17 10:32:20 +01:00
Enno Rehling 264fc0cb6f test renumbering units and factions. 2016-11-16 20:03:34 +01:00
Enno Rehling 17365edff7 move renumber command to a separate module. 2016-11-15 23:34:20 +01:00
Enno Rehling 654926fa06 add a failing test for "monsters can guard when unarmed" 2016-10-29 19:18:43 +02:00
Enno Rehling a5d44f9638 re-enable creport 2016-09-17 22:57:22 +02:00
Enno Rehling 951bf5718e Merge branch 'develop' into kill-seen-region 2016-09-17 12:41:06 +02:00
Enno Rehling adfafd51a6 test lighthouses 2016-09-17 12:34:02 +02:00
Enno Rehling d449ce4a8c re-enable report writing, fix report.c to work without seen_region 2016-09-16 18:03:28 +02:00
Enno Rehling 55df24ffb8 all code review nitpicks fixed. 2016-09-16 16:54:41 +02:00
Enno Rehling b0799bd152 fix travis build by not depending on CMake 2.8.8 2016-09-16 16:30:56 +02:00
Enno Rehling dc004b2d71 require cmake version 2.8.8 (add_library <name> OBJECT ...) 2016-09-16 16:30:49 +02:00
Enno Rehling 47526dd36b smarter version.c build that avoids full rebuilds. 2016-09-16 16:30:43 +02:00
Enno Rehling 10916bb0a1 use add_definitions instead of CMAKE_C_FLAGS, define ERESSEA_VERSION only on version.c 2016-09-16 16:30:30 +02:00
Enno Rehling bf59b1adf9 fix travis build by not depending on CMake 2.8.8 2016-09-16 10:55:38 +02:00
Enno Rehling 00a3a934f5 require cmake version 2.8.8 (add_library <name> OBJECT ...) 2016-09-16 09:49:53 +02:00
Enno Rehling dbde14fdff smarter version.c build that avoids full rebuilds. 2016-09-16 09:39:59 +02:00
Enno Rehling 77e39fc64b use add_definitions instead of CMAKE_C_FLAGS, define ERESSEA_VERSION only on version.c 2016-09-15 20:14:17 +02:00
Enno Rehling cd71a21bf5 really disable reports 2016-09-13 21:09:05 +02:00
Enno Rehling 482e619969 disable reports entirely. 2016-09-13 20:17:59 +02:00
Enno Rehling 4e4b4e482e split off report.test from reports.test
move some tests around
2016-09-13 20:13:26 +02:00
Enno Rehling 428f640ba6 disable reports tests. have to sort them by report.test and reports.test first 2016-09-13 19:09:53 +02:00
Enno Rehling 648857f52c disable report.c temporarily 2016-09-13 18:52:35 +02:00
Enno Rehling f520d8396d make creport not use seen_region.
remove jsreport from build
2016-09-13 15:30:09 +02:00
Enno Rehling 71fa3600f7 recalculate [first,last) after lighthouses aand trvelthru 2016-09-13 09:09:35 +02:00
Enno Rehling 497f53102c set version based on most recent tag 2016-09-10 18:44:19 +02:00
Enno Rehling 5864651b28 WIP: add a simple test for summary, add a simple dtor for them (it is still leaking stuff). 2016-09-09 17:20:09 +02:00
Enno Rehling 388ea174ef disable conversion warning (for mtrand code).
do not know how to do it selectively, so disabling all of it.
2016-09-04 13:09:10 +02:00
Enno Rehling 00c4c337ff remove crypto submodule, stea mtrand from it 2016-09-04 10:47:21 +02:00
Enno Rehling 020ab942ec add tests for monster naming functions (existence only). 2016-08-28 17:37:08 +01:00
Enno Rehling 4bdc9a5153 extract main volcano loop to volcano module, start adding tests 2016-08-22 21:27:24 +02:00