Commit Graph

84 Commits

Author SHA1 Message Date
Enno Rehling 998549e687 mages have spellbooks now 2012-05-26 08:20:26 -07:00
Enno Rehling 3b3343ae72 spells no longer have a level (or need one) 2012-05-26 00:57:13 -07:00
Enno Rehling 9d1b62d463 updating spell-lists is a thing of the past now
almost everything uses books, except sc_mage
2012-05-26 00:33:55 -07:00
Enno Rehling 6ffe9cac33 these spells are only in the E2 and E3 source 2012-05-25 23:31:37 -07:00
Enno Rehling bc95ea80fb espionage messages will now report spellbooks 2012-05-25 23:01:21 -07:00
Enno Rehling 303dd7cc94 creport will now print spellbooks 2012-05-25 22:54:18 -07:00
Enno Rehling faa72b66b1 untangle the spaghetti a little bit
struct spell is now in spell.h where it belongs
some functions have moved as a result
2012-05-25 22:25:23 -07:00
Enno Rehling a015d72add unit_add_spell gets a level
added a test that fails for get_spellfromtoken if spell is not stored with the unit
2012-05-25 21:07:26 -07:00
Enno Rehling fc259d232b fix spellbook entries in at_reportspell (crash) 2012-05-25 18:30:18 -07:00
Enno Rehling 707349d014 at_reportspell is now a message about a spellbook-entry, not just a spell 2012-05-24 22:10:18 -07:00
Enno Rehling 3514218dba factions have working spellbooks
update of spellbooks for E3 should be functional
old data file is getting read, and levels guessed?
2012-05-24 00:56:54 -07:00
Enno Rehling eea6bdb888 comparison to boolean values is bad form. 2012-05-23 00:09:19 -07:00
Enno Rehling 6c51013e14 Nachrichten haben keine Attribute: http://bugs.eressea.de/view.php?id=1912 2012-05-21 21:00:04 -07:00
Enno Rehling ad146602c7 change the order in which TARNE arguments are checked, to handle simple cases first. 2012-05-21 17:56:27 -07:00
Enno Rehling 08adc91534 gcc 4.6 is a lot more picky about unused variables, so I shall appease it. 2012-05-20 00:16:12 -07:00
Enno Rehling 7dea6457d1 cleaning up GIVE, because there was too much parameter-searching going on here for the normal case of GIVE X N ITEM 2012-05-19 22:47:52 -07:00
Enno Rehling 8af1cad1dc Merge branch 'master' of gitorious.org:eressea/server 2012-05-19 22:13:02 -07:00
Enno Rehling 5c1f011000 Merge branch 'master' of gitorious.org:eressea/server 2012-05-20 06:55:36 +02:00
Enno Rehling c6559414c6 fewer findparam calls are better 2012-05-20 06:54:59 +02:00
Enno Rehling c9902a1d25 move error handling for use_cmd into a single location 2012-05-19 21:01:25 -07:00
Enno Rehling bcb01742ae remove yet another fintoken warning from the logs 2012-05-19 20:00:54 -07:00
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