From: havoc Date: Sat, 14 Apr 2018 04:34:54 +0000 (+0000) Subject: Enable PRVM_64 - the QuakeC VM will run as 64bit (using int64/double rather than... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da42c657f8671a1d44463763607e64a00087af94;p=xonotic%2Fdarkplaces.git Enable PRVM_64 - the QuakeC VM will run as 64bit (using int64/double rather than int/float). This means that levels can run for > 10 hours without time precision issues, and float flags values can have flags ranging up to 54 bits rather than 24 bits. There may be bugs, and physics is still using 32bit floats in a bunch of places so this does not enable huge worlds currently. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12393 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/qtypes.h b/qtypes.h index 6c09614e..83454bf6 100644 --- a/qtypes.h +++ b/qtypes.h @@ -40,7 +40,7 @@ typedef unsigned long long dpuint64; // LordHavoc: upgrade the prvm to double precision for better time values // LordHavoc: to be enabled when bugs are worked out... -//#define PRVM_64 +#define PRVM_64 #ifdef PRVM_64 typedef double prvm_vec_t; typedef long long prvm_int_t;