Module twilight: Change committed

warp at icculus.org warp at icculus.org
Mon Jan 27 05:30:17 EST 2003


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2003-01-27 10:30:17 UTC

Log message:

Fix RC #0!

The problem was actually with OP_STORE_V, this copys a vector, and is used by qcc during function calls.
The problem is that for some reason gcc 2.95 generates code that slightly mangles 'invalid' floats for this copy, and the result of some of the pointer calcs was decided 'invalid' as far as a float goes.
So, we now copy as ints, and the problem is GONE!

(This resulted in making PR_GetString and PR_SetString #defines for QW and DP, making for cleaner code and less memory usage.)

Modified files:
     TODO nq/pr_execprogram.h nq/progs.h qw/cl_ents.c qw/cl_main.c
     qw/pr_edict.c qw/pr_exec.c qw/progs.h qw/sv_ccmds.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20030127.103017.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030127/000a3bc8/attachment.diff>


More information about the twilight-commits mailing list