Commit graph

168 commits

Author SHA1 Message Date
Enno Rehling
02248e0c54 fix coverity scan errors 2017-12-12 09:19:47 +01:00
Enno Rehling
d48b9611e1 have cmake determine bsdstring requirement 2017-12-11 18:36:57 +01:00
Enno Rehling
5576ef37b6 remove building_action feature, it seems that it isn't in use. 2017-12-09 21:20:20 +01:00
Enno Rehling
ffbc9596d7 we do not need a USE_LIBXML define, xml is a hard requirement. 2017-12-09 21:04:27 +01:00
Enno Rehling
3864a00482 remove stealing from economy.c (that file is too big). 2017-12-04 20:01:08 +01:00
Enno Rehling
41f20c02b2 fix bdb load/save, use recno db 2017-11-19 16:30:20 +01:00
Enno Rehling
2224b59ff9 organize database drivers in their own directory 2017-11-18 12:55:07 +01:00
Enno Rehling
dbe835e485 add cmake directives to build with Berkeley DB 2017-11-16 18:30:18 +01:00
Enno Rehling
add9d24f52 convert needs sqlite3 now (because libgame does). 2017-11-10 07:45:15 +01:00
Enno Rehling
0cd9651690 fix sqlite linking for tests.
implement save_order for sqlite.
2017-11-09 21:12:25 +01:00
Enno Rehling
fee9b6d0a8 separate database logic from order_data.
laying groundwork for different database backends.
2017-11-09 19:55:28 +01:00
Enno Rehling
6d79f85628 orderdb backend choices and first tests. 2017-10-14 08:43:01 +02:00
Enno Rehling
78360b1466 refactoring: move order_data to orderdb module. 2017-10-13 19:34:39 +02:00
Enno Rehling
703c6c0385 some examples for how the new orderfile logic can be used to write unit tests. 2017-10-07 20:17:04 +02:00
Enno Rehling
f3515c8e07 move read_orders to its own module 2017-10-07 19:38:39 +02:00
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