UltraLight optimizations, and moving of access levels into a defines. (Pre-processor stuff is fun)

This commit is contained in:
SkyMarshal
2012-06-21 13:35:34 -07:00
parent f39676cacb
commit 730461840f
92 changed files with 392 additions and 514 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
var/construction_time = 75
//these vars are so the mecha fabricator doesn't shit itself anymore. --NEO
req_access = list(access_robotics)
req_access = list(ACCESS_ROBOTICS)
//Revised. Brainmob is now contained directly within object of transfer. MMI in this case.
+2 -2
View File
@@ -1,5 +1,5 @@
/var/const/SHARED_TYPES_WEIGHT = 5
/var/const/CAMERA_PROXIMITY_PREFERENCE = 0.2
#define SHARED_TYPES_WEIGHT 5
#define CAMERA_PROXIMITY_PREFERENCE 0.2
// the smaller this is, the more a straight line will be preferred over a closer camera when changing cameras
// if you set this to 0 the game will crash. don't do that.
// if you set it to be negative the algorithm will do completely nonsensical things (like choosing the camera that's