From a51deebd87036ceb87c77a20117977d077b771e3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 5 Feb 2008 20:44:36 +0000 Subject: fixed cvar, added cvars r_width r_height r_fullscreen, added function r_restart --- src/core/func.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/core/func.h') diff --git a/src/core/func.h b/src/core/func.h index 1af69c0..ad189b8 100644 --- a/src/core/func.h +++ b/src/core/func.h @@ -1,5 +1,5 @@ /* - core/funct.h + core/func.h This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2 */ @@ -7,6 +7,8 @@ #ifndef __INCLUDED_CORE_FUNC_H__ #define __INCLUDED_CORE_FUNC_H__ +#include "sys/sys.h" + #include namespace core @@ -28,8 +30,13 @@ void remove(const std::string &functionname); /** Returns 0 if the function pointer could not be found */ Func find(const std::string &functionname); -} -} +/// list the function registry +void list(); + +} // namespace func + +} // namespace core #endif // __INCLUDED_CORE_FUNC_H__ + -- cgit v1.2.3