Browse Source

engine: protocol: increase MAX_LIGHTSTYLES from 64 to 256, protocol limit as it encoded as unsigned byte

pull/2/head
Alibek Omarov 1 year ago
parent
commit
5b52a9a19f
  1. 2
      engine/common/protocol.h

2
engine/common/protocol.h

@ -128,7 +128,7 @@ GNU General Public License for more details. @@ -128,7 +128,7 @@ GNU General Public License for more details.
#define MAX_USER_MESSAGES 197 // another 58 messages reserved for engine routines
#define MAX_DLIGHTS 32 // dynamic lights (rendered per one frame)
#define MAX_ELIGHTS 64 // entity only point lights
#define MAX_LIGHTSTYLES 64 // original quake limit
#define MAX_LIGHTSTYLES 256 // a1ba: increased from 64 to 256, protocol limit
#define MAX_RENDER_DECALS 4096 // max rendering decals per a level
// sound proto

Loading…
Cancel
Save