add CS_OPT_MODE option. this allows us to change engine's mode at run-time
4 files changed