X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FRuntime.hpp;fp=src%2Fapp%2FRuntime.hpp;h=ee0b4a023737ef1f4d6fea40d7723ab621e10667;hb=6f94235a5b7c140852703e60c8a74760b8b61d99;hp=2fdf2e5b0ba2880db1af94f2da8d9560d9db52c8;hpb=f2f254f8d576b48fde9305c3d2927552d1d4c20d;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, };