Enno Rehling
|
0ea0936156
|
Use default locale when missing a translation, only warn once.
https://bugs.eressea.de/view.php?id=2103
remove locale::fallback, it was never set anyhow (also, we have no good fallbacks).
|
2015-05-22 14:14:02 +02:00 |
Enno Rehling
|
8e5fc28bfc
|
refactoring more of goodies.h into strings.h
|
2015-05-18 08:59:38 +02:00 |
Enno Rehling
|
f9bced467d
|
fix a crash in rename_cmd
|
2015-02-08 10:33:45 +01:00 |
Enno Rehling
|
c54cbfd472
|
fix copyright notice
|
2015-01-30 22:10:29 +01:00 |
Enno Rehling
|
abca25d1d5
|
fix indentation in every file
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
|
2015-01-30 20:37:14 +01:00 |
Enno Rehling
|
23b8f2bc8a
|
call init_locales after parse_json from Lua, downgrade missing string warnings during that to DEBUG (because it's quite common not to have them).
also, these int to bool conversion warnings made a good point, even if I could not reproduce them.
|
2015-01-08 20:55:29 +01:00 |
Enno Rehling
|
5e10bc4093
|
wait, no. tests did not pass when that change was made (for good reason, I assume).
|
2014-12-31 13:19:44 +01:00 |
Enno Rehling
|
f524f23cd4
|
superfluous semicolons and other small stuff.
missing strings are an error, not a warning.
|
2014-12-31 13:17:54 +01:00 |
Enno Rehling
|
e9c3a00f7d
|
it sucks that get_translations sometimes returns tokens, and sometimes critbit_trees. How is anyone supposed to free that correctly?
|
2014-12-31 01:29:10 +01:00 |
Enno Rehling
|
077a0aeeef
|
plug some new memory leaks
|
2014-12-30 00:00:57 +01:00 |
Enno Rehling
|
81bfb598d0
|
refactoring modules, cleaning out the config.c kitchen sink.
- cansee_* rules to laws.c
- translations to language.c
- stealth to attributes/,
- rename build.h -> buildno.h
|
2014-11-01 12:09:56 +01:00 |
Enno Rehling
|
6bd52012c0
|
read keywords from json configuration, use German imperative forms.
|
2014-10-29 19:40:09 +01:00 |
Enno Rehling
|
f788f19f6c
|
fix tests that relied on translation structures being statically cached.
clean up static cache, add test for German imperative (WIP)
|
2014-10-23 16:14:01 +02:00 |
Enno Rehling
|
c0230d2662
|
In the game, there is only ever one special direction, and it is for the astral space.
less XML, more code.
cleaning up the special direction parsing a bit.
|
2014-08-28 19:50:38 +02:00 |
Enno Rehling
|
a3037950ff
|
fix a bug in the escape_string function.
remove static return variable from escape_string.
add test coverage.
|
2014-08-24 23:58:31 +02:00 |
Enno Rehling
|
9ca206ec3f
|
remove reference to thieves and spies from this spell for non-E2 games.
this fixes https://bugs.eressea.de/view.php?id=1548
|
2014-08-14 07:05:12 +02:00 |
Enno Rehling
|
b21cb8f5c7
|
Simple test for rules.give (there are many more, can_give deserves a test to itself).
The more tests I write, the more I hate the infrastructure for them.
|
2014-07-05 23:06:51 -07:00 |
Enno Rehling
|
125fd519a8
|
rename test files.
add tests for keyword.c, incomplete.
|
2014-06-16 08:01:59 -07:00 |
Enno Rehling
|
64e0c221ec
|
directions can now be read from json configuration.
rename a couple of functions for more consistency across modules.
|
2014-06-15 22:17:08 -07:00 |
Enno Rehling
|
a9f0538d8e
|
keyword_t and direction_t are moving into their own module.
direction parser gets new initialization function, for use in jsonconf later.
add unit tests for directions.
|
2014-06-15 18:34:39 -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 |