summaryrefslogtreecommitdiff
path: root/rpg.c
AgeCommit message (Collapse)Author
2015-01-11coding rules: stop at 78 colsrewriteOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-11renamed the rects inside the struct positionsOlivier Gayot
it is redundant in thus inconvenient to repeat 'position' inside a structure named position. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-11remove or replace a lot of code for the initializationOlivier Gayot
many structures or positions were not revelant anymore and thus have been removed. some positions were not relative to each other it is sometimes not meaningful to put surfaces in the global scope when they only need to be used once. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-10allow to pass the resolution as argumentsOlivier Gayot
example (for my netbook): $ ./a.out 1024 600 Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-10cleaned the initialization / shutdown a littleOlivier Gayot
The initialized surfaces are converted to display format so that they are ready for fastblit. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>