Enno Rehling
|
92f43a7b51
|
eliminate it_find calls, replace it_find with something backed by rt_find
|
2014-06-24 22:44:05 -07:00 |
|
Enno Rehling
|
d581737744
|
optimization: caching resource types in get_resourcetype.
eliminate some it_find calls.
eliminate static variables, they make testing hard.
|
2014-06-24 07:42:45 -07:00 |
|
Enno Rehling
|
7adb8498aa
|
Merge branch 'fix_block_movement' of github.com:stm2/server into stm2-fix_block_movement
Conflicts:
scripts/tests/eressea.lua
src/kernel/move.c
|
2014-06-23 20:34:07 -07:00 |
|
Enno Rehling
|
73da14e305
|
getting rid of the olditemtypes[] array
reduce use of statics
reduce use of item_t enum
|
2014-06-23 07:28:10 -07:00 |
|
Enno Rehling
|
3625ba6a95
|
remove static variables optimizations, they create global state that is bad for testing
|
2014-06-17 23:10:55 -07:00 |
|
Enno Rehling
|
8166519d30
|
add a list of valid coasts to ship definition in JSON.
fix endless loop in error-line counting.
|
2014-06-17 21:33:42 -07:00 |
|
Enno Rehling
|
0675c50c7f
|
keyword lookup macro
|
2014-06-16 23:05:39 -07:00 |
|
Enno Rehling
|
33928568cf
|
finally have all the scaffolding to write a test with ships.
configure terrain flags from json.
ships are always allowed to enter SEA regions.
|
2014-06-16 22:19:19 -07:00 |
|
Enno Rehling
|
c8dc6be6f2
|
rename get_keyword, because something else should have that name.
|
2014-06-16 07:19:22 -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
|
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 |
|
Steffen Mecke
|
dc3eea0c70
|
take best unit and count amulet at most once for guards blocking movement
|
2014-06-04 11:04:17 +02:00 |
|
Enno Rehling
|
0ae8737062
|
rename MIN/MAX to _min/_max
|
2014-03-16 05:03:17 +01:00 |
|
Enno Rehling
|
1a7d892a96
|
use cmake for autoconf, slim down platform.h
|
2014-03-15 19:29:11 +01: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 |
|