/[projectaxis]/projectaxis/projectAxis/src/blotchmaker/map.cpp
ViewVC logotype

Diff of /projectaxis/projectAxis/src/blotchmaker/map.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by leiavoia, Sun Jun 1 04:01:28 2003 UTC revision 1.4 by leiavoia, Wed Jun 4 03:14:05 2003 UTC
# Line 107  return int(the_map[x][y].obst); Line 107  return int(the_map[x][y].obst);
107  //////////////////////////////////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////////////////////////////////
108    
109    
110  void Map::SetOccu(int x, int y, Pod& pod){  bool Map::SetOccu(int x, int y, Pod& pod){
111          the_map[x][y].occu = &pod;          if (the_map[x][y].occu != NULL) {return 1;}
112            else {
113                    the_map[x][y].occu = &pod;
114                    return 0;}
115          }          }
116    
117    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26