Mana
|
This is the documentation for the Mana client (http://manasource.org). It is always a work in progress, with the intent to make it easier for new developers to grow familiar with the source code.
During the game, the current Map is displayed by the main Viewport, which is the bottom-most widget in the WindowContainer. Aside the viewport, the window container keeps track of all the Windows displayed during the game. It is the top widget for Guichan.
A Map is composed of several layers of Images (tiles), a layer with collision information and Sprites. The sprites define the visible part of Beings and FloorItems, they are drawn from top to bottom by the map, interleaved with the tiles in the fringe layer.
The client supports two servers, eAthena (the TMW version) and the Mana server. To achieve this, the network communication layer is abstracted in many different interfaces, which have different implementations for each server.