ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/skill_util.C
Revision 1.110 - (view) (download) (annotate) - [select for diffs]
Sun Nov 18 00:37:11 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.109: +1 -1 lines
Diff to previous 1.109
some range based for loops

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Sat Nov 17 23:40:04 2018 UTC (5 years, 5 months ago) by root
Branch: MAIN
Changes since 1.108: +1 -0 lines
Diff to previous 1.108
copyright update 2018

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:17:42 2017 UTC (6 years, 7 months ago) by root
Branch: MAIN
Changes since 1.107: +4 -4 lines
Diff to previous 1.107
freearr => DIR

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Sun Jan 29 02:47:06 2017 UTC (7 years, 3 months ago) by root
Branch: MAIN
Changes since 1.106: +12 -12 lines
Diff to previous 1.106
remove eol whitespace

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Wed Nov 23 06:05:38 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105
*** empty log message ***

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Wed Nov 16 23:42:03 2016 UTC (7 years, 5 months ago) by root
Branch: MAIN
Changes since 1.104: +1 -1 lines
Diff to previous 1.104
copyright update 2016

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Mon Oct 29 23:55:55 2012 UTC (11 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-3_1
Changes since 1.103: +6 -6 lines
Diff to previous 1.103
trailing space removal

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Tue Jan 3 11:25:37 2012 UTC (12 years, 4 months ago) by root
Branch: MAIN
Changes since 1.102: +1 -1 lines
Diff to previous 1.102
update copyrights to 2012

Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Sat Apr 23 04:56:57 2011 UTC (13 years ago) by root
Branch: MAIN
Changes since 1.101: +1 -1 lines
Diff to previous 1.101
update copyright to 2011

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Tue Feb 8 01:03:47 2011 UTC (13 years, 3 months ago) by root
Branch: MAIN
Changes since 1.100: +33 -22 lines
Diff to previous 1.100
adapted patch by Jonathan Neuschäfer, also use CS_NUM_SKILLS, as this is effectively clientside and we can have mroe than NUM_SKILSL skills

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Mon May 17 21:14:10 2010 UTC (13 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.99: +5 -1 lines
Diff to previous 1.99
*** empty log message ***

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Wed May 12 22:09:32 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.98: +3 -0 lines
Diff to previous 1.98
*** empty log message ***

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 04:39:59 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.97: +0 -2 lines
Diff to previous 1.97
sigh

Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 00:36:51 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.96: +31 -23 lines
Diff to previous 1.96
*** empty log message ***

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Wed Apr 14 22:35:41 2010 UTC (14 years ago) by root
Branch: MAIN
Changes since 1.95: +0 -4 lines
Diff to previous 1.95
remove fishing code - use mining instead

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Tue Apr 13 03:44:21 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.94: +17 -5 lines
Diff to previous 1.94
give_skill

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Sun Apr 11 00:34:06 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.93: +18 -18 lines
Diff to previous 1.93
get rid of QUERY_FLAG/SET_FLAG/CLEAR_FLAG macros that I always hated

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 05:12:57 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.92: +0 -36 lines
Diff to previous 1.92
remove change_skill & weird skill update logic in cast_destruction

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 04:54:10 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.91: +6 -6 lines
Diff to previous 1.91
*** empty log message ***

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Tue Apr 6 00:39:26 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.90: +6 -8 lines
Diff to previous 1.90
many minor bugfixes/tuning

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 22:00:15 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.89: +7 -10 lines
Diff to previous 1.89
some crash/bugfixes

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 17:28:12 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.88: +1 -1 lines
Diff to previous 1.88
*** empty log message ***

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 02:05:32 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.87: +4 -1 lines
Diff to previous 1.87
mining skill :)

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Sun Apr 4 04:10:47 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.86: +15 -4 lines
Diff to previous 1.86
tuning

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Sat Apr 3 22:30:21 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.85: +8 -0 lines
Diff to previous 1.85
*** empty log message ***

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Sat Apr 3 03:35:33 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.84: +1 -5 lines
Diff to previous 1.84
*** empty log message ***

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Fri Apr 2 03:41:25 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83
preliminary check-in with dbeugging code

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 20:17:48 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.82: +1 -1 lines
Diff to previous 1.82
*** empty log message ***

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 01:04:45 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.81: +1 -1 lines
Diff to previous 1.81
update copyright for up to 2010

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 00:59:22 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80
remove bogus 2007 copyright that was added wrongly by the script, update to affero license

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Sun Nov 29 10:55:18 2009 UTC (14 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_92, rel-2_93
Changes since 1.79: +1 -1 lines
Diff to previous 1.79
indent (remove useless use of void)

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Sat Nov 7 18:30:06 2009 UTC (14 years, 6 months ago) by root
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78
lots of cleanups

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Mon Oct 12 14:00:59 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_81, rel-2_82, rel-2_90
Changes since 1.77: +7 -6 lines
Diff to previous 1.77
clarify license

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Sat Oct 3 22:38:17 2009 UTC (14 years, 7 months ago) by root
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76
*** empty log message ***

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Mon Apr 27 01:38:49 2009 UTC (15 years ago) by root
Branch: MAIN
CVS Tags: rel-2_79, rel-2_80
Changes since 1.75: +1 -1 lines
Diff to previous 1.75
*** empty log message ***

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 20:23:07 2009 UTC (15 years, 4 months ago) by elmex
Branch: MAIN
CVS Tags: rel-2_75, rel-2_76, rel-2_77, rel-2_78
Changes since 1.74: +1 -1 lines
Diff to previous 1.74
updated copyright

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 16:30:39 2009 UTC (15 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.73: +24 -14 lines
Diff to previous 1.73
sanatized alchemy skill.

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 19:42:43 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.72: +4 -9 lines
Diff to previous 1.72
*** empty log message ***

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 15:43:35 2009 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71
eradictae strstr when contains is meant

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 18:07:41 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.70: +1 -1 lines
Diff to previous 1.70
further optimisations

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 17:35:38 2008 UTC (15 years, 4 months ago) by root
Branch: MAIN
Changes since 1.69: +1 -1 lines
Diff to previous 1.69
refactoring of shstr classe,s new shstr_tmp, lots of minor rewriting

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Sun Nov 16 03:52:13 2008 UTC (15 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-2_72, rel-2_73, rel-2_74
Changes since 1.68: +1 -1 lines
Diff to previous 1.68
*** empty log message ***

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 22:58:13 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.67: +19 -3 lines
Diff to previous 1.67
*** empty log message ***

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 04:09:57 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.66: +17 -16 lines
Diff to previous 1.66
*** empty log message ***

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Sep 22 06:16:41 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
CVS Tags: rel-2_71
Changes since 1.65: +4 -2 lines
Diff to previous 1.65
*** empty log message ***

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Mon Sep 22 05:45:55 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64
*** empty log message ***

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Mon Sep 22 01:33:10 2008 UTC (15 years, 7 months ago) by root
Branch: MAIN
Changes since 1.63: +26 -21 lines
Diff to previous 1.63
many minor text layout fixes

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Wed May 7 23:25:58 2008 UTC (16 years ago) by root
Branch: MAIN
CVS Tags: rel-2_54, rel-2_55, rel-2_56, rel-2_6, rel-2_61, rel-2_7
Changes since 1.62: +27 -26 lines
Diff to previous 1.62
*** empty log message ***

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:55:26 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61
update copyright

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Tue May 6 16:32:34 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60
*** empty log message ***

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun May 4 19:41:51 2008 UTC (16 years ago) by root
Branch: MAIN
Changes since 1.59: +3 -6 lines
Diff to previous 1.59
*** empty log message ***

Revision 1.59 - (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, rel-2_52, rel-2_53
Changes since 1.58: +4 -4 lines
Diff to previous 1.58
update copyrights and other minor stuff to deliantra

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:20 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2, rel-2_3
Changes since 1.57: +10 -11 lines
Diff to previous 1.57
- 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.57 - (view) (download) (annotate) - [select for diffs]
Tue Jun 5 13:05:03 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.56: +7 -12 lines
Diff to previous 1.56
- improve observe
- remove more cruft code
- archetype loading almost works again, reloading probbaly still borked.

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:04:00 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.55: +9 -9 lines
Diff to previous 1.55
- 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.55 - (view) (download) (annotate) - [select for diffs]
Wed May 30 03:03:10 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.54: +5 -2 lines
Diff to previous 1.54
fix a segfault when players really have no unarmed combat skill

Revision 1.54 - (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.53: +17 -17 lines
Diff to previous 1.53
update copyrights in server/*.C

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Fri May 18 12:13:03 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.52: +3 -6 lines
Diff to previous 1.52
inv_splay => splay

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Fri May 18 01:01:02 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.51: +10 -28 lines
Diff to previous 1.51
more skill tuning:
- clear_skill is gone, use change_skill (0) instead.
- change_skill now clears the current_weapon.
- more intelligent weapon switching on unapply.
- be more clever when initially applying weapons
  on player load/connect.
- survive wrong setting of READY_WEAPON.

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Thu May 17 20:27:02 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.50: +27 -31 lines
Diff to previous 1.50
- 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.50 - (view) (download) (annotate) - [select for diffs]
Mon May 14 21:52:32 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.49: +36 -129 lines
Diff to previous 1.49
*** empty log message ***

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon May 14 21:32:27 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.48: +56 -1 lines
Diff to previous 1.48
breath life into completely broken skill tools

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Mon May 14 19:56:45 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.47: +8 -7 lines
Diff to previous 1.47
*** empty log message ***

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sun May 13 19:56:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.46: +7 -6 lines
Diff to previous 1.46
*** empty log message ***

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun May 13 15:13:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.45: +4 -6 lines
Diff to previous 1.45
lots of little changes:
- fix MIN/MAX_AC/WC and use them
- abstratc weapon speed into player->weapon_speed, as
  it is just way too confusing and probably needs frequent updates :)
- use ob_speed/weapon_sp * 0.5 as an arbitrary real attack speed
  .5 needs tuning, elsewhere, but ahs been put in as a stopgap measure.
- fix speed issues, properly use weapon_sp (if a bit lagged)
- clear current weapon when readying skills because a skill might already
  be readied implicitly.

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

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sat May 12 16:06:42 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43
almost works

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sat May 12 13:27:38 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.42: +9 -14 lines
Diff to previous 1.42
*** empty log message ***

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat May 12 08:36:35 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.41: +4 -1 lines
Diff to previous 1.41
less artificial linebreaks

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri May 11 21:07:14 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.40: +0 -5 lines
Diff to previous 1.40
closer, still hackish

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Fri May 11 20:06:33 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.39: +12 -2 lines
Diff to previous 1.39
fix typoes

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed May 9 11:32:31 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.38: +12 -13 lines
Diff to previous 1.38
*** empty log message ***

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu May 3 10:39:46 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.37: +2 -8 lines
Diff to previous 1.37
beta it slowly into shape

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu May 3 09:39:56 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36
better feedback, actually switch to the bow when using it

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu May 3 04:50:27 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.35: +2 -8 lines
Diff to previous 1.35
- skill system is looking as if it were going somewhere, slowly.
- support a regex argument to who to limit user reports.

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue May 1 05:48:20 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.34: +59 -67 lines
Diff to previous 1.34
big simplification, still doesn't work, but feels cleaner

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 05:54:14 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.33: +7 -7 lines
Diff to previous 1.33
works a tad better

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Mon Apr 30 04:25:30 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.32: +27 -50 lines
Diff to previous 1.32
This is the first rough cut of the skill use system (use the STABLE tag).

Details will likely change, and combat skills do not work very well, but
it works quite well.

Players no longer have a shoottype or range slots, instead, each player
has these members:

   combat_skill/combat_ob  the currently selected skill (and weapon)
                           for direct attacks.
   ranged_skill/ranged_ob  the currently selected ranged skill (and
                           bow/spell/item)
   golem                   the currently-controlled golem, if any.

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 21:44:35 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.31: +11 -11 lines
Diff to previous 1.31
goofign around a bit: the while ranged/non-ranged system is borked and needs some serious redesign

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 18:11:21 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.30: +7 -10 lines
Diff to previous 1.30
indent, avoid lots of double<=>float conversions

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sun Apr 29 03:44:36 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.29: +13 -14 lines
Diff to previous 1.29
considerably change the balancing of missile weapons:

- treat bows as weapons in update_stats.
- completely change calculation of attacktype, damage and wc
  inside fire_bow.

this should make missile weapons much stronger and hopefully more
competitive. the formulas are probably broken, but hopefully at least an
improvement.

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 04:12:29 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
- rewrote more face handling code
- automatically send smooth faces, as the client will need them anyways
  and it makes little sense to wait for the client to axk for it. of course,
  gcfclient suffers from weird ordering problems again.
- UP_OBJ_FACE was often abused in situations where other things changed,
  updated lots of spaces, probably more to be done.
- update_smooth became so small that inlining it actually clarified
  the code. similar for update_space, which is not inlined for other reasons.
- faces were not initialised properly
- add versioncheck for face data
- rewrite invisibility handling a bit: god finger etc. now makes you blink,
  blinking routine has changed to be less annoying and more useful while
  still indicating invisibleness.

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 00:51:00 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.27: +138 -137 lines
Diff to previous 1.27
*** empty log message ***

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 02:07:40 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.26: +2 -4 lines
Diff to previous 1.26
remove many strcmps on shstr, added fast strcmp wrapper that only etsts for inequality

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

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 18:18:35 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.24: +16 -23 lines
Diff to previous 1.24
- move most last_* values into socket, where they belong
- this actually saved a lot of space in the text segment,
  which might mean less complicated pointer accesses, because
  the data is no where it belongs, mostly.

Revision 1.24 - (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.23: +1 -0 lines
Diff to previous 1.23
added some copyrights

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

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.21: +2 -3 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, 4 months ago) by root
Branch: MAIN
Changes since 1.20: +2 -2 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 11 21:32:18 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.19: +5 -6 lines
Diff to previous 1.19
- simplify headerfiles (this is the 21st century)
- remove long long hacks for printf etc.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:06:59 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
lld -> I64_PFd

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 14:28:13 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
- removed or commented out unused variables
- fixed one signedness issue (should work.. uint64 to sint64.. just
      what about the shopmax still being uint64?)

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 02:54:57 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +5 -0 lines
Diff to previous 1.16
- rename $uptime to $UPTIME
- hopefully force alchemy to use one second delay

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Dec 6 13:59:01 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +39 -72 lines
Diff to previous 1.15
- implement and modernize op->insert and op->remove
- simplify find_hth_skill to always use first found
- change change_skill to move recently used skills to top of inventory

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Dec 4 20:39:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.14: +7 -14 lines
Diff to previous 1.14
Remove i==0 optimisation which is wrong, as it makes clawing dependent on
the order of skills in the inventory.

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 20:26:35 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.13: +0 -2 lines
Diff to previous 1.13
indent

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

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

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 00:53:57 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +19 -3 lines
Diff to previous 1.10
introducing skillinc.h

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 00:26:16 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +9 -17 lines
Diff to previous 1.9
*** empty log message ***

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: +728 -594 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: +7 -7 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: +15 -33 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]
Wed Aug 30 06:06:27 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5
improve thawer interface, implement some monster event support

Revision 1.5 - (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.4: +420 -420 lines
Diff to previous 1.4
expand initial tabs to spaces

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 05:03:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +1 -4 lines
Diff to previous 1.3
- added ready/unready/can_apply events and their passive versions
- removed support for event_*-fields in maps
- removed support for current_weapon_script
- removed timers
- removed say/shout/Tell and related commands

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 08:44:07 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2
many, many cleanups

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Aug 25 17:11:53 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +5 -10 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: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)

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