[Scummvm-devel] Broken Sword 2.5 engine

Pierre-Yves GĂ©rardy pygy79 at gmail.com
Thu Oct 14 12:56:40 CEST 2010


Lua is written in the common subset of C89 and C++. You can compile it as
C++ out of the box. At least, that's what the authors claim here:
http://www.lua.org/download.html

I haven't tested it.

-- Pierre-Yves


On Thu, Oct 14, 2010 at 00:26, Eugene Sandulenko <sev at scummvm.org> wrote:

> On Wed, 13 Oct 2010 22:41:12 +0200
> Max Horn <max at quendi.de> wrote:
> > > Again, Lua could potetnially be put outside of the tree, it is not a
> > > problem, though we have to lock to that specific version because of
> > > Pluto, persistency library.
> >
> > Aha. And I guess that lib is not directly "standard" either... Well
> > then, I assume for now it is the easiest to keep this. I wonder if
> > this "pluto" thing can be replaced with something more standard /
> > more compatible with current Lua versions in the future?
> The problem is not with compatibility but with nature of the task.
> Pluto library stores and restores complete internal Lua state, and of
> course that strictly depends on the interpreter internals. I hardly see
> what else we can do here.
>
> However, residual also uses Lua, but implements save/restore facility
> by its own.
>
> Since it seems that we agree to keep Lua in place, I recommend then
> just rename it to .cpp, fix compilation errors and remove extern "C"
> here and there. Also probably put Lua into separate namespace so our
> global one will not get polluted.
>
>
> Eugene
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20101014/529ebcda/attachment.html>


More information about the Scummvm-devel mailing list