/** * \page startpage Getting Started with EL development * \section secgetstarted How to dive into EL development *
The Eternal Lands client is written in C and SDL but also uses the following libraries: *
* int main(int argc, char ** argv)is invalid, whereas
* {
* if(argc<2){
* printf("You have to provide at least 1 argument\n");
* return 0;
* }
*
* int l;
*
* for(l=0;l
* }
*
* return 1;
* }
*
* int main(int argc, char ** argv)
* {
* int l;
*
* if(argc<2){
* printf("You have to provide at least 1 argument\n");
* return 0;
* }
*
* for(l=0;l
* }
*
* return 1;
* }
*
is valid since l is declared at the beginning of the scope. It just means that vars have to be declared after a {, and not after you've started writing your code.
*Indenting is a matter of personal preference - just make sure that you remember to indent, otherwise it can make the code almost unreadable.
*Description where best to start to get a picture of the whole EL client. The following list is just a hack until the documentation is written out. *