Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (02:42:44 PM) martin_bede: now i get this: http://pastebin.com/2ryFiaiX i guess this is related to commenting that macro out
- (02:56:39 PM) watusimoto: ha, yes
- (02:56:55 PM) watusimoto: ok, remove the constructor line from the macro
- (02:57:26 PM) watusimoto: sorry you're having to deal with this
- (02:58:59 PM) watusimoto: I'm still trying to work out the best way to fix it
- (03:00:34 PM) watusimoto: For the moment, you can manually define the lua funargs table like so:
- (03:00:35 PM) watusimoto: // Generates something like the following:
- (03:00:35 PM) watusimoto: // const LuaFunctionProfile Teleporter::functionArgs[] =
- (03:00:35 PM) watusimoto: // {
- (03:00:35 PM) watusimoto: // { "addDest", {{ PT, END }}, 1 }
- (03:00:35 PM) watusimoto: // { "delDest", {{ INT, END }}, 1 }
- (03:00:35 PM) watusimoto: // { "clearDests", {{ END }}, 1 }
- (03:00:35 PM) watusimoto: // { NULL, { }, 0 }
- (03:00:35 PM) watusimoto: // };
- (03:00:42 PM) watusimoto: (w/o the comments, of course)
- (03:00:52 PM) watusimoto: and you can remove the GENERATE_LUA_FUNARGS_TABLE call
- (03:02:42 PM) watusimoto: I *think* it will look like this:
- (03:02:42 PM) watusimoto: const LuaFunctionProfile Spawn::functionArgs[] =
- (03:02:42 PM) watusimoto: {
- (03:02:42 PM) watusimoto: { "constructor", {{ END }, { GEOM, END }, { GEOM, TEAM_INDX, END }}, 3 },
- (03:02:42 PM) watusimoto: { NULL, { }, 0 }
- (03:02:42 PM) watusimoto: };
- (03:02:51 PM) watusimoto: but I need to go to ameeting, so back later
Advertisement
Add Comment
Please, Sign In to add comment