| version 1.17 | | version 1.18 |
|---|
| | |
| char *rcsid_x11_xutil_c = | | char *rcsid_x11_xutil_c = |
| "$Id: xutil.c,v 1.17 2005/02/10 07:03:56 mwedel Exp $"; | | "$Id: xutil.c,v 1.18 2005/03/22 07:23:00 mwedel Exp $"; |
| /* | | /* |
| Crossfire client, a client program for the crossfire program. | | Crossfire client, a client program for the crossfire program. |
| | | |
| | |
| * let the neighbors know they should update their darkness | | * let the neighbors know they should update their darkness |
| * now. | | * now. |
| */ | | */ |
| if (use_config[CONFIG_SDL]) { | | if (use_config[CONFIG_DISPLAYMODE]==CFG_DM_SDL) { |
| if (x-1>0) the_map.cells[x-1][y].need_update = 1; | | if (x-1>0) the_map.cells[x-1][y].need_update = 1; |
| if (y-1>0) the_map.cells[x][y-1].need_update = 1; | | if (y-1>0) the_map.cells[x][y-1].need_update = 1; |
| if (x+1<use_config[CONFIG_MAPWIDTH]) the_map.cells[x+1][y].need_update = 1; | | if (x+1<use_config[CONFIG_MAPWIDTH]) the_map.cells[x+1][y].need_update = 1; |
| | |
| } | | } |
| } | | } |
| } | | } |
| | | |
| | | |
| | | /* x11 client doesn't do smoothing, so don't need to do anything with this */ |
| | | void addsmooth(uint16 face, uint smooth_face) |
| | | { |
| | | } |