So I did some work on optimizing the shipyard interface now.
I found out the getSellprice is called 3 times for each ship or so. So this caused some lags.
Also in the cannons interface there was a function called each milliseccond while it wasn't used.
There is still a lot of debug code in this file but it's all disabled atm so you shouldn't have a problem with it now.
Still need to look more at it but I think this should give a noticeable effect already with the jerkyness in at last the repair and cannons interface.
Please let me know if it helps.
Place in: PROGRAM\INTERFACE
I found out the getSellprice is called 3 times for each ship or so. So this caused some lags.
Also in the cannons interface there was a function called each milliseccond while it wasn't used.
There is still a lot of debug code in this file but it's all disabled atm so you shouldn't have a problem with it now.
Still need to look more at it but I think this should give a noticeable effect already with the jerkyness in at last the repair and cannons interface.
Please let me know if it helps.
Place in: PROGRAM\INTERFACE