URL:
<http://gna.org/patch/?2638>
Summary: Lua Aspect Foundation(different implementation)
Project: Battle for Wesnoth
Submitted by: nephro
Submitted on: Sat 16 Apr 2011 10:41:02 PM GMT
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Different implementation suggested by Crab_.
Still TO-DO:
- functions to evade multiple retranslation when passing Lua objects to Lua
- add factories for different aspects in registry.cpp
- write more Lua->C++ translator functions in lua_object.hpp
At the moment we can create any numerical aspect(strings and bools should
also work) if we add a factory beforehand.
Can't complete to-do list, since I have to travel during this weekend.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 16 Apr 2011 10:41:02 PM GMT Name: lua_aspects.patch Size: 17kB
By: nephro
<http://gna.org/patch/download.php?file_id=12866>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2638>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs