lol, found this in my code
Well, at least it is consistent 

. It could be worse, right? I could have just made a long string of every constant equaling the next and ending with = Number.POSITIVE_INFINITY; Actually I couldn't really do that since it's constants but, you get the idea.
I know the reason I did this. BSP2 has extended limits and I didn't/don't know what they are. My engine would throw errors regarding MAX's being exceeded when I tried to load a BSP2 so I just made it all a number so far out in space it would crash long before it ever reached it... but hopefully not crash and simply let me load the damn bsp.
MAX_HULLS was actually still set at 4. I set it to 9999999 in the post cause it's hilariously stupid




I know the reason I did this. BSP2 has extended limits and I didn't/don't know what they are. My engine would throw errors regarding MAX's being exceeded when I tried to load a BSP2 so I just made it all a number so far out in space it would crash long before it ever reached it... but hopefully not crash and simply let me load the damn bsp.
Code:
// fuck this stupid file. these were quake limits but they aren't mine // set everything to a gabillion and worry about the truth later public static const MAX_HULLS:uint = 9999999; public static const MAX_MODELS:uint = 9999999; public static const MAX_BRUSHES:uint = 9999999; public static const MAX_ENTITIES:uint = 9999999; public static const MAX_ENTSTRING:uint = 9999999; public static const MAX_PLANES:uint = 9999999; public static const MAX_NODES:uint = 9999999; // because negative shorts are contents public static const MAX_CLIPNODES:uint = 9999999; public static const MAX_LEAFS:uint = 9999999; //johnfitz -- was 8192 public static const MAX_VERTS:uint = 9999999; public static const MAX_FACES:uint = 9999999; public static const MAX_LFACES:uint = 9999999; public static const MAX_TEXINFO:uint = 9999999; public static const MAX_EDGES:uint = 9999999; public static const MAX_LEDGES:uint = 9999999; public static const MAX_TEXTURES:uint = 9999999; public static const MAX_MIPTEX:uint = 9999999; public static const MAX_LIGHTING:uint = 9999999; public static const MAX_VISIBILITY:uint = 9999999;
Comment