adventuregamestudio/ags — pull request #182 by gurok (2014-09-11 14:00:36+00:00)
Title: Engine: Remove limit of 50 script modules

Replaced the existing MAX_SCRIPT_MODULES arrays with vectors. The arrays were mostly being used in a non-dynamic fashion, so most of the conversion involved replacing static 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.