Enno Rehling
|
cc9a815eea
|
remove another fintoken warning from the logs
|
2012-05-19 19:54:14 -07:00 |
|
Enno Rehling
|
3fa4a31d14
|
trying to figure out why some run_tests tests are not working
|
2012-05-20 03:21:38 +02:00 |
|
Enno Rehling
|
a342e846bc
|
improved some tests
fixed some resource-related things, especially registration
|
2012-05-19 17:23:57 -07:00 |
|
Enno Rehling
|
671e976ad6
|
Nobody needs to see empty messages in the CR
|
2012-05-19 16:54:41 -07:00 |
|
Enno Rehling
|
7f7c883583
|
rt_find and it_find use new improved critbit-tree
critbit update
testing the test suite
|
2012-05-19 11:26:46 -07:00 |
|
Enno Rehling
|
0c2531f259
|
remove UFL_OWNER anywhere but in save.c
|
2012-05-18 22:34:04 -07:00 |
|
Enno Rehling
|
e501ed5bbd
|
test that we are the owner of the building first.
|
2012-05-18 21:46:41 -07:00 |
|
Enno Rehling
|
57fbc7809c
|
more strictly define what it means to be the owner of the building, and when it is transferred.
test coverage is a winderful thing.
UFL_OWNER is probably entirely useless now, must fix
|
2012-05-18 21:26:41 -07:00 |
|
Enno Rehling
|
8cd99bf88c
|
fallback for generating building/ship names in tests, when no translations are available
|
2012-05-18 09:19:46 -07:00 |
|
Enno Rehling
|
775e8edae1
|
as much as possible, replace the UFL_OWNER flag with checking the owner the canonical way.
|
2012-05-17 16:40:50 -07:00 |
|
Enno Rehling
|
ff33af3c65
|
ship and building owners encapsulated in accessors
tests added
|
2012-05-17 15:23:15 -07:00 |
|
Enno Rehling
|
7789e0534e
|
implement ship-ownership transfer as a function
test the reorder_units function
|
2012-05-17 12:23:25 -07:00 |
|
Enno Rehling
|
43f5770694
|
Fix ship-owners when control is given
|
2012-05-17 10:31:58 -07:00 |
|
Enno Rehling
|
d12fe2dbed
|
begin making shipowner use ship->owner.
fix a broken test caused by locale_string returning null.
|
2012-05-17 00:13:30 -07:00 |
|
Enno Rehling
|
ecbe770fce
|
rename _log_error to log_error and get rid of the cumbersome #define
|
2012-05-16 16:52:01 -07:00 |
|
Enno Rehling
|
14d62afb0d
|
rename _log_warn to log_warning and get rid of the cumbersome #define
|
2012-05-16 15:52:37 -07:00 |
|
Enno Rehling
|
7b6a719a62
|
findparam improvements!
removed findbuildingtype from findparam
separate isparam() function that I can optimize later
|
2012-05-16 12:06:44 -07:00 |
|
Enno Rehling
|
53d35213b6
|
Merge branch 'master' of gitorious.org:eressea/server
Clean up all warnings that Visual C++ didn't find
Conflicts:
shared/src/util/umlaut.c
shared/src/util/umlaut_test.c
|
2012-05-16 09:48:01 +02:00 |
|
Enno Rehling
|
b0959398d8
|
log library refactoring, first steps
|
2012-05-16 07:21:59 +02:00 |
|
Enno Rehling
|
116a1ee8ba
|
remove tnode from anywhere, and use a void* instead, in preparation for a new findtoken implementation. this needs to have a good testing.
lots of warning fixes for high warning levels in visual studio also
|
2012-05-15 15:04:23 -07:00 |
|
Enno Rehling
|
53bc4eee11
|
remove viewrange, because it's not used very much (was used for one quest only)
add my crit-bit implementation. to be used soon.
|
2012-05-14 14:16:02 -07:00 |
|
Enno Rehling
|
c10e2552ad
|
get_spellfromtoken needs a mage, not any unit.
|
2012-05-09 13:06:16 -07:00 |
|
Enno Rehling
|
c22f49ec36
|
replace spellid_t with unsigned int
fix finding spells by token
make magic_t an enum
|
2012-05-09 03:14:54 -07:00 |
|
Enno Rehling
|
ae31948dc5
|
fix a crash when wolves are cast with too little force
|
2012-04-16 06:56:44 +02:00 |
|
Enno Rehling
|
52013f0e7c
|
faction stealth is only selectively enabled in E3
|
2012-03-04 19:21:00 -08:00 |
|
Enno Rehling
|
2aa3acf56a
|
do not crash when terraforming land regions with road in them (oceans cannot have roads)
|
2011-06-04 18:37:02 +02:00 |
|
Enno Rehling
|
17d339b196
|
http://bugs.eressea.de/view.php?id=1851 spy messages have too many arguments
|
2011-04-29 21:50:12 -07:00 |
|
Enno Rehling
|
813d75f820
|
fixing spy messages (wrong arguments cause crash).
|
2011-03-19 11:06:03 -07:00 |
|
Enno Rehling
|
8d497e4b50
|
change the way the market tests are included.
|
2011-03-15 20:00:54 -07:00 |
|
Enno Rehling
|
89b3b3161f
|
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.
Add some testing support for terrains and buildings.
|
2011-03-12 17:01:20 -08:00 |
|
Enno Rehling
|
8fca34e824
|
SUITE_ADD_TEST is a macro and doesn't want this syntax
|
2011-03-12 16:58:12 -08:00 |
|
Enno Rehling
|
f0039bc58f
|
added spy to spy messages (see #1604)
|
2011-03-09 21:00:19 +01:00 |
|
Enno Rehling
|
5bf42bd8e9
|
make laws_tests more stand-alone
|
2011-03-08 21:18:35 -08:00 |
|
Enno Rehling
|
54d05f8544
|
MSVC warns about unreachable code.
|
2011-03-07 23:46:56 -08:00 |
|
Enno Rehling
|
b4c5607747
|
compiling with -pedantic on linux
|
2011-03-08 08:44:20 +01:00 |
|
Enno Rehling
|
04b3d7ff45
|
use enums, fix typecasts
|
2011-03-07 22:31:06 -08:00 |
|
Enno Rehling
|
496aa22e65
|
fixes for -ansi -pedantic
|
2011-03-07 17:29:19 +01:00 |
|
Enno Rehling
|
9c8779b303
|
indentation rules, slightly updated
|
2011-03-07 08:24:52 +01:00 |
|
Enno Rehling
|
fb7a642d47
|
indentation rules, strictly applied
|
2011-03-07 08:02:35 +01:00 |
|
Enno Rehling
|
d75ee1a057
|
Make the code compile on Visual Studio again, fixing type conversion warnings and C99-isms.
Signed-off-by: Enno Rehling <enno@eressea.de>
|
2011-03-06 19:29:20 -08:00 |
|
Enno Rehling
|
cb4f7a03c6
|
configurable ship damage
|
2011-03-06 12:43:18 +01:00 |
|
Enno Rehling
|
611fe8e2a1
|
adding a os module for os-specific functions (mkdir in this case).
|
2011-02-26 22:56:14 -08:00 |
|
Enno Rehling
|
b2d6203cec
|
1. spell_list was pretty much used everywhere in the code, and is now also a quicklist.
2. Cleaned up the bindings for quicklist to Lua.
|
2011-02-26 00:26:14 -08:00 |
|
Enno Rehling
|
14dff6cdfa
|
seen_factions is a quicklist, and the faction_list struct is a thing of the past.
|
2011-02-25 07:27:44 -08:00 |
|
Enno Rehling
|
831de3dd55
|
the report's address list is now a quicklist. A bit faster perhaps, and less memory? One less reason to have the faction_list struct, at least.
|
2011-02-24 22:29:21 -08:00 |
|
Enno Rehling
|
d479075c53
|
Testing util is no longer such an include-weirdness.
|
2011-02-23 23:23:32 -08:00 |
|
Enno Rehling
|
f5b4b1ff99
|
Merged a bugfix for omniscient factions from stm.
|
2011-02-15 23:06:26 -08:00 |
|
Enno Rehling
|
e0d70b096a
|
http://bugs.eressea.de/view.php?id=1825
giving command to empty units is a mistake.
|
2010-12-04 17:35:49 -08:00 |
|
Enno Rehling
|
d3a7d22253
|
http://bugs.eressea.de/view.php?id=1679
Applying a patch provided by Solthar: Server will give error when unit is given more than one long order.
I just added a test to this.
|
2010-11-11 20:11:19 -08:00 |
|
Enno Rehling
|
33100abebb
|
http://bugs.eressea.de/view.php?id=1585
prevent prospecting-exploit
|
2010-11-02 22:23:04 -07:00 |
|