ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/attack.C
Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:16 2007 UTC (17 years, 3 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.49: +0 -1 lines
Diff to previous 1.49
nano-cleanups

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 02:04:47 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48
rework material code in preparation for nuking object->materials, also add some useful object methods in preparation of the mapspace limiting

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 22:20:00 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
RANDOM was broken due to signedness issues, also rewrote random_roll, no longer uses luck, but should

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:42:10 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
just experimenting

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:32:37 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.45: +3 -1 lines
Diff to previous 1.45
just experimenting

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

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 15:41:09 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.43: +30 -21 lines
Diff to previous 1.43
indent

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 14:23:44 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
winpip to the rescue

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 02:52:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
*** empty log message ***

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 00:40:49 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.40: +24 -18 lines
Diff to previous 1.40
- micro-optimised hit_map and ok_to_put_more, this
  immensely helped reduce load on dense maps.
- introduced xy_normalise, which is imho a saner interface
  and much faster than get_map_flags so should be used
  in new code (and time-critical code).

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun Jan 14 22:06:05 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.39: +238 -239 lines
Diff to previous 1.39
minor stuff

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

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

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 22:47:18 2007 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.36: +11 -27 lines
Diff to previous 1.36
rework the logic a bit

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 00:21:36 2007 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
initialised :)

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 10:28:36 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.34: +1 -2 lines
Diff to previous 1.34
different interface design for c++/perl map handling, some random map framework

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

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
- 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.32 - (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.31: +6 -6 lines
Diff to previous 1.31
- 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.31 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 23:37:05 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
- made state a per-client variable
  (that does not magically make state a per-client thing!)
- rename player->socket to player->ns. its not a good name for "client",
  but it is an historical artifact, and better than "socket".

Revision 1.30 - (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.29: +3 -3 lines
Diff to previous 1.29
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 03:00:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.28: +7 -6 lines
Diff to previous 1.28
ooification

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 04:30:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.27 - (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.26: +19 -19 lines
Diff to previous 1.26
further cleanups and oofication

Revision 1.26 - (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.25: +33 -45 lines
Diff to previous 1.25
- more ooficiation
- removed now superfluous remove calls

Revision 1.25 - (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.24: +26 -26 lines
Diff to previous 1.24
replace some function- by method-calls

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Dec 9 16:11:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.23: +2 -4 lines
Diff to previous 1.23
remove golem_count, likely golems are destroyed late now

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Dec 4 15:33:52 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.22: +2 -4 lines
Diff to previous 1.22
Do not crash when all party members left the map of a dieing monster but instead
credit to the killer.

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Sep 29 11:53:09 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
enlarge killer and other fields, do not use silly BIG_NAME with no meaning.

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 18:58:39 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.20: +15 -18 lines
Diff to previous 1.20
fix yet another crash bug

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 10:35:22 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.19: +34 -47 lines
Diff to previous 1.19
argh

Revision 1.19 - (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.18: +3 -3 lines
Diff to previous 1.18
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.18 - (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.17: +20 -35 lines
Diff to previous 1.17
replace was_destroyed by much simpler and less expensive ->destroyed,
which is valid, as objetc pointers are now reliable.

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

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

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 20:46:10 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.14: +7 -2 lines
Diff to previous 1.14
indent

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 17:10:25 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +3 -4 lines
Diff to previous 1.13
removed now obsolete generation counter checks - further slimmed down sizeof(objetc) to 616 bytes

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 00:14:51 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +20 -16 lines
Diff to previous 1.12
*** empty log message ***

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 19:20:08 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11
- improve assign to prepend "..."
- make more use of assign
- implement op->debug_desc() and make some more use of it

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: +8 -5 lines
Diff to previous 1.10
indent

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 11:46:52 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +4 -1 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: +1943 -1740 lines
Diff to previous 1.8
indent

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:42 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.7: +38 -43 lines
Diff to previous 1.7
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.7 - (view) (download) (annotate) - [select for diffs]
Wed Aug 30 06:06:27 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
improve thawer interface, implement some monster event support

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 11:58:02 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.5: +6 -2 lines
Diff to previous 1.5
preventing hits of objects on a map by any effects if it is on a safe ground.
this should prevent most harmful effects for items and players there (delta
stuff that i didn't think of and couldn't find in the code).

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

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 07:34:00 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.3: +1 -11 lines
Diff to previous 1.3
nuke transports

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

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Aug 25 17:11:53 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.1: +3 -6 lines
Diff to previous 1.1
converted more events, broken per-object events (needs map support), lots of fixes

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:03 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_0: (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