Lines Matching refs:ENG

238 #define ENG engines[e->engineType]  macro
563 int flameOut = 720/ENG.speed/ENG.cylinders; in boom()
678 sides = (ENG.includedAngle == 0) ? 1 : 2; in display()
679 for (half = 0; half < sides; half++, glRotatef(ENG.includedAngle,1,0,0)) in display()
683 for (j = 0; j < ENG.cylinders; j += sides) in display()
685 b = (e->display_a + ENG.pistonAngle[j+half]) % ONEREV; in display()
696 for (j = 0; j < ENG.cylinders; j += sides) in display()
702 for (j = 0; j < ENG.cylinders; j += sides) in display()
710 for (j = 0; j < ENG.cylinders; j += sides) in display()
712 b = (e->display_a+HALFREV+ENG.pistonAngle[j+half]) % TWOREV; in display()
733 polys += Rect(0.3+e->crankOffset*ENG.cylinders-rightSide, -0.5, 1, 0.2, 9, 2); in display()
736 e->crankWidth/2+0.1+e->crankOffset*ENG.cylinders-rightSide, 0.2, 2); in display()
739 e->crankWidth/2+0.1+e->crankOffset*ENG.cylinders-rightSide, 0.2, 0.2); in display()
742 e->crankWidth/2+0.1+e->crankOffset*ENG.cylinders-rightSide, 0.2, 0.2); in display()
744 for (j=0; j < ENG.cylinders - (sides == 1); j += sides) in display()
751 for (j = 0; j < ENG.cylinders; j++) in display()
753 if (0 == ((e->display_a + ENG.pistonAngle[j]) % TWOREV)) in display()
757 glRotatef(ENG.includedAngle,1,0,0); in display()
769 glRotatef(ENG.includedAngle, 1, 0, 0); in display()
775 e->display_a += ENG.speed; in display()
814 if (ENG.includedAngle != 0) in makeshaft()
816 for (j = 0; j < ENG.cylinders - 1; j++) in makeshaft()
824 for (j = 0; j < ENG.cylinders; j++) in makeshaft()
828 glRotatef(HALFREV+ENG.pistonAngle[j]+ENG.includedAngle,1,0,0); in makeshaft()
830 glRotatef(HALFREV+ENG.pistonAngle[j],1,0,0); in makeshaft()