[Home]History of Smoke/Source

Robo Home | Changes | Preferences | AllPages


Revision 14 . . October 28, 2004 16:18 EST by Loki
Revision 13 . . October 28, 2004 6:51 EST by Iiley
  

Difference (from prior major revision) (no other diffs)

Changed: 276c276,278
PEZ was right, and i don't care whether waves(j) have hit the opponent, i just care waves(i). Do you know my meanning? I just need waves(j)'s compareValue, and compareValue is not relative to whether it have hit opponent, but startPosition does.(startPosition.x was the hit angle when the wave have hit opponent) -- iiley
PEZ was right, and i don't care whether waves(j) have hit the opponent, i just care waves(i). Do you know my meanning? I just need waves(j)'s compareValue, and compareValue is not relative to whether it have hit opponent, but startPosition does.(startPosition.x was the hit angle when the wave have hit opponent) -- iiley

ok, so the 71 is optimised/fixed for standard RR battles. As 0 <= j <= 70, i-j are always 'older' waves which must have past the opponent. I will rewrite this code in Mega bot size ;) without all the reuse of variables, just for my own understanding. --Loki

Robo Home | Changes | Preferences | AllPages
Search: