[MUD-Dev] Combat systems

J C Lawrence claw at cp.net
Thu Dec 16 17:24:23 New Zealand Daylight Time 1999

On Thu, 16 Dec 1999 21:16:25 +0100 (CET) 
Marc Spoorendonk <marc at 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 at kanga.nu
----------(*)                            Internet: coder at kanga.nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...

MUD-Dev maillist  -  MUD-Dev at kanga.nu

More information about the MUD-Dev mailing list