Index: network.c
===================================================================
--- network.c	(revision 922)
+++ network.c	(revision 923)
@@ -649,11 +649,7 @@
 
 raydium_network_stat_tx+=RAYDIUM_NETWORK_PACKET_SIZE;
 if(raydium_network_mode==RAYDIUM_NETWORK_MODE_CLIENT)
-    {
     ret=send(raydium_network_socket, buff, RAYDIUM_NETWORK_PACKET_SIZE, 0);
-    if (from>=0)
-        time(&raydium_network_keepalive[raydium_network_uid]);
-    }
 
 else if(raydium_network_mode==RAYDIUM_NETWORK_MODE_SERVER)
     ret=sendto(raydium_network_socket, buff, RAYDIUM_NETWORK_PACKET_SIZE, 0, to, sizeof(struct sockaddr));
@@ -717,7 +713,6 @@
  *type=buff[0];
  *id=buff[1];
  raydium_network_stat_rx+=RAYDIUM_NETWORK_PACKET_SIZE;
- //raydium_log("<- Type:%d Id:%d",*type,*id);
 
  memcpy(&tcpid,buff+2,sizeof(unsigned short));
 
@@ -992,7 +987,7 @@
     {
     int player_count;
     int player_max;
-    int dec;
+    int dec;
     int i;
 #ifndef linux
     struct sockaddr_in sock;
@@ -1146,19 +1141,10 @@
 
 if(type==RAYDIUM_NETWORK_PACKET_ATTRIB_UID)
     {
-    int i;
     raydium_network_uid=str[RAYDIUM_NETWORK_PACKET_OFFSET];
     raydium_log("network: accepted as client %i",raydium_network_uid);
     raydium_network_set_socket_block(0);
     strcpy(raydium_network_connected_server,server);
-#ifndef RAYDIUM_NETWORK_ONLY
-    raydium_log("Affecting uid");
-    for(i=0;i<RAYDIUM_ODE_MAX_ELEMENTS;i++)
-        if (raydium_ode_element[i].state && !raydium_ode_element[i].distant && raydium_ode_element[i].state==RAYDIUM_ODE_STANDARD )
-            if(raydium_ode_element[i].nid>=0)
-                raydium_log("New nid:%d",raydium_ode_element[i].nid=(raydium_network_uid+1)*1000+i);
-    raydium_log("done");
-#endif
     return(1);
     }
 
sprite group will be animated automatically
-and when the animation comes to the end of the group then you can chosee
-what will be the next acction:
-You can stop animation, you can restart the group animation or you can
+Those groups are used to team up some related sprites. For example we can
+have 3 sprites of a forward movement, those could be in one specific group.
+In that way you can change from one group to another with a Raydium function easily.
+
+Even more, the frames of a sprite group will be animated automatically
+and when the animation comes to the end of the group then you can chose
+what will be the next action:
+1) You can stop animation, you can restart the group animation or you can
 jump to a new group.
-You can indicate a "jump" to another group with
-something like:
-group={7,11} That would jump to the group 11
-group={5,-1} -1 means STOP THE ANIMATION
-group={3,-2} -2 means LOOP IN THE SAME GROUP
+2) you can indicate a "jump" to another group with something like:
+%%group={7,11}; That would jump to the group 11
+group={5,-1}; -1 means STOP THE ANIMATION
+group={3,-2}; -2 means LOOP IN THE SAME GROUP
+%%
 
-
+Raydium provides a sprite viewer (sprite_viewer.c) that will download
+a sample sprite file, very useful to understand how sprite file are built.
 **/
 
 //returns the first sprite id available
 __rayapi int raydium_sprite_check_available(void);
 /**
-Internal use. 
+Internal use.
 **/
 
 //function to draw directly the sprite. Internal. Don't use
 __rayapi void raydium_sprite_billboard(float x, float y, float z,float ux, float uy, float uz, float rx, float ry, float rz, int textureid, float s0, float s1, float t0, float t1,float size);
 /**
-Internal use. 
+Internal use.
 **/
 //Load an sprite (filename.sprite) preloading its textures.
 //TODO:it should check if the sprite file is already loaded and if it's true
@@ -85,7 +86,7 @@
 
 __rayapi void sprite_render_frame(float x, float y, float z, int spriteid,int frame,float scalex,float scaley);
 /**
-Internal use. 
+Internal use.
 **/
 
 __rayapi void raydium_sprite_move(int sprite,float x, float y, float z);
@@ -122,12 +123,6 @@
 Function to delete all the sprites using a certain filename.
 **/
 
-
-// __rayapi int raydium_sprite_copy(int other);
-///**
-//Internal use. DONT'T USE.experimental
-//**/
-
 __rayapi float *raydium_sprite_get_pos(int number);
 /**
 Returns a 3float array with the position (universe coordinates) of a
@@ -142,7 +137,7 @@
 //function to change the type of one sprite
 __rayapi int raydium_sprite_set_type(int id,int value);
 /**
-Internal use. 
+Internal use.
 **/
 
 //function to change the name of one sprite
@@ -176,10 +171,11 @@
 **/
 
 
-
 __rayapi float raydium_sprite_change_sprite_time_relative(int id,float time);
 /**
-Same than previous but you can add a quantity of time to the previous stored time, ie relative.**/
+Same than previous but you can add a quantity of time to the previous
+stored time, ie relative.
+**/
 
 __rayapi int raydium_sprite_get_current_group(int id);
 /**