server/src/kernel
Enno Rehling b95f7ec139 more strictly define what it means to be the owner of the show, and when it is transferred.
mostly copied from building_owner.
test coverage is a wonderful thing.
2012-05-18 23:20:38 -07:00
..
alchemy.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
alchemy.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
alliance.c Merge branch 'master' of gitorious.org:eressea/server 2012-05-16 09:48:01 +02:00
alliance.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
battle.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
battle.h Add a test for the effect of buildings in battles, and a file to test pieces of the combat code from C in the future. 2011-03-12 17:01:20 -08:00
battle_test.c ship and building owners encapsulated in accessors 2012-05-17 15:23:15 -07:00
binarystore.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
binarystore.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
build.c as much as possible, replace the UFL_OWNER flag with checking the owner the canonical way. 2012-05-17 16:40:50 -07:00
build.h begin making shipowner use ship->owner. 2012-05-17 00:13:30 -07:00
building.c more strictly define what it means to be the owner of the show, and when it is transferred. 2012-05-18 23:20:38 -07:00
building.h more strictly define what it means to be the owner of the building, and when it is transferred. 2012-05-18 21:26:41 -07:00
building_test.c remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
calendar.c indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
calendar.h indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
command.c rename _log_warn to log_warning and get rid of the cumbersome #define 2012-05-16 15:52:37 -07:00
command.h remove tnode from anywhere, and use a void* instead, in preparation for a new findtoken implementation. this needs to have a good testing. 2012-05-15 15:04:23 -07:00
config.c remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
config.h as much as possible, replace the UFL_OWNER flag with checking the owner the canonical way. 2012-05-17 16:40:50 -07:00
connection.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
connection.h indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
curse.c begin making shipowner use ship->owner. 2012-05-17 00:13:30 -07:00
curse.h begin making shipowner use ship->owner. 2012-05-17 00:13:30 -07:00
curse_test.c make merge request sing with Eressea 2011-03-08 21:06:38 -08:00
equipment.c replace spellid_t with unsigned int 2012-05-09 03:14:54 -07:00
equipment.h indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
faction.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
faction.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
group.c indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
group.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
item.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
item.h test that fighters get created properly. 2011-03-15 21:04:38 -07:00
magic.c implement ship-ownership transfer as a function 2012-05-17 12:23:25 -07:00
magic.h begin making shipowner use ship->owner. 2012-05-17 00:13:30 -07:00
message.c remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
message.h remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
move.c remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
move.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
move_test.c new gcc spouts more warnings, fix them. 2012-05-18 19:29:35 -07:00
names.c dragon names always contained 2 spaces after the article 2012-03-04 16:42:19 -08:00
names.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
objtypes.h begin making shipowner use ship->owner. 2012-05-17 00:13:30 -07:00
order.c findparam improvements! 2012-05-16 12:06:44 -07:00
order.h findparam improvements! 2012-05-16 12:06:44 -07:00
pathfinder.c eliminate region_list usage from the monster pathfinder 2011-04-25 22:20:01 -07:00
pathfinder.h eliminate region_list usage from the monster pathfinder 2011-04-25 22:20:01 -07:00
plane.c remove tnode from anywhere, and use a void* instead, in preparation for a new findtoken implementation. this needs to have a good testing. 2012-05-15 15:04:23 -07:00
plane.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
player.c indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
player.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
pool.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
pool.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
race.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
race.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
region.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
region.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
render.h undo more CRLF screwups. 2010-08-08 01:14:01 -07:00
reports.c remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
reports.h implement ship-ownership transfer as a function 2012-05-17 12:23:25 -07:00
reports_test.c implement ship-ownership transfer as a function 2012-05-17 12:23:25 -07:00
resources.c indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
resources.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
save.c remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
save.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
ship.c more strictly define what it means to be the owner of the show, and when it is transferred. 2012-05-18 23:20:38 -07:00
ship.h more strictly define what it means to be the owner of the show, and when it is transferred. 2012-05-18 23:20:38 -07:00
ship_test.c more strictly define what it means to be the owner of the show, and when it is transferred. 2012-05-18 23:20:38 -07:00
skill.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
skill.h use enums, fix typecasts 2011-03-07 22:31:06 -08:00
spell.c rename _log_warn to log_warning and get rid of the cumbersome #define 2012-05-16 15:52:37 -07:00
spell.h get_spellfromtoken needs a mage, not any unit. 2012-05-09 13:06:16 -07:00
spell_test.c replace spellid_t with unsigned int 2012-05-09 03:14:54 -07:00
spellid.h compiling with -pedantic on linux 2011-03-08 08:44:20 +01:00
sqlite.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
teleport.c rename _log_error to log_error and get rid of the cumbersome #define 2012-05-16 16:52:01 -07:00
teleport.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
terrain.c rename _log_warn to log_warning and get rid of the cumbersome #define 2012-05-16 15:52:37 -07:00
terrain.h test that fighters get created properly. 2011-03-15 21:04:38 -07:00
terrainid.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
textstore.c rename _log_warn to log_warning and get rid of the cumbersome #define 2012-05-16 15:52:37 -07:00
textstore.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
types.h begin making shipowner use ship->owner. 2012-05-17 00:13:30 -07:00
unit.c more strictly define what it means to be the owner of the show, and when it is transferred. 2012-05-18 23:20:38 -07:00
unit.h remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
version.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
xmlkernel.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
xmlreader.c begin making shipowner use ship->owner. 2012-05-17 00:13:30 -07:00
xmlreader.h indentation rules, strictly applied 2011-03-07 08:02:35 +01:00