Enno Rehling
b8ee5b3c76
begin the work to swap strings to database
2018-10-23 22:31:42 +02:00
Enno Rehling
b22d838a57
move gamedata.c to kernel
2018-09-29 13:21:46 +02:00
Enno Rehling
a373807189
move attrib and event modules to kernel
2018-09-29 11:37:17 +02:00
Enno Rehling
b47a41541f
write a new (expensive) in-memory db driver for orders.
2018-09-28 21:43:20 +02:00
Enno Rehling
91c49659ef
orderdb is glue code, belongs outside of kernel.
2018-09-28 21:02:32 +02:00
Enno Rehling
7b9e72e559
reduce dependeny spaghetti for database code.
2018-09-28 20:51:16 +02:00
Enno Rehling
ccc5556682
adding code to export faction information.
...
sqlite3 implementation only, not tied to anything yet.
add faction.uid
remove faction.subscription
2018-09-24 20:18:21 +02:00
Enno Rehling
bbae56633b
rules was part of convert, and we do never finished that branch.
2018-05-18 21:19:01 +02:00
Enno Rehling
d15684a546
fix test_process_turn failure.
...
move turn global to calendar.
promote calendar module to kernel.
2018-02-14 20:01:36 +01:00
Enno Rehling
6fca773426
BUG 2416: prefer sqlite over db
2018-01-28 18:26:54 +01:00
Enno Rehling
b0ef468617
select berkeley over sqlite, compile only one
2018-01-26 18:02:10 +01:00
Enno Rehling
88a96d5723
begin adding tests for skills.
2018-01-21 11:03:49 +01:00
Enno Rehling
6481acac76
move xmlreader.c up a directory.
2018-01-21 11:03:49 +01:00
Enno Rehling
0435c9ee8b
jsonconf reads game rules outside of kernel, so move it out.
2018-01-14 17:50:54 +01:00
Enno Rehling
b078015e85
prefer sqlite over berkeley
2017-11-26 18:16:34 +01:00
Enno Rehling
2f5f685e55
add berkeley db, rename some files
2017-11-19 12:31:50 +01:00
Enno Rehling
2224b59ff9
organize database drivers in their own directory
2017-11-18 12:55:07 +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
cb0cd87f23
fix callbacks linkage for clang/mac
2017-05-02 15:10:43 +02:00
Enno Rehling
edd3b36a9f
add a callbacks module.
...
make last-chance spell function in lua for spells with none.
2017-04-30 21:38:44 +02:00
Enno Rehling
f406c47657
use converter frm noxml branch
2017-02-26 15:30:58 +01:00
Enno Rehling
cd69936922
fix demand in terraformed regions.
...
https://bugs.eressea.de/view.php?id=2249
2016-10-24 13:47:38 +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
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
4dc9b737de
mark missing test files in CMakeLists.txt
...
kill some dead code prototypes
2016-04-09 18:19:30 +02:00
Enno Rehling
c0acfddb71
test some simple facts about planes
2016-04-09 14:26:10 +02:00
Enno Rehling
80b14048be
remove some unused code from alliances
...
start writing test coverage
2016-04-08 19:45:27 +02:00
Enno Rehling
91f894b290
teleport.c is the astral space implementation, and it is not one of the core concepts, so move it out of the kernel/ directory
2016-01-28 12:25:16 +01:00
Enno Rehling
09efd9c2a9
fix anything that uses the calendar module. opps.
2015-09-12 12:54:49 +02:00
Enno Rehling
490782e750
add some simple tests for messages, prior to any refactorings.
2015-01-15 16:40:19 +01:00
Enno Rehling
188e003f7c
retrofit tests for alliances.
2014-12-09 14:43:11 +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
483a2ba3de
add missing tests for groups.
2014-10-31 19:15:26 +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
Enno Rehling
d435c13bfc
adding more tests.
...
test for build()
test for scale_number()
update submodules
2014-08-26 20:06:49 +02:00
Enno Rehling
4c00777553
make race::_name a string, not an array of strings. add a test for rc_name.
2014-08-24 23:58:29 +02:00
Enno Rehling
cc0b0ad71b
added a test for addfaction.
...
removing struct player, since it is not in use.
2014-08-20 23:42:33 +02:00
Enno Rehling
acfe72f24e
add a test for get_monsters().
...
I want to make sure I don't break this in the future.
2014-08-20 07:00:58 +02:00
Enno Rehling
cef068fe9b
cut the number of allocations for order-data in half.
...
started writing a test file for orders.
2014-08-16 23:26:31 +02:00
Enno Rehling
38352ef3bf
add the build number to saves.
...
this should make future debugging sessions easier, telling us what bugs were or were not fixed at the time of an incident.
added a test to make sure data file can be read/written, and at a minimum, sets global data-version.
also clean up test framework a bit, and introduce a helpful macro.
2014-08-14 05:06:36 +02:00
Enno Rehling
89e7a7826f
added some tests for building buildings.
2014-06-28 16:19:46 -07:00
Enno Rehling
07d10d9ab0
add tests for get_param functions
2014-06-25 07:22:39 -07:00
Enno Rehling
bff25f3c51
move skill_t into a separate file, give it unit tests.
...
name functions the same as we did for keyword/direction earlier.
to do: json configuration and lua test.
2014-06-20 23:59:04 -07:00
Enno Rehling
6a20594fd3
renamedtest files in the rest of the makefiles, too. oops.
2014-06-16 08:07:08 -07:00
Enno Rehling
28726e2bea
update cmake to compile without sqlite3, curses or libxml2 installed.
...
This is not actually recommended, but your system may not have
this,and you should still be able to contribute. also, libxml2 is on
the way out, I am beginning to really hate it.
Moving a couple of files around.
2014-06-11 20:30:34 -07:00
Enno Rehling
3c4b6b9dd4
rename message.[hc] to messages.[hc] in kernel because of naming conflict with util/
...
begin json config files (WIP)
2014-06-09 09:56:49 -07:00
Enno Rehling
dceff481d7
json config files, beginning with races
2014-06-07 22:17:48 -07: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