ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/spell_attack.C
Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:07:35 2008 UTC (15 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_72, rel-2_73
Changes since 1.68: +37 -41 lines
Diff to previous 1.68
enotunderstood

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Mon Oct 6 08:46:33 2008 UTC (15 years, 7 months ago) by elmex
Branch: MAIN
Changes since 1.67: +8 -3 lines
Diff to previous 1.67
added some checks in move_cone.

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:32:50 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.66: +23 -23 lines
Diff to previous 1.66
destroy (true) => destroy ()

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:31:32 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.65: +5 -10 lines
Diff to previous 1.65
introduce drop_and_destroy and use it

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 10:20:49 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.64: +38 -29 lines
Diff to previous 1.64
do the same everywhere else

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Mon Sep 29 06:32:09 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63
spell effective level system reworked

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 09:22:47 2008 UTC (15 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_7, rel-2_71
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
verified thta we indeed don't do any 'illegal' arch* == arch* comparisons

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Mon Jul 14 00:04:57 2008 UTC (15 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_6, rel-2_61
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
*** empty log message ***

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sun May 18 19:53:07 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_55, rel-2_56
Changes since 1.60: +6 -2 lines
Diff to previous 1.60
*** empty log message ***

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun May 18 17:52:53 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59
insret_ob_in_map is too late to remove an object from the map

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sat May 17 15:25:19 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.58: +9 -1 lines
Diff to previous 1.58
*** empty log message ***

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sat May 17 14:57:23 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.57: +25 -40 lines
Diff to previous 1.57
*** empty log message ***

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sat May 17 14:11:13 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.56: +4 -6 lines
Diff to previous 1.56
fix missile swarm, improve blockign logic

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sat May 17 01:05:57 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.55: +3 -1 lines
Diff to previous 1.55
*** empty log message ***

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat May 17 00:17:02 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.54: +20 -36 lines
Diff to previous 1.54
many bugfixes

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Wed Apr 30 10:31:04 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_53, rel-2_54
Changes since 1.53: +3 -1 lines
Diff to previous 1.53
*** empty log message ***

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 07:01:47 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-2_52
Changes since 1.52: +0 -3 lines
Diff to previous 1.52
see Changes

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 02:46:18 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
- remove all "obviously safe" uses of esrv_del_item.

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sun Apr 20 23:25:43 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
minor refactoring

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sun Apr 20 23:25:09 2008 UTC (16 years, 1 month ago) by root
Branch: MAIN
Changes since 1.49: +6 -8 lines
Diff to previous 1.49
minor refactoring

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 19:43:28 2007 UTC (16 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_32, rel-2_4, rel-2_41, rel-2_42, rel-2_43, rel-2_5
Changes since 1.48: +4 -4 lines
Diff to previous 1.48
update copyrights and other minor stuff to deliantra

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Fri Aug 24 01:41:02 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.47: +2 -5 lines
Diff to previous 1.47
consdierably reduce disease range modifier

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Aug 15 18:06:32 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.46: +8 -5 lines
Diff to previous 1.46
fix cast curse w.r.t. head

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Wed Aug 1 00:52:38 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.45: +1 -2 lines
Diff to previous 1.45
*** empty log message ***

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Wed Aug 1 00:26:03 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.44: +2 -0 lines
Diff to previous 1.44
allow exploding thingy effect

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Jul 22 14:17:58 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.43: +0 -1 lines
Diff to previous 1.43
fix crash problem

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Jul 5 08:10:30 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.42: +2 -13 lines
Diff to previous 1.42
- unbundle marker code into force_find/force_add
- use completely different (more efficient) speed logic
- make those methods available to perl
- to avoid numerical errors use an exact fp number for MIN_ACTIVE_SPEED.

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:20 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.41: +10 -11 lines
Diff to previous 1.41
- upgrade crossfire trt to the GPL version 3 (hopefully correctly).
- add a single file covered by the GNU Affero General Public License
  (which is not yet released, so I used the current draft, which is
  legally a bit wavy, but its likely better than nothing as it expresses
  direct intent by the authors, and we can upgrade as soon as it has been
  released).
  * this should ensure availability of source code for the server at least
    and hopefully also archetypes and maps even when modified versions
    are not being distributed, in accordance of section 13 of the agplv3.

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat Jun 9 21:16:12 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.40: +4 -16 lines
Diff to previous 1.40
- inherit some flags from the head (probably should inherit everything,
  the whole object, but thats for later).
  this makes speed-relevant code faster and simpler.

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Jun 7 18:58:30 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
un-insanify

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:04:01 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
- archetype is now a subclass of object.
- store archetypes in an object_vector.
- use a different startegy for archetype loading
  (reloading is MOST CERTAINLY broken).

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 12:19:09 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
rename arch->name to arch->archname for preparation of subclassing object

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:28:36 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.36: +17 -17 lines
Diff to previous 1.36
update copyrights in server/*.C

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri May 18 13:15:29 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.35: +11 -10 lines
Diff to previous 1.35
- fix oratory to correctly account to the oratory skill
- change the unapply logic to be more careful (basically
  ignore skills as they get unapplied a lot)

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu May 17 20:27:02 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
- more rewrite:
  change_skill now only changes the chosen_skill, nothing else.
  new flag to suppress skill tool behaviour of readying the skill
  when applying the tool, for use in find_skill.

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu May 17 00:33:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.33: +1 -4 lines
Diff to previous 1.33
- do not require an item for the use magic item skill.
  thats because it is often used for "misc" objects such as scrolls,
  which do not get applied as ranged weapons. not requiring an item
  is not likely to be a big deal anyways.

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat May 12 22:04:20 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.32: +5 -5 lines
Diff to previous 1.32
some floatingpoint µopts

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 12:32:16 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.31: +1 -3 lines
Diff to previous 1.31
server crashed this morning because a freed golem tried to follow
his owner, triggering the assertion failure.

the golem had no owner, but the owner still had him in his range slots.

I refactored a bit of the code and rearranged it to hopefully increase
chances of this not occuring again.

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri Mar 30 21:53:09 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.30: +2 -9 lines
Diff to previous 1.30
*** empty log message ***

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:16 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.29: +0 -5 lines
Diff to previous 1.29
nano-cleanups

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 16:11:48 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.28: +8 -5 lines
Diff to previous 1.28
- add visibility_at to players (only), might/should be an object method
- mood spells only affect visible spaces now.

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:20 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.27: +22 -22 lines
Diff to previous 1.27
comments

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 01:19:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
more preperations for player eviction

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 14:42:31 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.25: +1 -0 lines
Diff to previous 1.25
added some copyrights

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 20:04:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.24: +63 -134 lines
Diff to previous 1.24
- added maptile->insert and object->insert_at methods that might
  make code using it clearer.
- replaced some insert_ob_in_map calls.

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:55:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.23: +2 -5 lines
Diff to previous 1.23
replace update_ob_speed by ->set_speed

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.22: +10 -9 lines
Diff to previous 1.22
- small, but subtle, rewrite of object management
- perl will now keep attachable objects alive
- objects are now refcounted
- refcouts need to be tested explicitly (refcnt_chk)
- explicit destroy is required current
- explicit destroy asks "nicely" for the object to self destruct, if possible
- refcounts will be used during mortal killing
- minor bugfixes, optimisations etc.
- some former hacks removed.

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
- preliminary check in, stuff is rudimentarily working
- moved most of the player creation process into a perl coroutine
- changed internal design of player management to not reuse
  and morph the object in funny ways. should be safer and much
  nicer to handle.
- got rid of some annoying hacks, such as clear()
  (TODO: get rid of player_pod and other stuff now unnecessary?)

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 09:14:22 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.20: +7 -7 lines
Diff to previous 1.20
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 02:35:01 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19
- remove recycle_tmp_maps setting (hardwired to true)
- replace object->flags by std::bitset, seems to be way
  more efficient, for some unexplainable and not looked-into reason.
  its way cleaner, too...

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 03:28:42 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.18: +18 -18 lines
Diff to previous 1.18
further cleanups and oofication

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 00:42:04 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.17: +5 -8 lines
Diff to previous 1.17
added a needed abstraction

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 21:39:57 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +52 -66 lines
Diff to previous 1.16
- more ooficiation
- removed now superfluous remove calls

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 20:53:03 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +50 -50 lines
Diff to previous 1.15
replace some function- by method-calls

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:24:13 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.14: +15 -15 lines
Diff to previous 1.14
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 23:13:49 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +11 -17 lines
Diff to previous 1.13
replace was_destroyed by much simpler and less expensive ->destroyed,
which is valid, as objetc pointers are now reliable.

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 22:34:05 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +1 -8 lines
Diff to previous 1.12
indent

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 21:16:13 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
cleanup

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 20:26:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10
indent

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 23:24:12 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +9 -7 lines
Diff to previous 1.9
indent

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 15:59:57 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +1692 -1447 lines
Diff to previous 1.8
indent

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Sep 7 10:01:58 2006 UTC (17 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.7: +5 -2 lines
Diff to previous 1.7
Some cleanups.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:42 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +18 -22 lines
Diff to previous 1.6
THIS CODE WILL NOT COMPILE
use the STABLE tag instead.

- major changes in object lifetime and memory management
- replaced manual refcounting by shstr class
- removed quest system
- many optimisations
- major changes

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 08:01:38 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +762 -762 lines
Diff to previous 1.5
expand initial tabs to spaces

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 23:36:34 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4
intermediate check-in, per-object events work

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 17:35:51 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3
removed P_SAFE_MAP and added P_SAFE as map flag set by an item with type SAFE_FLOOR (165)

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 16:19:55 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.2: +15 -1 lines
Diff to previous 1.2
added safe map and some checks over the code to make the maps really safe!

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 15:00:20 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.1: +8 -1 lines
Diff to previous 1.1
added a safe_map flag which prevents bad effects on maps that should be
safe, like some shops and for example the trade shop in scorn.

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:04 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-2_72: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a