<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-01-05 10:40 GMT+01:00 Eugene Sandulenko <span dir="ltr"><<a href="mailto:sev.mail@gmail.com" target="_blank">sev.mail@gmail.com</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Moreover, you cannot use our common/ code directly, as that one is tied to backends/, the thing scummvm-tools completely lacks.</div></div></blockquote><div><br></div><div>As it stands now, yes, although stubbing out the stuff that isn't neccessary isn't horribly hard,</div><div><br></div><div>I did a quick and dirty attempt at that a while ago (technically based of ResidualVM, but the common/backend stuff is the same there,</div><div>apart from stuff I stripped out anyhow) at <a href="https://github.com/somaen/osystemio">https://github.com/somaen/osystemio</a></div><div><br></div><div>Such a fork is useful for putting together code that might eventually run in an engine (and thus preferably should use Common::-stuff).</div><div><br></div><div>Now, that repository never got much farther (and mostly serves a a very quick proof of concept, but I can see a pretty decent value in having functions with at least the same interface as the most common Common::-stuff available outside of the complete ScummVM-environment (even if we don't add forbidden.h implicitly). </div><div><br></div><div>Come to think of it, it's even more useful when one can combine it with something like STL (i.e. for refactoring complete game engines,</div><div>without having to break them early, so that you can get stuff like file-loading converted prior to replacing the audio/video presentation parts).</div><div><br></div><div>So, perhaps we shouldn't include tools in scummvm/scummvm, but I'd be much in favour of having a suitably large (sub)set of</div><div>Common:: available in tools.</div><div><br></div><div>Regards</div><div><br></div><div>Einar Johan</div><div><br></div><div><br></div></div></div></div>