X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FRuntime.hpp;h=ee0b4a023737ef1f4d6fea40d7723ab621e10667;hb=46b18a88fdda816f3c2c547aba68b0a5ea7970f7;hp=2fdf2e5b0ba2880db1af94f2da8d9560d9db52c8;hpb=b7d09e1e35ef90282c97509e0020b20db3c7ea9f;p=blank.git diff --git a/src/app/Runtime.hpp b/src/app/Runtime.hpp index 2fdf2e5..ee0b4a0 100644 --- a/src/app/Runtime.hpp +++ b/src/app/Runtime.hpp @@ -8,14 +8,20 @@ namespace blank { +/// Parse and interpret arguemnts, then set up the environment and execute. class Runtime { public: enum Mode { + /// default behaviour: run until user quits, dynamic timesteps NORMAL, + /// quit after n frames FRAME_LIMIT, + /// quit after n milliseconds TIME_LIMIT, + /// quit after n frames, use fixed timestap FIXED_FRAME_LIMIT, + /// display error message and quit with failure ERROR, };