Closed GoogleCodeExporter closed 8 years ago
I've now commented the shipyard.c's defined constants in a better way.
The outfit.c is a horrible clutter and commenting it would take as long as the
fixes I've made today (3 hours, give or take). If there's not anything
pressing there I won't start commenting it any time soon although that might be
shooting myself in the foot :-p
Original comment by Jaakko.M...@gmail.com
on 10 Mar 2013 at 10:41
Make no mistake, it would indeed benefit me and other programmers enormously to
comment the outfit.c code properly - to see which drawRectangle() draws a black
box to hide the uppermost lines of an empty slot box etc.
However, it wouldn't be as much use to you as a graphician since the
coordinates, widths and heights are given in the code in quite a convoluted
way... because of the multiple resolutions, there are no simple defined
constants any more. In many places it takes multiplications of constants by
RESOLUTION_FACTOR and an added RES_CASE plus maybe some other ugly fixes. This
makes it pretty difficult to read.
It's IMO much faster to just play the game and use an on-screen ruler to
measure how many pixels all necessary gfx should be apart / tall / wide etc.
Original comment by Jaakko.M...@gmail.com
on 11 Mar 2013 at 8:35
Original issue reported on code.google.com by
dczanik@gmail.com
on 28 Feb 2013 at 9:42