-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- client * Module::prebuild * Module::listModules * Galileo navigation module + GalileoFrame + Lua bindings to set markers * Quest module * serialisation of modules
- Loading branch information
Showing
18 changed files
with
478 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Module.cpp | ||
* | ||
* [description] | ||
* | ||
* Copyright (C) 2002-2011 Davorin Učakar | ||
* This software is covered by GNU GPLv3. See COPYING file for details. | ||
*/ | ||
|
||
#include "stable.hpp" | ||
|
||
#include "client/Module.hpp" | ||
|
||
#include "client/modules/ProfileModule.hpp" | ||
#include "client/modules/FloraModule.hpp" | ||
#include "client/modules/MusicPlayerModule.hpp" | ||
#include "client/modules/GalileoModule.hpp" | ||
|
||
#define OZ_REGISTER_MODULE( module ) \ | ||
list->add( &module##Module ) | ||
|
||
namespace oz | ||
{ | ||
namespace client | ||
{ | ||
|
||
void Module::listModules( Vector<Module*>* list ) | ||
{ | ||
#ifndef OZ_TOOLS | ||
OZ_REGISTER_MODULE( profile ); | ||
OZ_REGISTER_MODULE( flora ); | ||
OZ_REGISTER_MODULE( musicPlayer ); | ||
OZ_REGISTER_MODULE( galileo ); | ||
#else | ||
OZ_REGISTER_MODULE( galileo ); | ||
#endif | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.