Guest User

Untitled

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