restore MAXSTUDIOBONES value

This commit is contained in:
nillerusr 2022-12-18 20:24:28 +03:00
parent 4f4e74273a
commit c44ae6211c

View File

@ -79,14 +79,14 @@ Studio models are position independent, so the cache manager can move them.
#define MAXSTUDIOFLEXVERTS 5000 #define MAXSTUDIOFLEXVERTS 5000
#endif #endif
#define MAXSTUDIOSKINS 32 // total textures #define MAXSTUDIOSKINS 32 // total textures
#define MAXSTUDIOBONES 256 // total bones actually used #define MAXSTUDIOBONES 128 // total bones actually used
#define MAXSTUDIOFLEXDESC 1024 // maximum number of low level flexes (actual morph targets) #define MAXSTUDIOFLEXDESC 1024 // maximum number of low level flexes (actual morph targets)
#define MAXSTUDIOFLEXCTRL 96 // maximum number of flexcontrollers (input sliders) #define MAXSTUDIOFLEXCTRL 96 // maximum number of flexcontrollers (input sliders)
#define MAXSTUDIOPOSEPARAM 24 #define MAXSTUDIOPOSEPARAM 24
#define MAXSTUDIOBONECTRLS 5 #define MAXSTUDIOBONECTRLS 5
#define MAXSTUDIOANIMBLOCKS 256 #define MAXSTUDIOANIMBLOCKS 256
#define MAXSTUDIOBONEBITS 8 // NOTE: MUST MATCH MAXSTUDIOBONES #define MAXSTUDIOBONEBITS 7 // NOTE: MUST MATCH MAXSTUDIOBONES
// NOTE!!! : Changing this number also changes the vtx file format!!!!! // NOTE!!! : Changing this number also changes the vtx file format!!!!!
#define MAX_NUM_BONES_PER_VERT 3 #define MAX_NUM_BONES_PER_VERT 3