ScriptVars class implementation for CinE
|Reported by:||SF/next_ghost||Owned by:||sev-|
Simple ScriptVars implementation merged with current code. There're also two bugs fixed (memory overrun in globalVars causing memory corruption of overlayHead and an older "fix" resulting in memory leak).
Ticket imported from: #1848173. Ticket imported from: patches/863.