|
From: TD <td...@pa...> - 2002-12-07 07:18:59
|
I'm rather new to C (learning quickly though) but loved playing Starcon = 2 and want to help out. Anyway I fixed two bugs I noticed and thought I = could managed :) According to the Changelog loci fixed it so that the modules were = horizontally aligned correctly but I noticed they were also 1 pixel too = high as well. Also the thrusters and jets were 1 pixel to the left as = well. Index: sis.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/sc2/sc2/src/sc2code/sis.c,v retrieving revision 1.9 diff -r1.9 sis.c 527c527,528 < s.origin.x =3D s.origin.y =3D 0; --- > s.origin.x =3D 1; > s.origin.y =3D 0; 563c564 < s.origin.y =3D 0; --- > s.origin.y =3D 1; And in the initial menu up was down and down was up. Index: restart.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/sc2/sc2/src/sc2code/restart.c,v retrieving revision 1.5 diff -r1.5 restart.c 119,120c119,120 < if (GetInputXComponent (InputState) < 0 < || GetInputYComponent (InputState) < 0) --- > if (GetInputXComponent (InputState) > 0 > || GetInputYComponent (InputState) > 0) 125,126c125,126 < else if (GetInputXComponent (InputState) > 0 < || GetInputYComponent (InputState) > 0) --- > else if (GetInputXComponent (InputState) < 0 > || GetInputYComponent (InputState) < 0) -TD |