OpenXcom Forum

Contributions => Programming => Topic started by: hellrazor on June 05, 2017, 08:28:39 pm

Title: volutars door patch
Post by: hellrazor on June 05, 2017, 08:28:39 pm
Our dear volutar made a patch to fix the timeunit preview for 2x2 tanks and optimize its handling.

I implemented the patch from: http://volutar.myds.me/05_doors.patch (http://volutar.myds.me/05_doors.patch)

I merged it into my branch here: https://github.com/hellrazor4223/OpenXcom/commit/9b488f02828f22ab5e619054d2734872ca772747 (https://github.com/hellrazor4223/OpenXcom/commit/9b488f02828f22ab5e619054d2734872ca772747)
Took some work, but it works, even thou i already found a case were there is some issue.
See screenshots attached.

screen014 and screen015 show that the preview now work correctly.
on screen016 and screen017 there is a slight bug, the preview shows that 4 TU more are consumed then there actually are used. Maybe volutar could take a look at this again.