summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ.txt19
-rw-r--r--docs/INSTALL/win32.txt4
-rw-r--r--docs/packages.txt32
3 files changed, 23 insertions, 32 deletions
diff --git a/docs/FAQ.txt b/docs/FAQ.txt
index 2f1eee8b..b214672e 100644
--- a/docs/FAQ.txt
+++ b/docs/FAQ.txt
@@ -36,15 +36,6 @@ A: Did you read README? Are you really sure? If not go read it and you'll find
README/ingame help is not up to date/wrong, please report it to the
developers.
-Q: I just typed /<command> in the chat window and then I saw "Your account has
- been banished until ..." and TMW closed. Now when I try to log in nothing
- happens?
-
-A: That's because /<commands> are not implemented at the moment of writing.
- Please avoid using such commands (i.e. /help) until they're added.
- Anyway the ban is temp, just wait some minutes and you should be able to
- connect again.
-
Q: I can't recover HP anymore.
A: Check your inventory, if you've got lots of stuff probably you're
@@ -67,7 +58,7 @@ DEVELOPMENT
Q: When will the next version be released?
A: We have scheduled releases. Usually a new release is available every month.
- Check http://wiki.themanaworld.org/index.php/Roadmap for further infos.
+ Check http://themanaworld.org/ for further info.
Q: How can I contribute?
@@ -80,11 +71,11 @@ A: There are a lot of ways:
channel: #themanaworld @ irc.freenode.net.
- You can donate money. Follow the link on the project page:
- http://sourceforge.net/projects/themanaworld.
- - You can be a beta tester. Just play with The Mana World and report every
- error to the tracker. Read for more infos on the project page:
- http://themanaworld.org.
+ http://sourceforge.net/projects/themanaworld/
+
+ - You can be a beta tester. Just play The Mana World and report every
+ error to the tracker or on the forum.
- Play with The Mana World: more players, more fun! Simple as that! ;-)
diff --git a/docs/INSTALL/win32.txt b/docs/INSTALL/win32.txt
index 1a1e527f..fb758c43 100644
--- a/docs/INSTALL/win32.txt
+++ b/docs/INSTALL/win32.txt
@@ -44,7 +44,7 @@ This tutorial is written and tested with the latest beta version, which is
the old stable version, so don't do that. Get Dev-C++ here:
http://www.bloodshed.net/
-
+
After you have fetched it, simply run and install as prompted.
@@ -124,7 +124,7 @@ start compilition with Excute -> Compile. A file called tmw.exe should appear
in the same directory as where you opened the .dev from.
Before you can actually run the executable be sure to copy over the following
-DLLs from your Dev-Cpp/dll directory to the directory containing tmw.exe (or
+DLLs from your Dev-Cpp/dll directory to the directory containing tmw.exe (or
alternatively into your c:\windows\system\ for a more universal solution):
SDL.dll
diff --git a/docs/packages.txt b/docs/packages.txt
index 40ade7f9..3d794a1b 100644
--- a/docs/packages.txt
+++ b/docs/packages.txt
@@ -125,27 +125,27 @@ the data while working on the next package to be released.
The resource management technique is critical to the overall success of the
package management system as a whole. Resources are loaded at runtime as they
-are needed, and unloaded as they become unused. In order to ensure the
-autonomous functioning of this process reference counting is the agreed upon
-technique for managing loaded resources in TMW.
+are needed, and unloaded as they become unused. In order to ensure the
+autonomous functioning of this process reference counting is the agreed upon
+technique for managing loaded resources in TMW.
-For those unfamiliar with the practice of reference counting, it involves
+For those unfamiliar with the practice of reference counting, it involves
every resource object having a variable containing the number of references to
the object. When a reference is added the function addRef() is called and when
-it is removed the function release() is called. When the reference count
-reaches zero the object will automatically delete itself, thus handling the
+it is removed the function release() is called. When the reference count
+reaches zero the object will automatically delete itself, thus handling the
cleanup of resources.
Reference counting will form the core of the resource management system. Each
resource object will have the functionality of a reference counted object. The
-resource manager will hold ResourceEntry objects. The resource entry object
-contains a pointer to the resource as well as the location of the path of the
+resource manager will hold ResourceEntry objects. The resource entry object
+contains a pointer to the resource as well as the location of the path of the
file the resource was loaded from. This would look something like:
/**
* A generic reference counted resource object.
*/
- class Resource {
+ class Resource {
public:
/**
* Loads the resource from the specified path.
@@ -158,17 +158,17 @@ file the resource was loaded from. This would look something like:
* Increments the reference counted of this object.
*/
void addRef() { ++referenceCount; }
-
+
/**
* Decrements the reference count and deletes the object
* if no references are left.
* @return <code>true</code> if the object was deleted
* <code>false</code> otherwise.
*/
- void release() {
+ void release() {
--referenceCount;
- if(!referenceCount)
+ if (!referenceCount)
{
delete this;
return true;
@@ -183,14 +183,14 @@ file the resource was loaded from. This would look something like:
/**
* A resource entry descriptor.
*/
- struct ResourceEntry {
- Resource* resource;
- std::string filePath;
+ struct ResourceEntry {
+ Resource* resource;
+ std::string filePath;
};
...
The resource manager would then hold a mapping containing the resource entry as
-well as the string defining its resource identification path. The resource
+well as the string defining its resource identification path. The resource
manager would thus look something like this:
/**