Author: cazfi
Date: Sun Nov 22 14:39:31 2015
New Revision: 30740

Updated HACKING:
- Added some directories missing from the source code hierarchy listing
- Updated CodingStyle of the code example 

See patch #6621


Modified: trunk/doc/HACKING
--- trunk/doc/HACKING   (original)
+++ trunk/doc/HACKING   Sun Nov 22 14:39:31 2015
@@ -24,13 +24,16 @@
 more code to the server, and as of 1.5 the client is quite dumb -PU]
 The source code has the following important directories:
+dependencies: code from upstream projects
+utility: utility functionality that is not freeciv-specific
 common: data structures and code used by both the client and server.
 server: (duh)
 client: common client code
-client/* (fx gui-gtk): a specific gui implementation of the client.
+client/* (fx gui-gtk-3.0): a specific gui implementation of the client.
 data: graphics, rulesets and stuff
 translations: localization files
-ai: the ai, later linked into the server.
+ai: the ai, later linked into the server
+tools: freeciv support executables
 Freeciv is written in C.  Header files should be compatible with C++ so
 that C++ add-ons (particularly new clients) are possible.  See the
@@ -43,7 +46,7 @@
 The server main loop basically looks like:
-  while(server_state==RUN_GAME_STATE) { /* looped once per turn */
+  while (server_state == RUN_GAME_STATE) { /* looped once per turn */
     do_ai_stuff();   /* do the ai controlled players */
     sniff_packets(); /* get player requests and handle them */
     end_turn();      /* main turn update */

Freeciv-commits mailing list

Reply via email to