[quake3] SnapVector issues with old QVMs

Ludwig Nussel ludwig.nussel at suse.de
Mon Feb 20 04:05:54 EST 2006


On Monday 20 February 2006 01:28, Thilo Schulz wrote:
> I have a few qvms for older q3 versions which use a SnapVector() with int 
> casts to round the vector. In older versions, this was rounded non-ansi like 
> to the nearest int. I have seen syscall traps to implement SnapVector in the 
> engine itself that emulate this behaviour. Sadly, this is not being used in 
> the old qvms. Since I have little knowledge of assembler and no knowledge 
> about how the vm interpreter / JIT-compiler etc. work, I wanted to know 
> whether there is a _feasible_ way to revert the rounding behaviour with ints 
> to the previous state.

How old? 1.32?

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/




More information about the quake3 mailing list