afritz1 / OpenTESArena

Open-source re-implementation of The Elder Scrolls: Arena.
MIT License
988 stars 68 forks source link

FLIC File Decoding #54

Closed afritz1 closed 7 years ago

afritz1 commented 8 years ago

The cinematic sequences (opening scroll, Ria Silmane, etc.) are currently black because the FLIC frame decoding is not complete. I took a shot at it, but if someone else knows more about FLIC files, then please take a look.

The public methods for the FLCFile class have been defined, so only FLCFile.cpp needs to be worked on. Each unique_ptr in the pixels member is created after decoding each frame, and each should point to a complete frame of the video.

Refer to any of the other image classes (.CIF, .IMG, .SET, etc.) for general style guidelines.

afritz1 commented 7 years ago

Fixed in commit https://github.com/afritz1/OpenTESArena/commit/be0fc945fbc5081f273d2b5e3442d85151e13e9d.

Allofich commented 7 years ago

Great to hear you were able to get past this roadblock!