Commit graph

20 commits

Author SHA1 Message Date
4e89878eb4 Replace __attribute__ keywords with a macro to improve compiler compatibility. 2014-08-14 12:00:04 +02:00
79fbf0faf7 Support drawing textures without doing any clipping. 2014-03-25 10:32:34 +01:00
a1e507ef12 Clip texture before rendering. 2014-03-24 21:32:24 +01:00
dbf29f13d1 Use the new notifiable system to scale the character. 2014-03-20 12:39:39 +01:00
0c6275f41c Draw in abstract units and scale to pixels at the end. 2014-03-20 12:39:39 +01:00
ccc831e34d Refactoring in SDLMain. 2014-03-20 12:39:39 +01:00
83d139d4b5 Support loading of 24 bit png. 2014-03-06 10:55:14 +01:00
fce08ed793 GPLv3 license. 2014-02-25 14:17:09 +01:00
897e4fd271 Flip vertical axis. 2014-02-22 17:07:02 +01:00
239a1c88d8 Only cast the result. 2014-02-22 12:26:26 +01:00
739b75b0b6 Support texture resizing. 2014-02-22 12:25:16 +01:00
05a8d0188c PNG loading fixed. 2014-02-21 22:31:16 +01:00
28bd73a1f7 PNG loading and major refactoring.
PNG loading is not working properly yet.
2014-02-21 21:51:56 +01:00
d0893cba3a Added some structuring.
The game runs but only a black window is shown.
2014-02-21 21:28:34 +01:00
93634da6fa Stop using the do-nothing Path class.
Instead use the newly imported PhysicsFS through a wrapper.
2014-02-13 00:01:29 +01:00
ed4e73f0d9 Fix in Vector conversion.
No need for a conversion overload.
Conversion constructor should cast whatever it's assigning.
2014-02-11 23:38:22 +01:00
abee07a844 Use the new vector class wherever possible. 2014-02-10 01:20:16 +01:00
fb92097419 Draw and move the texture.
Display the test texture and move it on a line.
The program is unresponsive to events and quits automatically after 15 seconnds.
2014-02-09 01:19:40 +01:00
a8f8d50129 New code and data to get something on screen.
WiP.
2014-02-09 00:32:11 +01:00
2429229a95 Code refactored into different files. 2014-02-08 23:11:26 +01:00