Enno Rehling
|
5547893be7
|
fix create_roi function in E3
|
2012-05-26 10:16:39 -07:00 |
Enno Rehling
|
da345f0cea
|
only read spellbooks when they are specialized (familiars, monsters, E3 factions)
|
2012-05-26 09:38:34 -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
|
409328a9c2
|
unit tests for setting combat spells
|
2012-05-26 07:27:59 -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
|
c73297ba44
|
fix an indexing error in pick_random_spell
|
2012-05-25 23:47:24 -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
|
24cba1bea7
|
testing spells in the example server also
WIP: create_roi is broken until mages have spellbooks
|
2012-05-25 19:55:47 -07:00 |
Enno Rehling
|
fc259d232b
|
fix spellbook entries in at_reportspell (crash)
|
2012-05-25 18:30:18 -07:00 |
Enno Rehling
|
58cbc3ccbc
|
add some tests for pools, because I found a bug here and we don't want to have that happen again.
|
2012-05-25 16:15:21 -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
|
b8d8bac9ae
|
fix trying to add to null-spellbook.
all unit tests pass.
|
2012-05-24 20:35:13 -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
|
eea6bdb888
|
comparison to boolean values is bad form.
|
2012-05-23 00:09:19 -07:00 |
Enno Rehling
|
bcd6991703
|
testing spells is a lot easier when you can disable fumbles
all tun_tests tests pass
|
2012-05-19 18:50:28 -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
|
9cbdaea27f
|
More tests for ships.
ship->owner is now in use, but there's an assert failing in shipspeed() during report writing.
|
2012-05-17 01:14:43 -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
|
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 |