| 891 | COMMAND(crouch, "d"); |
| 892 | |
| 893 | void fixcamerarange(physent *cam) |
| 894 | { |
| 895 | if(cam->pitch>MAXPITCH) cam->pitch = MAXPITCH; |
| 896 | if(cam->pitch<-MAXPITCH) cam->pitch = -MAXPITCH; |
| 897 | while(cam->yaw<0.0f) cam->yaw += 360.0f; |
| 898 | while(cam->yaw>=360.0f) cam->yaw -= 360.0f; |
| 899 | } |
| 900 | |
| 901 | FVARP(sensitivity, 1e-3f, 3.0f, 1000.0f); // general mouse sensitivity ("unscoped") |
| 902 | FVARP(scopesens, 0, 0, 1000); // scoped mouse sensitivity (if zero, autoscopesens determines, how sensitivity is changed during scoping) |
no outgoing calls
no test coverage detected