From d4e75d41d4da46ac2ed21bb9d7762da890744bd0 Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Sat, 21 Nov 2009 11:41:44 +0100 Subject: [PATCH] Renamed to MANGLE --- Doxyfile | 2 +- LICENSE.txt | 2 +- README.txt | 44 +++++++++++++++--------------- sound/imp/audiere_imp.cpp | 2 +- sound/imp/audiere_imp.h | 6 ++-- sound/imp/input_ffmpeg.cpp | 2 +- sound/imp/input_ffmpeg.h | 6 ++-- sound/imp/openal_ffmpeg.h | 6 ++-- sound/imp/output_openal.cpp | 2 +- sound/imp/output_openal.h | 6 ++-- sound/imp/sound_pair.h | 6 ++-- sound/input.h | 6 ++-- sound/sound.h | 6 ++-- sound/tests/audiere_test.cpp | 2 +- sound/tests/ffmpeg_openal_test.cpp | 2 +- 15 files changed, 50 insertions(+), 50 deletions(-) diff --git a/Doxyfile b/Doxyfile index 4dfff9188..705b0aa32 100644 --- a/Doxyfile +++ b/Doxyfile @@ -25,7 +25,7 @@ DOXYFILE_ENCODING = UTF-8 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. -PROJECT_NAME = GOOI +PROJECT_NAME = Mangle # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or diff --git a/LICENSE.txt b/LICENSE.txt index 1b98eeb9b..ccfcc9f22 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Game-oriented object interfaces (GOOI) is licensed under the +Minimal Abstraction Game Layer (Mangle) is licensed under the 'zlib/libpng' license: ---- diff --git a/README.txt b/README.txt index 0b0befca5..2a0d579ec 100644 --- a/README.txt +++ b/README.txt @@ -1,21 +1,21 @@ -Welcome to GOOI v0.1 --------------------- +Welcome to Mangle v0.1 +---------------------- Written by: Nicolay Korslund (korslund@gmail.com) License: zlib/png (see LICENSE.txt) -WWW: http://asm-soft.com/gooi/ -Documentation: http://asm-soft.com/gooi/docs +WWW: http://asm-soft.com/mangle/ +Documentation: http://asm-soft.com/mangle/docs -GOOI stands for Game-Oriented Object Interfaces. It is meant to become -a small set of generic interfaces for various game middleware +Mangle stands for Minimal Abstraction Game Layer, and it's meant to +become a small set of generic interfaces for various game middleware libraries, such as sound, input, graphics, and so on. It consists of several independent modules, one for each of these areas. These may be used together to build an entire game engine, or they can be used individually as separate libraries. -However, GOOI does NOT actually implement a game engine, or any new +However, Mangle does NOT actually implement a game engine, or any new fundamental functionality. More on that below. Currently there is only the Sound module, but more will come in the @@ -53,24 +53,23 @@ possible. What is it good for ------------------- -The main point of GOOI, as we said above, is that it connects to any +The main point of Mangle, as we said above, is that it connects to any library of your choice "behind the scenes" but provides the same, super-simple interface front-end for all of them. There can benefit you in many ways: -- If you want to use a new library that GOOI support. You don't - have to scour the net for tutorials and usage examples, since much - of the common usage code is already included in the implementation - classes. +- If you want to use a new library that Mangle support. You don't have + to scour the net for tutorials and usage examples, since much of the + common usage code is already included in the implementation classes. - If you don't want to pollute your code with library-specific code. - The GOOI interfaces can help you keep your code clean, and its user - interface is often simpler than the exteral library one. + The Mangle interfaces can help you keep your code clean, and its + user interface is often simpler than the exteral library one. - If you are creating a library that depends on a specific feature (such as sound), but you don't want to lock your users into any - specific sound library. GOOI works as an abstraction that lets your - users select their own implementation. My own Monster scripting + specific sound library. Mangle works as an abstraction that lets + your users select their own implementation. My own Monster scripting language ( http://monsterscript.net ) will use this tactic, to provide native-but-generic sound, input and GUI support, among other features. @@ -82,7 +81,7 @@ you in many ways: that your favorite backend doesn't work on all the platforms you want to reach. -The GOOI implementations are extremely light-weight - often just one +The Mangle implementations are extremely light-weight - often just one or two cpp/h pairs. You plug them directly into your program, there's no separate build step required. @@ -95,22 +94,23 @@ come crashing down, because there is no big 'system' to speak of. Past and future --------------- -GOOI started out as a spin-off from OpenMW, another project of mine +Mangle started out as a spin-off from OpenMW, another project of mine ( http://openmw.sourceforge.net ). OpenMW is an attempt to recreate the engine behind the commercial game Morrowind, using only open source software. The projects are still tightly interlinked, and the will continue to be until OpenMW is finished. That means that all near-future work on -GOOI for my part will be more or less guided by what OpenMW needs. But -I'll gladly accept external contributions that are not OpenMW-related. +Mangle for my part will be more or less guided by what OpenMW +needs. But I'll gladly accept external contributions that are not +OpenMW-related. Conclusion ---------- -As you might have guessed, GOOI is more a concept in development than -a finished library right now. +As you might have guessed, Mangle is more a concept in development +than a finished library right now. All feedback, ideas, concepts, questions and code are very welcome. Send them to: korslund@gmail.com diff --git a/sound/imp/audiere_imp.cpp b/sound/imp/audiere_imp.cpp index ea094409f..266fcb2e2 100644 --- a/sound/imp/audiere_imp.cpp +++ b/sound/imp/audiere_imp.cpp @@ -18,7 +18,7 @@ static void fail(const std::string &msg) } using namespace audiere; -using namespace GOOI::Sound; +using namespace Mangle::Sound; AudiereManager::AudiereManager() { diff --git a/sound/imp/audiere_imp.h b/sound/imp/audiere_imp.h index 9f667a98a..083e33258 100644 --- a/sound/imp/audiere_imp.h +++ b/sound/imp/audiere_imp.h @@ -1,12 +1,12 @@ -#ifndef GOOI_SOUND_AUDIERE_H -#define GOOI_SOUND_AUDIERE_H +#ifndef MANGLE_SOUND_AUDIERE_H +#define MANGLE_SOUND_AUDIERE_H #include "../sound.h" #include #include -namespace GOOI { +namespace Mangle { namespace Sound { /// Implementation of Sound::Manager for Audiere diff --git a/sound/imp/input_ffmpeg.cpp b/sound/imp/input_ffmpeg.cpp index c73689b78..9ce822444 100644 --- a/sound/imp/input_ffmpeg.cpp +++ b/sound/imp/input_ffmpeg.cpp @@ -1,7 +1,7 @@ #include "input_ffmpeg.h" #include -using namespace GOOI::Sound; +using namespace Mangle::Sound; // Static output buffer. Not thread safe, but supports multiple // streams operated from the same thread. diff --git a/sound/imp/input_ffmpeg.h b/sound/imp/input_ffmpeg.h index 17c8f7352..8c19d381e 100644 --- a/sound/imp/input_ffmpeg.h +++ b/sound/imp/input_ffmpeg.h @@ -1,5 +1,5 @@ -#ifndef GOOI_SOUND_FFMPEG_H -#define GOOI_SOUND_FFMPEG_H +#ifndef MANGLE_SOUND_FFMPEG_H +#define MANGLE_SOUND_FFMPEG_H #include "../input.h" #include @@ -11,7 +11,7 @@ extern "C" #include } -namespace GOOI { +namespace Mangle { namespace Sound { /// FFmpeg exception diff --git a/sound/imp/openal_ffmpeg.h b/sound/imp/openal_ffmpeg.h index 92fd32553..7e41fd8b9 100644 --- a/sound/imp/openal_ffmpeg.h +++ b/sound/imp/openal_ffmpeg.h @@ -1,11 +1,11 @@ -#ifndef GOOI_FFMPEG_OPENAL_H -#define GOOI_FFMPEG_OPENAL_H +#ifndef MANGLE_FFMPEG_OPENAL_H +#define MANGLE_FFMPEG_OPENAL_H #include "sound_pair.h" #include "input_ffmpeg.h" #include "output_openal.h" -namespace GOOI { +namespace Mangle { namespace Sound { /// A PairManager filter that adds FFmpeg decoding to OpenAL diff --git a/sound/imp/output_openal.cpp b/sound/imp/output_openal.cpp index f7dc11507..c56e8c379 100644 --- a/sound/imp/output_openal.cpp +++ b/sound/imp/output_openal.cpp @@ -3,7 +3,7 @@ #include -using namespace GOOI::Sound; +using namespace Mangle::Sound; // ---- Helper functions and classes ---- diff --git a/sound/imp/output_openal.h b/sound/imp/output_openal.h index e2e506aa2..41f801e5a 100644 --- a/sound/imp/output_openal.h +++ b/sound/imp/output_openal.h @@ -1,5 +1,5 @@ -#ifndef GOOI_SOUND_OPENAL_H -#define GOOI_SOUND_OPENAL_H +#ifndef MANGLE_SOUND_OPENAL_H +#define MANGLE_SOUND_OPENAL_H #include "../sound.h" @@ -7,7 +7,7 @@ #include #include -namespace GOOI { +namespace Mangle { namespace Sound { class OpenAL_Stream_Instance; diff --git a/sound/imp/sound_pair.h b/sound/imp/sound_pair.h index 751c72b1a..6b15f7461 100644 --- a/sound/imp/sound_pair.h +++ b/sound/imp/sound_pair.h @@ -1,11 +1,11 @@ -#ifndef GOOI_SOUND_PAIR_H -#define GOOI_SOUND_PAIR_H +#ifndef MANGLE_SOUND_PAIR_H +#define MANGLE_SOUND_PAIR_H #include "sound.h" #include -namespace GOOI { +namespace Mangle { namespace Sound { /** diff --git a/sound/input.h b/sound/input.h index a0d2826aa..b030885fb 100644 --- a/sound/input.h +++ b/sound/input.h @@ -1,10 +1,10 @@ -#ifndef GOOI_SOUND_INPUT_H -#define GOOI_SOUND_INPUT_H +#ifndef MANGLE_SOUND_INPUT_H +#define MANGLE_SOUND_INPUT_H #include #include -namespace GOOI { +namespace Mangle { namespace Sound { /// An abstract interface for a read-once stream of audio data. diff --git a/sound/sound.h b/sound/sound.h index 509efa816..0d1aecf6e 100644 --- a/sound/sound.h +++ b/sound/sound.h @@ -1,10 +1,10 @@ -#ifndef GOOI_SOUND_SOUND_H -#define GOOI_SOUND_SOUND_H +#ifndef MANGLE_SOUND_SOUND_H +#define MANGLE_SOUND_SOUND_H #include #include "input.h" -namespace GOOI { +namespace Mangle { namespace Sound { /// Abstract interface for sound instances diff --git a/sound/tests/audiere_test.cpp b/sound/tests/audiere_test.cpp index 16b132272..defb8c95f 100644 --- a/sound/tests/audiere_test.cpp +++ b/sound/tests/audiere_test.cpp @@ -1,6 +1,6 @@ #include "audiere_imp.h" -using namespace GOOI::Sound; +using namespace Mangle::Sound; AudiereManager mg; diff --git a/sound/tests/ffmpeg_openal_test.cpp b/sound/tests/ffmpeg_openal_test.cpp index 19e34f642..28391af3e 100644 --- a/sound/tests/ffmpeg_openal_test.cpp +++ b/sound/tests/ffmpeg_openal_test.cpp @@ -1,6 +1,6 @@ #include "openal_ffmpeg.h" -using namespace GOOI::Sound; +using namespace Mangle::Sound; OpenAL_FFM_Manager mg;