mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Update max worldsize coords
MAX_COORD has been increased significantly in this engine. Not sure yet if the rest stayed the same.
This commit is contained in:
parent
2206c24683
commit
83236940fa
@ -14,14 +14,14 @@
|
||||
|
||||
// These definitions must match the coordinate message sizes in coordsize.h
|
||||
|
||||
// Following values should be +16384, -16384, +15/16, -15/16
|
||||
// Following values should be +65536, -65536, +15/16, -15/16
|
||||
// NOTE THAT IF THIS GOES ANY BIGGER THEN DISK NODES/LEAVES CANNOT USE SHORTS TO STORE THE BOUNDS
|
||||
#define MAX_COORD_INTEGER (16384)
|
||||
#define MAX_COORD_INTEGER (65536)
|
||||
#define MIN_COORD_INTEGER (-MAX_COORD_INTEGER)
|
||||
#define MAX_COORD_FRACTION (1.0-(1.0/16.0))
|
||||
#define MIN_COORD_FRACTION (-1.0+(1.0/16.0))
|
||||
|
||||
#define MAX_COORD_FLOAT (16384.0f)
|
||||
#define MAX_COORD_FLOAT (65536.0f)
|
||||
#define MIN_COORD_FLOAT (-MAX_COORD_FLOAT)
|
||||
|
||||
// Width of the coord system, which is TOO BIG to send as a client/server coordinate value
|
||||
|
Loading…
x
Reference in New Issue
Block a user