Commit Graph

24 Commits

Author SHA1 Message Date
Enno Rehling 5cba331ad3 cmake files for uil and kernel
fixing a bunch of files that do not compile on their own
2012-06-03 12:51:35 -07:00
Enno Rehling 8619bd74a8 slow but working solution for getspell. rebuilding that radix tree for every call is insanity. 2012-05-26 09:05:03 -07:00
Enno Rehling 998549e687 mages have spellbooks now 2012-05-26 08:20:26 -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 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 6417f55ec6 specify levels with magic attacks (step one to removing spell->level) 2012-05-24 10:24:37 -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 92e96689bb spellbooks fully operational (and could be loaded from XML definitions if I had them)
fixed the cleanup between tests to properly free locales
2012-05-23 20:22:12 -07:00
Enno Rehling f45a494277 new datafile version: spell names are now unique (or will be soon), and writing the magic school with each is irrelevant. 2012-05-23 15:19:40 -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 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 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 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 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 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