All pastes #586285 Raw Edit

Anonymous

public text v1 · immutable
#586285 ·published 2007-06-23 19:15 UTC
rendered paste body
/tes: this prediction uses engine of game + own catched experience shit etc.
int doPredCalc(vec3_t base_orig,int player,int future) {
	static int lastTime;
	int retval;
	trajectory_t tr_tmp;
	int delta_time;
        int eFlags = eth.cg_entities[player].currentState->eFlags;
	vec3_t o_tmp;
	vec3_t bulletPath;
	vec3_t bulletAngle;
	int clientHeight;
	int clientFeetZ;
	int clientRotation;
        int bulletHeight;
        int bulletRotation; // Degrees rotation around client.
       // used to check Back of head vs. Face
        int impactRotation;
	float speedscale;
	int snapFlags;			// SNAPFLAG_RATE_DELAYED, etc
	int ping;
	int numPendingAnimations;
	int serverTime;	
	int i, x, zd, zu;