summaryrefslogtreecommitdiff
path: root/structures.h
AgeCommit message (Collapse)Author
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-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>
2015-01-08add new pointers to screen and backgroundOlivier Gayot
make the old ones (Pfondjeu and Pecran) deprecated but keep them so the code continues working properly. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-08use a generic way to navigate through entriesOlivier Gayot
entries are actually any action or subaction that can be performed. Attack, White Magic and so on are root actions. Fire, Ice X are subactions of Black Magic. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-08improve code and fix numerous bugsOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07add the warrior gobelin as a real classOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07use a team / character model instead of an array of personnagesOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07store red surfacesOlivier Gayot
at the initialization, red surfaces are generated Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07Fix use of uninitialized variable in FmenuchoixpersosOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2014-10-26game: remove useless checksOlivier Gayot
it is safe to pass a null pointer to SDL_FreeSurface() BTW: change the format of the files from dos to unix Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2014-10-26game: Add a buildable version of the agmeOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>