@Superku:
Maybe the best example:
target, result, hWnd, player, my, me, you, your, nullvector, mtl, camera...
Imagine how often you need a local variable with this name but not with the same type.
ENTITY *camera = ent_create("camera.mdl", vector(16, 324, 123), follow_player);
camera->x = 5; // What variable do i modify? global VIEW* camera or local ENTITY* camera?
TraceResult *result = x_trace(from, to, USE_POLYGON); // Using custom tracing
if(result->isHit) { // Doesn't even compile, because result is a var and it is global
error("I hit something!");
}
@Sid: Thanks for teaching a good code discipline
EDIT:
In short version: Every single global variable takes your possibility of thousands of local variables.