]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Enable PRVM_64 - the QuakeC VM will run as 64bit (using int64/double rather than...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 14 Apr 2018 04:34:54 +0000 (04:34 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 14 Apr 2018 04:34:54 +0000 (04:34 +0000)
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

qtypes.h

index 6c09614eff2479b53c30d24bc1d2212d0c0697da..83454bf65509d5df11f941bceb6efcea1d937d86 100644 (file)
--- 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;