Enno Rehling
|
ef74b8e759
|
reduce the footprint of nrmessage
|
2018-05-18 02:46:34 +02:00 |
|
Enno Rehling
|
3867388834
|
iwyu
|
2018-05-18 02:35:11 +02:00 |
|
Enno Rehling
|
42f59fbd9e
|
I think pofile.c belongs in the util directory.
|
2018-05-18 00:08:30 +02:00 |
|
Enno Rehling
|
7fa568da09
|
eliminate dead code, fix compile
|
2018-05-17 23:53:44 +02:00 |
|
Enno Rehling
|
409f5df9a9
|
po export code removed.
|
2018-05-17 23:29:12 +02:00 |
|
Enno Rehling
|
87914a7b5b
|
delete XML Strings.
|
2018-05-17 23:27:29 +02:00 |
|
Enno Rehling
|
4d09f00f03
|
remove string parsing from XML. E3 tests failing!
|
2018-05-17 22:58:01 +02:00 |
|
Enno Rehling
|
0d6abd3811
|
Merge branch 'develop'
|
2018-05-17 22:49:03 +02:00 |
|
Enno Rehling
|
615dfe7ec5
|
Get the NR message text from locale.
|
2018-05-17 22:47:16 +02:00 |
|
Enno Rehling
|
c0ed53b679
|
last of the duplicate names. battles have lost their separators, though.
|
2018-05-17 22:15:24 +02:00 |
|
Enno Rehling
|
7a10a58605
|
1. nrmessage is locale-independent, uses locale_getstring
2. unique strings:
rename aurapotion50 message.
delete unused bithday_firework definitions.
|
2018-05-17 19:04:25 +02:00 |
|
Enno Rehling
|
c596402e4a
|
load strings from po file, not xml.
|
2018-05-17 16:54:59 +02:00 |
|
Enno Rehling
|
9ca945cb2c
|
add a string escaping function.
start some work on nrmessage.c.
|
2018-05-17 16:53:56 +02:00 |
|
Enno Rehling
|
35c3d4cda0
|
export messages and strings into separate .po files
commit the exported files.
|
2018-05-17 10:43:23 +02:00 |
|
Enno Rehling
|
0f3e3c9e38
|
po file exporter, also for messages.
|
2018-05-16 21:58:02 +02:00 |
|
Enno Rehling
|
269030082c
|
remove struct equipment from the code entirely.
|
2018-05-15 21:51:47 +02:00 |
|
Enno Rehling
|
40a2a6735a
|
mac build fix, dragon spoils equipment in Lua
|
2018-05-14 04:42:59 +02:00 |
|
Enno Rehling
|
c223542ced
|
kill an unused macro.
|
2018-05-13 16:17:03 +02:00 |
|
Enno Rehling
|
4240e142a5
|
BUG 2440: the random encounters code was completely unused.
|
2018-05-13 16:15:22 +02:00 |
|
Enno Rehling
|
79bc22b617
|
fatal error my a$$ . the gamedat check is killing tests for no discernible reason.
|
2018-05-12 22:12:14 +02:00 |
|
Enno Rehling
|
40125bb75e
|
translate seed_%race% equipment from xml to lua.
|
2018-05-12 20:52:10 +02:00 |
|
Enno Rehling
|
271352d0ba
|
create a lua module that can handle simple euipments.
lua test for equip_unit, with callbacks.
|
2018-05-12 19:10:40 +02:00 |
|
Enno Rehling
|
b12050ac2a
|
lua callback for equip_unit
|
2018-05-12 18:25:44 +02:00 |
|
Enno Rehling
|
7e6688552b
|
create a callback mechanism for equipment.
|
2018-05-11 21:30:26 +02:00 |
|
Enno Rehling
|
5c26155f2f
|
Merge branch 'develop' of https://github.com/ennorehling/eressea.git
|
2018-05-11 20:55:38 +02:00 |
|
Enno Rehling
|
7b1038b0b1
|
this equipment callback is never used in our lua scripts, and we want to use equipment less.
|
2018-05-11 06:06:31 +02:00 |
|
Enno Rehling
|
ac73052dc1
|
autoseed code is never used in lua scripts (they have their own autoseed implementation).
|
2018-05-11 06:05:28 +02:00 |
|
Enno Rehling
|
94769a66f8
|
teach vs canteach mixup
|
2018-05-10 20:18:56 +02:00 |
|
Enno Rehling
|
b0012eeae0
|
familiars do not need the default value in XML (bad XML).
|
2018-05-10 20:02:53 +02:00 |
|
Enno Rehling
|
8c7b890f3e
|
set the default unarmed modifiers for races.
|
2018-05-09 20:56:38 +02:00 |
|
Enno Rehling
|
ae3c0b099f
|
spells do not have a function element in XML
|
2018-05-08 23:10:51 +02:00 |
|
Enno Rehling
|
ccf09770e3
|
rename global target flag, invert logic
|
2018-05-08 21:43:13 +02:00 |
|
Enno Rehling
|
6746401330
|
BUG 2437: fetch_astral should have no aura cost when given bad units.
|
2018-05-07 20:22:02 +02:00 |
|
Enno Rehling
|
68de367a98
|
print an error instead of asserting.
|
2018-05-06 19:27:22 +02:00 |
|
Enno Rehling
|
cfe21e7e1d
|
re-enable tests, allow more spell arguments.
a list of ships, units, etc can be long!
|
2018-05-06 19:07:20 +02:00 |
|
Enno Rehling
|
d0d366485e
|
Merge branch 'develop' of https://github.com/ennorehling/eressea.git
|
2018-05-06 19:02:55 +02:00 |
|
Enno Rehling
|
14f59e4bfe
|
functional tests for pull_astral spell.
|
2018-05-06 19:02:47 +02:00 |
|
Enno Rehling
|
4d3718bab9
|
find out why t<=0 assert happens sometimes
|
2018-05-06 18:05:35 +02:00 |
|
Enno Rehling
|
5af775ba87
|
prevent out-of-bounds read.
|
2018-05-06 16:35:23 +02:00 |
|
Enno Rehling
|
088747ea81
|
code style
|
2018-05-06 15:50:44 +02:00 |
|
Enno Rehling
|
cd2624de8a
|
stop reallocation spell parameters.
fix involuntary tree growth in test, message check.
|
2018-05-06 15:49:34 +02:00 |
|
Enno Rehling
|
cd2435dbb0
|
spell xml does not define an index attribute
|
2018-05-06 09:00:11 +02:00 |
|
Enno Rehling
|
d568e79490
|
spellbooks contain spellref, not spell *.
for order-independent load from XML.
|
2018-05-05 07:38:11 +02:00 |
|
Enno Rehling
|
b31a1f798c
|
BUG 2346: extract a test for ship tactics bonus.
|
2018-05-03 23:00:28 +02:00 |
|
Enno Rehling
|
34c6222b8f
|
BUG 2436: Fix the E3 tactics bonus for ships.
|
2018-05-03 22:44:01 +02:00 |
|
Enno Rehling
|
5bcd8369af
|
ignore sqlite setting errno
|
2018-05-03 22:40:54 +02:00 |
|
Enno Rehling
|
069047d0ac
|
uninitialized variable crash, seenspells.
|
2018-05-03 22:32:11 +02:00 |
|
Enno Rehling
|
b5b9611a16
|
eliminate construction.improvement,
create building_type.stages instead.
|
2018-05-01 15:40:11 +02:00 |
|
Enno Rehling
|
8a21b42b65
|
start extracting building-only construction stuff.
|
2018-05-01 11:22:47 +02:00 |
|
Enno Rehling
|
0b097371a1
|
items: less xpath, more child iteration.
|
2018-05-01 11:20:13 +02:00 |
|