Přemysl Eric Janouch
1d956964e2
Random fixes.
...
Mostly found by -Wextra.
2010-12-05 15:21:00 +01:00
Přemysl Eric Janouch
5a24eaabb2
Made Lua symbol registration more robust.
2010-10-28 09:07:47 +02:00
Přemysl Eric Janouch
9271ce1134
Separate LdLua and LdSymbolCategory.
...
Originally, ld_lua_load_file_to_category() was adding
registered symbols into a passed LdSymbolCategory object.
This interface has been rewritten to be more generic
by using callbacks to notify about new symbols.
2010-10-27 20:49:21 +02:00
Přemysl Eric Janouch
8b5fa9a49a
Implement parts of Lua symbol registration.
...
The human name and area now gets resolved.
2010-10-27 20:05:52 +02:00
Přemysl Eric Janouch
9156953cc9
Add more properties to LdSymbol.
...
Also move the actual storage of symbol properties to implementations
of the abstract LdSymbol class. All the properties are read only.
2010-10-27 16:52:00 +02:00
Přemysl Eric Janouch
9a242786b1
Redesign and implement the basic parts of LdLua.
...
There's a very strong bond between LdLua and LdLuaSymbol.
LdLuaSymbol is more like an interface to LdLua than a separate object.
2010-10-26 16:40:53 +02:00
Přemysl Eric Janouch
ffc57249c8
Make LdLibrary call LdLua to load symbol scripts.
2010-10-26 13:58:39 +02:00
Přemysl Eric Janouch
e0e63649dc
Redesign the library and related components.
...
This step is needed, since the current design is quite chaotic
and it would not be possible to finish the application.
There's still a lot to be done.
After this step, it's time to implement the rest of LdLua.
2010-10-26 13:58:33 +02:00
Přemysl Eric Janouch
0c9b297e50
Implement part of LdLuaSymbol.
...
The "new" method requires to be passed a parameter that
makes it possible to call the appropriate render function.
Stub-plemented the "draw" method.
2010-10-17 14:05:53 +02:00
Přemysl Eric Janouch
9fc354e066
Implement a few bits of LdLua.
...
Some comments in the source code have been updated.
2010-10-17 14:05:53 +02:00
Přemysl Eric Janouch
23a1f25130
Created LdLua class.
2010-10-17 14:05:53 +02:00
Přemysl Eric Janouch
c0ec389b59
Renamed LdSymbolLibrary to LdLibrary.
2010-10-17 14:05:53 +02:00
Přemysl Eric Janouch
5da5689541
WIP: Refactoring of the library and symbols
2010-10-17 14:05:53 +02:00