Posted by member 348804 on 2006-12-12 16:45:19 link
well that worked and that didn't work :(
How would one go about writing the following C code without horrendous IF statements:
xOffset = 50
if (volume) xOffset += 40
if (vwm) xOffset += 100
if (player) xOffset += 200
This way we simply move the offset for each object loaded
Peter
How would one go about writing the following C code without horrendous IF statements:
xOffset = 50
if (volume) xOffset += 40
if (vwm) xOffset += 100
if (player) xOffset += 200
This way we simply move the offset for each object loaded
Peter