Steffen Mecke
3a18384ddb
overfull ships do not drift but take damage
...
http://bugs.eressea.de/view.php?id=2157
removed exploit:
ships more than 2 times over their ship type's capacity do not drift but take 30% to 100% damage
2015-11-15 12:43:05 +01:00
Enno Rehling
2967cd59cf
replace pushnumber with pushinteger where applicable (prep for Lua 5.3).
...
also kill an unreferenced string.
2015-06-08 20:53:40 +02:00
Enno Rehling
da9c33268c
fix preview crash in embassies.lua.
...
the "objects" dictionary is no longer of type hashtable, that usertype has been renamed to dict.
2015-02-01 10:03:30 +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
0c54c7e32d
always nice to eliminate a few TODO's and kill some bitrot.
2014-12-09 23:27:05 +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
ae9ed99cd9
fixing linux build
2014-08-29 07:47:47 +02: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
812cb98dff
begin binding locales (need to init_locales in the right place, still).
...
fix indentation in some places.
add some assertions.
2014-06-14 07:52:32 -07:00
Enno Rehling
24dc006e43
fix json config for terrains, some other stuff.
2014-06-13 17:36:05 -07:00
Enno Rehling
6e56c56d39
read ships from config file (only very basic) and create them in a lua test.
2014-06-13 08:28:33 -07:00
Enno Rehling
d503937999
working on making json config understand ships and buildings.
...
new tests in progress.
remove giveitem.c attribute, the name clashed with a trigger,
and it was only part of an arena that is gone from the game, I think.
2014-06-12 22:14:07 -07:00
Enno Rehling
ae68a1beaf
add a script that runs all tests
...
clean up the build scripta bit
bind ship type
2014-04-12 05:25:21 +02:00
Enno Rehling
1a7d892a96
use cmake for autoconf, slim down platform.h
2014-03-15 19:29:11 +01:00
Enno Rehling
ace886a2d3
added a test for saving/loading descriptions (bug 1984).
...
added bindings for ship descriptions.
fixed test framework, so make test will show failures in lua.
2014-03-02 10:55:35 -08:00
Enno Rehling
bf2bb7449b
move bindings into src/ make the code compile from scratch again.
2014-02-22 00:32:59 -08:00