Stendhal code design: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
m spelling etc
imported>Durkham
No edit summary
Line 1: Line 1:
== Client ==
== Client ==

=== GUI ===

If we want to stay with the First screen and all those popup windows or if we want to find a way to integrate it into one is still to be decided.

We would then have one Gui for Login and one for inGame.

We have already agreed to achieve a InGameGUI like this:

http://img530.imageshack.us/img530/2669/ingamguijp0.png

* ground is where the game happens
* chatwindow contains chat, but could also contain a tabbed window so we could divide chat and support maybe an own guild chatwindow.
* Settings contains minimap , bag i.e. all those windows that now scatter the ground window.

to be continued....





=== Base Client ===
=== Base Client ===
Line 75: Line 94:
* We do not stick too closely to line length.
* We do not stick too closely to line length.


We always use blocks in if-statements and loops, even if the block only consists of one single statement:
* We always use blocks in if-statements and loops, even if the block only consists of one single statement:
if (condition) {
if (condition) {
method();
method();