diff options
author | rodri <rgl@antares-labs.eu> | 2023-10-07 22:33:25 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2023-10-07 22:33:25 +0000 |
commit | 71c2cd61f6e53a455140f5920cff88cdfd4b4d33 (patch) | |
tree | 14983dd6f41f359cbe143dd3dc2bb55691037e99 /fns.h | |
parent | c5ca61912a88aeb8ae727c0d217b7dc41efeb00d (diff) | |
download | battleship-71c2cd61f6e53a455140f5920cff88cdfd4b4d33.tar.gz battleship-71c2cd61f6e53a455140f5920cff88cdfd4b4d33.tar.bz2 battleship-71c2cd61f6e53a455140f5920cff88cdfd4b4d33.zip |
make cell2coords thread-safe.
Diffstat (limited to 'fns.h')
-rw-r--r-- | fns.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ Image *eallocimage(Display*, Rectangle, ulong, int, ulong); * util */ int isoob(Point2); -char *cell2coords(Point2); +int cell2coords(char*, ulong, Point2); Point2 coords2cell(char*); int gettile(Map*, Point2); void settile(Map*, Point2, int); |