summaryrefslogtreecommitdiff
path: root/blits.c
AgeCommit message (Collapse)Author
2015-01-08fix invalid display of the affinitiesOlivier Gayot
we used to loop through the elements in our outer loop and the affinities in the inner one. However since, the display is done line by line, we have to do the contrary. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-08update the damages handlingOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-08use the new enemy team instead of the old array of ENEMIESOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-08fix invalid field set to NULLOlivier Gayot
the wrong surface was set to NULL after being freed. It could result in an crash if it is not fixed. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07make team blitting and characters highlighting genericOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07Fix invalid blit positionOlivier 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-07clean the code and fix bugsOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07do not pass a pointer to standard type when a copy is possibleOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2015-01-07fixed some compilation warningsOlivier Gayot
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2014-10-26game: fix segmentation fault whenever the game startsOlivier 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>