Direct3D or OpenGL are just the routines that you use to draw the GFX, they are in no way linked with the variables save when you call functions in DX/GL with them. You would just do it the normal way, eg:
Code:
If Score Mod 100 = 0 then Lives=Score / 100
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
(Just a heads-up)