Enno Rehling
|
0bfd1feee6
|
Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
src/kernel/item.c
|
2017-03-11 14:49:31 +01: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
|
cdf13c9fec
|
stop using test_create_world, use test_setup.
|
2017-03-11 14:22:21 +01:00 |
|
Enno Rehling
|
be0b54494e
|
clean up some tests.
the test locale gets some extra strings.
test_create_world is bad, stop using it. unfinished.
|
2017-03-10 21:29:37 +01:00 |
|
Enno Rehling
|
40e0a9a65f
|
merge bugs
|
2017-03-06 22:21:27 +01:00 |
|
Enno Rehling
|
7022ae05bd
|
Merge branch 'master' into develop
Conflicts:
src/kernel/item.c
src/modules/arena.c
|
2017-03-06 22:20:22 +01:00 |
|
Enno Rehling
|
ba8f51b7d4
|
Merge pull request #667 from ennorehling/hotfix/config-2301
fix bugs 2301, 2302, 2303
|
2017-03-06 21:57:23 +01:00 |
|
Enno Rehling
|
05bb109a09
|
BUG 2303: allied units are not traitors.
had to rewrite the creport code for this, it is probably less efficient now than ever, but at least it works.
|
2017-03-06 21:35:48 +01:00 |
|
Enno Rehling
|
1c72b0f297
|
warn about missing game.mailcmd setting
|
2017-03-06 20:52:06 +01:00 |
|
Enno Rehling
|
f4eda9f59e
|
prefer dice to dice_rand
|
2017-03-06 06:28:12 +01:00 |
|
Enno Rehling
|
4d07782e7d
|
Merge branch 'master' into develop
Conflicts:
scripts/tests/e2/init.lua
scripts/tests/e3/init.lua
src/economy.c
src/economy.test.c
|
2017-03-06 06:27:31 +01:00 |
|
Enno Rehling
|
0379a17350
|
make report_resource return an rtype, not a name.
|
2017-03-05 17:42:57 +01:00 |
|
Enno Rehling
|
52dd11a28f
|
create a failing test for stones in the NR.
|
2017-03-05 17:18:17 +01:00 |
|
Enno Rehling
|
45862a06d0
|
Add a good test for the NR.
TODO: make it fail.
|
2017-03-05 16:55:11 +01:00 |
|
Enno Rehling
|
6a87625409
|
refactor cr_output_resources for easy testing.
Write a (failing) test that checks first resource is silver.
|
2017-03-05 15:26:04 +01:00 |
|
Enno Rehling
|
aa662e65d2
|
eliminate R_PERSON hack.
|
2017-03-05 13:58:11 +01:00 |
|
Enno Rehling
|
5675ef6091
|
clean and extend the enum of resources.
|
2017-03-05 11:10:59 +01:00 |
|
Enno Rehling
|
acfb666539
|
remove rtype->uget funpointer, and lua callbacks.
fix a missing lua_pop that trashed the heap.
|
2017-03-04 20:59:43 +01:00 |
|
Enno Rehling
|
50bdc71c1b
|
kill lua_canuse_item and itype->canuse
|
2017-03-04 17:27:13 +01:00 |
|
Enno Rehling
|
d976ee6f67
|
special cases, not callbacks, for money and horses.
|
2017-03-03 19:17:20 +01:00 |
|
Enno Rehling
|
5b1e786fb2
|
fix bad strtok call
|
2017-03-03 10:35:34 +01:00 |
|
Enno Rehling
|
6e8e163099
|
make item allow/deny XML easier to read, fix code
|
2017-03-03 09:56:27 +01:00 |
|
Enno Rehling
|
4502141c5b
|
bug 2292: set mailcmd from eressea.ini
this fixes https://bugs.eressea.de/view.php?id=2292
|
2017-03-02 18:28:00 +01:00 |
|
Enno Rehling
|
912a8b5412
|
bug 2291: json settings must not override eressea.ini.
https://bugs.eressea.de/view.php?id=2291
|
2017-03-01 21:17:37 +01:00 |
|
Enno Rehling
|
2eb88c472c
|
have I bollocksed up the deny/allow rules? looks like it
|
2017-02-28 14:22:59 +01:00 |
|
Enno Rehling
|
5a01eae522
|
make item_use function crash if new and old rules do not agree
add a 'test' function to E3 that exercises all those items
|
2017-02-28 14:22:59 +01:00 |
|
Enno Rehling
|
69e28034b4
|
Kill unused "magicboost" function.
I have no idea why this exists.
|
2017-02-27 21:00:15 +01:00 |
|
Enno Rehling
|
49d8a03eca
|
remote the item_type.use funpointer.
|
2017-02-27 20:41:05 +01:00 |
|
Enno Rehling
|
9e239c88f4
|
testing insect warmth potion
|
2017-02-27 20:26:48 +01:00 |
|
Enno Rehling
|
9d09574d5e
|
enable process_orders to be done in steps.
by checking before turn_end(), we can sense temporary attributes and curses on a unit before they age away.
|
2017-02-27 19:35:14 +01:00 |
|
Enno Rehling
|
1b93c14806
|
Test E2 items in E2 only.
Remove eye of demon (broken item).
|
2017-02-27 18:50:48 +01:00 |
|
Enno Rehling
|
5ffe60193b
|
move items with tests to items.c
|
2017-02-27 14:10:12 +01:00 |
|
Enno Rehling
|
60c2f1e807
|
test the birthday amulet
|
2017-02-27 14:01:41 +01:00 |
|
Enno Rehling
|
604b574d0f
|
fix potion-use? need more testing
|
2017-02-27 11:39:55 +01:00 |
|
Enno Rehling
|
715c8569ba
|
hacked the item-use function,
XML needs cleaning up, funpointer needs to die
|
2017-02-27 09:48:28 +01:00 |
|
Enno Rehling
|
44c3838d79
|
WIP: itype->use elimination.
|
2017-02-27 04:22:28 +01:00 |
|
Enno Rehling
|
132ac0a38a
|
Merge remote-tracking branch 'upstream/develop' into develop
|
2017-02-26 20:23:25 +01:00 |
|
Enno Rehling
|
b8d9fae4e4
|
begin version 3.12
|
2017-02-26 20:16:22 +01:00 |
|
Enno Rehling
|
b8ffc20d87
|
remove item_useonother callbacks (use is fine).
add a test for foolpotion.
|
2017-02-26 19:54:58 +01:00 |
|
Enno Rehling
|
56eb1b753c
|
fix header missing a struct
|
2017-02-26 15:52:58 +01:00 |
|
Enno Rehling
|
f406c47657
|
use converter frm noxml branch
|
2017-02-26 15:30:58 +01:00 |
|
Enno Rehling
|
6e27adb892
|
remove pointless <resourcelimit/> wrapper from XML.
|
2017-02-26 14:00:20 +01:00 |
|
Enno Rehling
|
d4b973fea4
|
remove resource_limit struct indirection.
|
2017-02-26 13:55:19 +01:00 |
|
Enno Rehling
|
c3b0b9e8b3
|
fix missing limit-flags.
|
2017-02-26 13:47:22 +01:00 |
|
Enno Rehling
|
0738090f28
|
no more funpointers in resource_limit.
change how resource limits in lua are called.
|
2017-02-26 13:19:47 +01:00 |
|
Enno Rehling
|
84c6a4b7b5
|
remove last vestiges of the rm_* material names
|
2017-02-25 21:25:55 +01:00 |
|
Enno Rehling
|
6031dff685
|
resource_limit.value is always zero, never initialized. kill it.
|
2017-02-25 19:50:32 +01:00 |
|
Enno Rehling
|
3a985108a6
|
change all magic resistance to use fractions.
|
2017-02-24 20:47:47 +01:00 |
|
Enno Rehling
|
794dae11cf
|
remove artsculpture and genericbuilding.
deal with buildings having an unknown type.
|
2017-02-24 14:29:14 +01:00 |
|
Enno Rehling
|
f06d86007c
|
seed normalization (broken)
|
2017-02-23 22:08:16 +01:00 |
|