Ani files were added a long time ago as a work around for them not being able to add GIF support to SDL.
It has been suggested that this can be done now so I will see if I can do it.
I am repurposing this thread to be an update on adding GIF support to the game.
.06.01.18
Gif files have been added to the girls' image lists but they do not animate yet, they only display the first frame.
Update:4/14/15
I attempted to load gif files into the game but failed.
They exceedingly bloated the memory of the game and crashed it.
I will need to change how the game handles images entirely to make gifs feasible.
Images currently are checked and their stats are stored in the memory every time the game is loaded.
Instead, I want to have the game look for images only when they are needed.
This will save memory and load time and should not noticeably affect game time.
I have added a check in ani loading so it will test if both the .ani file and the ./ani/.jpg folder/file matches.
This should prevent bad ani files from loading thus not causing the game to crash.
.06.02.00-.02
The image handling was completely rewritten.
.06.02.03
GIFs finally work.
Original text of this post:I just did an experiment of creating an ani file to see if/how it works.
https://mega.co.nz/#!wc83BCwJ!lHr38ZMn9Ih3XY6d8Oo8dzga1kct4wD3-XwdFxA4KagThere were no ani files in any of the girls folders I have so I took a gif from one, extracted the frames into jpgs and created an ani file for it.
It was not too hard to make the files, just a lot of copy/pasteing.
When I loaded it into the game, the gallery showed it fine.
However when trying it out from the interactions button, it did not animate and showed the frames as a tiled block.
I am not sure if there is something I am missing when looking at the code but I can't see anything wrong with it.
It may just be that the display window is not setup to allow animated images.
Now for the question,
Should I remove the ani section from the code, saving some processing time, or should I leave it in?