server/src
Enno Rehling b2e79dc5e9 building maintenance unit tests.
backfilling some very basic test coverage.
2016-08-21 20:01:30 +02:00
..
attributes Merge branch 'master' into develop 2016-08-06 23:30:59 +02:00
items bug: learn_skill was not learning the right skill 2016-03-24 13:01:42 +01:00
kernel building maintenance unit tests. 2016-08-21 20:01:30 +02:00
modules change ship_allowed constants just a little bit 2016-06-10 18:00:22 +02:00
races fix indentation in every file 2015-01-30 20:37:14 +01:00
spells remove code for alp (non-functional) 2016-03-25 21:18:57 +01:00
tools fix indentation in every file 2015-01-30 20:37:14 +01:00
triggers remove code for alp (non-functional) 2016-03-25 21:18:57 +01:00
util coverity CID 141509 Unchecked return value from library 2016-08-09 18:28:15 +02:00
CMakeLists.txt refactorings 2016-03-09 14:52:50 +01:00
academy.c repair the test for academies, make academy bonus use non-deprecated learn_skill 2016-03-24 13:44:29 +01:00
academy.h just a little bit of refactoring 2016-03-11 21:36:10 +01:00
alchemy.c delete old healing effects on read 2016-06-17 21:49:31 +02:00
alchemy.h remove superfluous argument from herbsearch 2015-08-27 14:46:08 +02:00
alchemy.test.c testing all the error cases for PIRACY 2015-10-12 13:27:39 +02:00
battle.c Merge branch 'test-alliance' of https://github.com/ennorehling/eressea into ennorehling-test-alliance 2016-08-08 08:46:09 +02:00
battle.h healing potion works once per battle with 100% 2016-06-12 23:23:22 +02:00
battle.test.c Merge branch 'master' into develop 2015-12-06 20:51:14 +01:00
bind_building.c test and fix for market operation, bug2083 2015-11-16 01:13:01 +01:00
bind_building.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bind_config.c eliminate global log_flags, revert the mode arguments for fopen. 2016-02-05 23:10:05 +01:00
bind_config.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bind_dict.c more lua_pushinteger conversion for lua 5.3 2015-06-08 21:19:17 +02:00
bind_dict.h fix preview crash in embassies.lua. 2015-02-01 10:03:30 +01:00
bind_eressea.c eliminate global log_flags, revert the mode arguments for fopen. 2016-02-05 23:10:05 +01:00
bind_eressea.h remove obsolete commands (PRAY) and parameters 2014-06-21 07:34:36 -07:00
bind_faction.c fix integration test data file 2016-02-22 21:35:37 +01:00
bind_faction.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bind_gmtool.c replace pushnumber with pushinteger where applicable (prep for Lua 5.3). 2015-06-08 20:53:40 +02:00
bind_gmtool.h move bindings into src/ make the code compile from scratch again. 2014-02-22 00:32:59 -08:00
bind_locale.c add a lua binding to convert user-language strings to directions 2015-12-22 18:38:12 +01:00
bind_locale.h add a lua binding to convert user-language strings to directions 2015-12-22 18:38:12 +01:00
bind_log.c bindings for error logging, phase 1. 2014-06-13 13:02:03 -07:00
bind_log.h bindings for error logging, phase 1. 2014-06-13 13:02:03 -07:00
bind_message.c add tests for snowglobe error messages 2016-01-01 16:30:09 +01:00
bind_message.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bind_monsters.c moved files for flyingship to subdir "spells" 2015-11-02 15:40:26 +01:00
bind_order.c add missing files 2015-12-30 21:22:28 +01:00
bind_order.h add missing files 2015-12-30 21:22:28 +01:00
bind_process.c optimization: read configuration once before all battles, not before or during each individual one. 2015-11-22 15:29:43 +01:00
bind_process.h move bindings into src/ make the code compile from scratch again. 2014-02-22 00:32:59 -08:00
bind_region.c setting herbs will warn if they are the wrong herbs. 2016-08-18 19:04:48 +02:00
bind_region.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bind_ship.c overfull ships do not drift but take damage 2015-11-15 12:43:05 +01:00
bind_ship.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bind_sqlite.c replace pushnumber with pushinteger where applicable (prep for Lua 5.3). 2015-06-08 20:53:40 +02:00
bind_storage.c fix a FIXME: include gamedata.h directly, not through save.h 2016-04-09 18:22:20 +02:00
bind_storage.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bind_tolua.c Address MS Visual Studio 2015 update 1 breaking changes 2015-12-16 17:01:47 +01:00
bind_tolua.h MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
bind_unit.c http://bugs.eressea.de/view.php?id=2207 2016-07-30 22:01:10 +02:00
bind_unit.h fix indentation in every file 2015-01-30 20:37:14 +01:00
bindings.c http://bugs.eressea.de/view.php?id=2207 2016-07-30 22:01:10 +02:00
bindings.h fix indentation in every file 2015-01-30 20:37:14 +01:00
building_action.c read_referernce takes a gamedata object. 2016-02-24 11:53:22 +01:00
buildno.h death by NMR was broken, because I can't write loops good. 2016-08-07 00:40:10 +02:00
calendar.c moving the calendar module out of the kernel directory, it does not belong with the major game objects 2015-09-12 12:54:09 +02:00
calendar.h moving the calendar module out of the kernel directory, it does not belong with the major game objects 2015-09-12 12:54:09 +02:00
callback.c fix indentation in every file 2015-01-30 20:37:14 +01:00
callback.h fix indentation in every file 2015-01-30 20:37:14 +01:00
callback.test.c fix indentation in every file 2015-01-30 20:37:14 +01:00
chaos.c update key attribute api 2016-02-09 06:43:19 +01:00
chaos.h fix copyright notice 2015-01-30 22:10:29 +01:00
config.pkg read keywords from json configuration, use German imperative forms. 2014-10-29 19:40:09 +01:00
config.pkg.c read keywords from json configuration, use German imperative forms. 2014-10-29 19:40:09 +01:00
console.c fix indentation in every file 2015-01-30 20:37:14 +01:00
console.h fix copyright notice 2015-01-30 22:10:29 +01:00
creport.c Reparatur Irrlichter 2016-08-06 14:36:54 +02:00
creport.h fix missing units from CR, add a test, partially convert from FILE* to stream 2015-08-05 14:45:46 +02:00
direction.c fix indentation in every file 2015-01-30 20:37:14 +01:00
direction.h fix indentation in every file 2015-01-30 20:37:14 +01:00
direction.test.c refactor many tests to use the test locale instead of building their own 2016-03-24 13:01:47 +01:00
donations.c kill stray semicolon 2015-09-10 21:22:55 +02:00
donations.h refactor donations into a seaprate code module, add a basic test 2015-09-09 15:45:20 +02:00
donations.test.c refactor donations into a seaprate code module, add a basic test 2015-09-09 15:45:20 +02:00
economy.c refactoring: move produceexp from unit.c to study.c 2016-03-09 14:50:54 +01:00
economy.h taxing without skill does not fail silently any more 2015-11-14 15:36:14 +01:00
economy.test.c building maintenance unit tests. 2016-08-21 20:01:30 +02:00
eressea.c I'm getting reports of leaks for umlaut.c based structures and configuration? 2016-08-18 20:07:16 +02:00
eressea.h fix indentation in every file 2015-01-30 20:37:14 +01:00
eressea.pkg MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
eressea.pkg.c MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
game.pkg MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
game.pkg.c MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
give.c fix giving items to dead units, https://bugs.eressea.de/view.php?id=2230 2016-08-21 11:58:53 +02:00
give.h fix indentation in every file 2015-01-30 20:37:14 +01:00
give.test.c add unit tests for giving stuff to empty units. 2016-08-21 11:46:54 +02:00
gmtool.c unused variable 2016-08-07 19:20:41 +02:00
gmtool.h support different editor codepages 2016-08-07 19:19:35 +02:00
gmtool_structs.h fix indentation in every file 2015-01-30 20:37:14 +01:00
guard.c update key attribute api 2016-02-09 06:43:19 +01:00
guard.h move at_guard into guard module as well 2015-09-12 23:38:31 +02:00
helpers.c Merge branch 'master' into develop 2016-01-01 16:38:57 +01:00
helpers.h fix indentation in every file 2015-01-30 20:37:14 +01:00
inc fix tolua, I guess 2015-07-11 23:45:59 +02:00
items.c converting float->double in a lot of the code to prevent -Wconversion messages 2015-05-15 19:08:44 +02:00
items.h fix indentation in every file 2015-01-30 20:37:14 +01:00
json.c increase the datatype for scores from int to long long 2015-09-06 19:04:04 +02:00
json.h remove obsolete commands (PRAY) and parameters 2014-06-21 07:34:36 -07:00
json.test.c test-only leak: do some json surgery and delete the entire tree from the export 2015-10-15 09:06:44 +02:00
jsreport.c replace all get_param_* for global.parameters with config_get_* 2015-11-22 10:44:46 +01:00
jsreport.h Implement an optional JSON report writer. Currently writes readable maps for Tiled. 2015-03-29 14:03:56 +02:00
keyword.c disable features by name that are not keywords 2015-09-12 17:37:29 +02:00
keyword.h disable features by name that are not keywords 2015-09-12 17:37:29 +02:00
keyword.test.c remove invalid tests. uninitialized locales do not have default words 2015-11-01 05:35:10 +01:00
laws.c Merge branch 'master' into develop 2016-08-07 00:47:50 +02:00
laws.h make the password pseudo-private to faction.c 2016-01-12 06:46:51 +01:00
laws.test.c check the results of MAKE TEMP 2016-08-21 12:38:25 +02:00
lighthouse.c change effskill signature to take a region, change eff_skill to work on a skill * to avoid multiple lookups. 2015-08-27 16:16:55 +02:00
lighthouse.h fix copyright notice 2015-01-30 22:10:29 +01:00
listbox.c fix logging for sp_igjarjuk, temporarily set log-levels for the game to error|warn|info 2015-09-12 19:48:03 +02:00
listbox.h update cmake to compile without sqlite3, curses or libxml2 installed. 2014-06-11 20:30:34 -07:00
locale.pkg add a lua binding to convert user-language strings to directions 2015-12-22 18:38:12 +01:00
locale.pkg.c add a lua binding to convert user-language strings to directions 2015-12-22 18:38:12 +01:00
log.pkg MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
log.pkg.c MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
magic.c refactoring: move produceexp from unit.c to study.c 2016-03-09 14:50:54 +01:00
magic.h pass the parent of an attribute into a_age and attrib_type::age 2016-02-20 16:50:04 +01:00
magic.test.c refactor tests to use test locale where possible 2016-03-24 13:01:47 +01:00
main.c support different editor codepages 2016-08-07 19:19:35 +02:00
market.c update key attribute api 2016-02-09 06:43:19 +01:00
market.h fix indentation in every file 2015-01-30 20:37:14 +01:00
market.test.c introducing config_set and config_get so we don't have to refer to globals.parameters everywhere 2015-11-22 10:33:31 +01:00
monster.c remove code for alp (non-functional) 2016-03-25 21:18:57 +01:00
monster.h Fix a bug reporting DETROY messages to the correct unit. 2015-07-07 00:49:12 +02:00
monsters.c integrated Ennos suggestions for dragon growls 2016-06-11 13:47:38 +02:00
monsters.test.c Merge pull request #512 from stm2/dragon_growl 2016-06-11 23:16:23 +02:00
morale.c encapsulate r->land->peasants, money, horses, herbs, morale 2015-12-08 17:57:23 +01:00
morale.h fix copyright notice 2015-01-30 22:10:29 +01:00
move.c remove move_on_land argument from move_cmd 2016-08-20 19:25:44 +02:00
move.h remove move_on_land argument from move_cmd 2016-08-20 19:25:44 +02:00
move.test.c remove the SAIL_INTO flag 2016-06-10 20:55:27 +02:00
names.c CID 22467: Division or modulo by zero 2015-11-04 12:59:03 +01:00
names.h fix copyright notice 2015-01-30 22:10:29 +01:00
piracy.c remove move_on_land argument from move_cmd 2016-08-20 19:25:44 +02:00
piracy.h refactor piracy code into a module, separate from move. 2015-10-11 21:19:38 +02:00
piracy.test.c fix piracy_cmd_land_to_land 2016-08-20 19:10:53 +02:00
platform.h only disable MSVC2015 warnings in MSVC2015, do not break confuse compilers. 2015-10-11 14:39:51 +02:00
prefix.c implement JSON prefixes. fix free_prefixes not resetting size (TODO: quicklist). 2015-09-12 12:49:12 +02:00
prefix.h free race prefixes when the game is done (small memory leak). 2015-09-12 12:29:42 +02:00
prefix.test.c add a unit test for add/free prefixes. fix bad free_prefixes call site. 2015-09-12 12:41:04 +02:00
process.pkg MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
process.pkg.c MSVC: disable level 4 warning C4100 for tolua-generated code (unused variable) 2014-08-14 19:39:17 +02:00
randenc.c bug: learn_skill was not learning the right skill 2016-03-24 13:01:42 +01:00
randenc.h converting float->double in a lot of the code to prevent -Wconversion messages 2015-05-15 19:08:44 +02:00
report.c Reparatur Irrlichter 2016-08-06 14:36:54 +02:00
report.h added tests for all kinds of syntax parameters 2015-11-13 00:57:14 +01:00
reports.c issue #538: default terrain 2016-08-20 23:42:15 +02:00
reports.h eliminate deprecated call 2015-10-27 12:40:04 +01:00
reports.test.c Merge branch 'test-alliance' of https://github.com/ennorehling/eressea into ennorehling-test-alliance 2016-08-08 08:46:09 +02:00
seen.c refactor: add a faction_add_seen function that also updates [first, last) interval. 2015-09-09 11:08:33 +02:00
seen.h braineaters outside of astral sapce lose 50% of their innate magic resistance. 2016-01-28 10:58:28 +01:00
seen.test.c always call seen_done to eliminate memory leaks in tests. 2015-10-13 16:05:32 +02:00
settings.h eliminate even more static variable caches 2015-11-22 16:14:27 +01:00
settings.pkg introducing config_set and config_get so we don't have to refer to globals.parameters everywhere 2015-11-22 10:33:31 +01:00
settings.pkg.c introducing config_set and config_get so we don't have to refer to globals.parameters everywhere 2015-11-22 10:33:31 +01:00
skill.c CID 22554: Improper use of negative value (REVERSE_NEGATIVE) 2015-10-30 12:40:48 +01:00
skill.h refactor donations into a seaprate code module, add a basic test 2015-09-09 15:45:20 +02:00
skill.test.c remove invalid tests. uninitialized locales do not have default words 2015-11-01 05:35:10 +01:00
spells.c clarify building_type.maxsize and add error logging for bug 2221. 2016-08-06 13:52:29 +02:00
spells.h test good/bad dreams 2015-05-06 18:15:10 +02:00
spells.test.c pass the parent of an attribute into a_age and attrib_type::age 2016-02-20 16:50:04 +01:00
spy.c refactoring: move produceexp from unit.c to study.c 2016-03-09 14:50:54 +01:00
spy.h fix copyright notice 2015-01-30 22:10:29 +01:00
spy.test.c a new test for the happy case of a working academy 2016-03-09 23:20:05 +01:00
sqlite.c eliminate false positive CID 26252 (itoa36 is always 4 chars or less) 2016-05-04 16:35:07 +02:00
study.c fix bug 2194, poorly 2016-03-25 17:05:01 +01:00
study.h fix experimental separation of test-only code 2016-03-24 22:32:29 +01:00
study.test.c fix bug 2194, poorly 2016-03-25 17:05:01 +01:00
summary.c Merge branch 'master' into develop 2016-05-29 11:13:19 +02:00
summary.h fix indentation in every file 2015-01-30 20:37:14 +01:00
teleport.c fix crash when aging stone circles without an astral plane 2016-01-31 13:47:18 +01:00
teleport.h get_normalplane is unnecessary 2016-01-28 12:46:38 +01:00
test_eressea.c Merge branch 'test-alliance' of https://github.com/ennorehling/eressea into ennorehling-test-alliance 2016-08-08 08:46:09 +02:00
tests.c Merge branch 'test-alliance' of https://github.com/ennorehling/eressea into ennorehling-test-alliance 2016-08-08 08:46:09 +02:00
tests.h integrated Ennos suggestions for dragon growls 2016-06-11 13:47:38 +02:00
tests.test.c fix indentation in every file 2015-01-30 20:37:14 +01:00
travelthru.c memory leak: at_travelunit contains a quicklist, needs custom cleanup code. 2015-10-13 22:09:41 +02:00
travelthru.h replace all at_travelunit code with travelthru_map calls. 2015-08-19 14:37:51 +02:00
travelthru.test.c unit needs to be in a region or test_cleanup will not free it 2015-10-14 22:19:15 +02:00
upkeep.c fixed reversed logic for demon peasant hunger (bug 2187) 2016-02-28 16:15:48 +01:00
upkeep.h cleaning out config.c, there is too much code in there. 2014-08-31 16:50:37 +02:00
upkeep.test.c introducing config_set and config_get so we don't have to refer to globals.parameters everywhere 2015-11-22 10:33:31 +01:00
vortex.c attrib.read gets a gamedata object (remove dependency on global.data_version) 2016-02-24 11:44:18 +01:00
vortex.h fix compilation warning on gcc. 2014-09-29 21:22:44 +02:00
vortex.test.c refactor test_create_locale 2016-03-24 13:01:42 +01:00
wormhole.c clarify building_type.maxsize and add error logging for bug 2221. 2016-08-06 13:52:29 +02:00
wormhole.h fix copyright notice 2015-01-30 22:10:29 +01:00
wormhole.test.c refactoring and tests for wormhole module. 2014-09-29 23:19:59 +02:00
xmlreport.c fix indentation in every file 2015-01-30 20:37:14 +01:00
xmlreport.h fix indentation in every file 2015-01-30 20:37:14 +01:00