Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 24th, 2012  |  syntax: None  |  size: 1.44 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //loda start roll conditions -- fixyme cannot roll in swing on japlus fixroll 3, assumes can
  2. #ifdef QAGAME
  3.                 if ((g_fixRoll.integer > 1 && (PM_RunningAnim(pm->ps->legsAnim) || PM_CanRollFromSoulCal(pm->ps)) && !BG_InRoll(pm->ps, pm->ps->legsAnim))
  4.                         || (g_fixRoll.integer == 1 && ((PM_RunningAnim(pm->ps->legsAnim) && VectorLengthSquared(pm->ps->velocity)>=32400) || PM_CanRollFromSoulCal(pm->ps)) && !BG_InRoll(pm->ps, pm->ps->legsAnim))
  5.                         || (g_fixRoll.integer < 1 && ((PM_RunningAnim(pm->ps->legsAnim) && VectorLengthSquared(pm->ps->velocity)>=40000) || PM_CanRollFromSoulCal(pm->ps)) && !BG_InRoll(pm->ps, pm->ps->legsAnim)))
  6. #else
  7.                 if (((!Q_stricmpn(cgs.gamename, "JA+ Mod", 7) && cgs.cinfo & JAPLUS_CINFO_FIXROLL3 || cgs.cinfo & JAPLUS_CINFO_FIXROLL2) || (!Q_stricmpn(cgs.gamename, "japro", 7) && cgs.cinfo & JAPRO_CINFO_FIXROLL3 || cgs.cinfo & JAPRO_CINFO_FIXROLL2) && (PM_RunningAnim(pm->ps->legsAnim) || PM_CanRollFromSoulCal(pm->ps)) && !BG_InRoll(pm->ps, pm->ps->legsAnim))
  8.                         || ((!Q_stricmpn(cgs.gamename, "JA+ Mod", 7) || (!Q_stricmpn(cgs.gamename, "japro", 7) && cgs.jcinfo & JAPRO_CINFO_FIXROLL1)) && ((PM_RunningAnim(pm->ps->legsAnim) && VectorLengthSquared(pm->ps->velocity)>=32400) || PM_CanRollFromSoulCal(pm->ps)) && !BG_InRoll(pm->ps, pm->ps->legsAnim))
  9.                         || (((PM_RunningAnim(pm->ps->legsAnim) && VectorLengthSquared(pm->ps->velocity)>=40000) || PM_CanRollFromSoulCal(pm->ps)) && !BG_InRoll(pm->ps, pm->ps->legsAnim)))
  10. #endif
  11. //loda end