Commit graph

20 commits

Author SHA1 Message Date
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
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
12c03644c4 u_hasspell only needs a mage, not a unit 2012-05-09 20:30:26 -07:00
Enno Rehling
882ac9e8e9 pick the correct target region for spells cast by familiars. 2012-05-09 20:23:00 -07:00
Enno Rehling
ee7a35f293 new_castorder is history 2012-05-09 18:42:20 -07:00
Enno Rehling
67ef4c52a3 combat spell functions have the same interface as spells now. 2012-05-09 18:28:33 -07:00
Enno Rehling
06e0d2b3b6 cleaning up castorder, unifying access to target region and caster. 2012-05-09 14:16:41 -07:00
Enno Rehling
02559f6869 refactoring castorder, because it's a bit of a mess of units, fighters, familliars and casters. 2012-05-09 13:46:10 -07:00
Enno Rehling
6dcf6669c3 get_spellfromtoken takes a mage
clarify this code with regards to mages casting through a familiar
2012-05-09 13:18:02 -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
21b8ab2d31 be nice to your friends, but not your enemies 2011-06-05 12:21:49 -07:00
Enno Rehling
d4310b1b51 bad magic resistance zone implemented.
this fixes http://bugs.eressea.de/view.php?id=1854
2011-05-15 15:01:09 -07:00
Enno Rehling
b4c5607747 compiling with -pedantic on linux 2011-03-08 08:44:20 +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
168e1d08d4 stop warning about duplicate spells. 2011-02-28 21:28:26 -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
a5e712580f undo more CRLF screwups. 2010-08-08 01:14:01 -07:00
Enno Rehling
14b3ed309f use external folder for all libraries (VS2010)
new repository structure
2010-08-07 23:05:54 -07:00
Enno Rehling
72505ab8f3 moving to a new repository layout.
step 1: shared folder.
2010-08-07 22:07:17 -07:00