What function sets the origin to it's center? I haven't called anything explicitly. Also, setting Paddle's Y to 0 would no longer work if the origin was not where it is by default. I am not changing the origin.
I'd like to add a little bit more to the topic. When I record the window height at the beginning of the program, it indeed gives 800 or whatever I have it set as. But whenever the main loop begins, the window decreases its size. For instance, it will reduce to 725 however the the physical window doesn't change.
Here's my code. It's all in a single file and it is a bit sloppy and the so called "debugging" output is very crude. However, it should be very easy to read and understand:
http://pastebin.com/f5adcc5d2If you can pinpoint the location in which I'm changing the origin of the sprite, I would be much obliged. I run Linux if this were to have any relevance (since the implementation is different for X11). I also have a statement that moves the paddle to the very bottom before the main loop begins. This works successfully but when you move down (or press S), it moves up which doesn't make sense at all. There might be some useless code that doesn't almost nothing in there. This was just me testing a few things out to see if somethings were faulting. They can be ignored or removed. It does compile as is with a few warnings concerning the event enumerations.