The 'code' button actually uses 'source' tags to wrap your code.
Looking over what you posted, I still don't know what's representing a brick in your code.
Looking at your first post it seems like you're just using sprites and treating them like objects. If you want bricks that do things then you should make a class for bricks that encapsulates their behavior.
Separate your drawing from your logic: Do the logic for the frame and then draw the result.
void hurrrrrrrr() {__asm sub [ebp+4],5;}
There are ten kinds of people in this world: those who understand binary and those who don't.