Enhancement - Hooks
- Added Lua copyright notice to the version command. - Added Lua copyright details to API.cpp, which is the only file that interacts with Lua. - Added hook-type detection. - Added a hook-type calling mechanism in Hooks. - Implemented the post-start and pre-exit event triggers. - Context::initialize now calls Hooks::initialize, which in turn calls API::initialize. We have liftoff!
This commit is contained in:
@@ -490,8 +490,12 @@ int handleVersion (std::string &outs)
|
||||
#endif
|
||||
|
||||
<< std::endl
|
||||
<< "Copyright (C) 2006 - 2010, P. Beckingham, F. Hernandez."
|
||||
<< "Copyright (C) 2006 - 2010 P. Beckingham, F. Hernandez."
|
||||
<< std::endl
|
||||
#ifdef HAVE_LIBLUA
|
||||
<< "Portions of this software Copyright (C) 1994 – 2008 Lua.org, PUC-Rio."
|
||||
<< std::endl
|
||||
#endif
|
||||
<< disclaimer.render ()
|
||||
<< link.render ()
|
||||
<< std::endl;
|
||||
|
||||
Reference in New Issue
Block a user