adventuregamestudio/ags — pull request #183 by gurok (2014-09-12 17:47:57+00:00)
Title: Engine: Remove limit of 50 script modules

Replaced the existing `MAX_SCRIPT_MODULES` arrays with vectors. Most of the conversion involved replacing static array sizes with `.resize` in `game_file_read_script_modules`. Some fairly minor changes to `DoRunScriptFuncCantBlock` were made to work around the way vectors pack bools in STL (no way to obtain a reference).

Tested by running a game, saving a game and restoring a game. I hope there isn't anything I missed.

Github wouldn't let me open the previous request after closing it, so I created a new one. This now includes the changes CW suggested.