MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

Re: [MUD-Dev] Combat systems



On Thu, 16 Dec 1999 21:16:25 +0100 (CET) 
Marc Spoorendonk <marc#freud,et.tudelft.nl> wrote:

> Using the squareroot function in order to create some curves in
> the statistics is a good idea. Log and exp functions are cool too
> but in my current driver they aren't implemented.

Words of advice:

  Write up integer approximating functions for sqrt(), log() etc.
Outside of MIPS and Alpha platforms (and even there) these are
extremely expensive calls.  Integer approximations are often far far
lighter and result int he same end.

-- 
J C Lawrence                              Internet: claw#kanga,nu
----------(*)                            Internet: coder#kanga,nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...


_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev



[ Other Periods  | Other mailing lists  | Search  ]