Use the syntactic sugar
MicroLua brings Lua on the Nintendo DS for easy programming
Brought to you by:
reylak
The largest part of µLua functions are called with a single dot call, like Canvas.setattr(...).
But this way is a bit heavy as we could use the semi-column call: canvasObject:setAttr(...).
We can use the OOP implementation as seen here (but doing this in C is actually quite hard).
The functions concerned by this improvement are:
Font.load()
, to be put on a Font objectXXX.load()
, to be put on a Map or ScrollMap object; maybe some could be replaced by handling them via __newattr and ____setattr metamethods
Anonymous
Wifi is done ([5f0085]).
Related
Commit: [5f0085]