[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Win32 version using cygwin
Hi,
sorry for the short delay:
Any other changes required? Does it help if we just switch the
ifdef around.
So
#ifdef WIN32
...
#elif HAVE_DIRENT_H
..
#endif
This would do the trick. Also I didn't found the default.tiles and
default.units and had to copy the one from 0.4.9 Where should they come
from?
Another thing:
In path.cpp, function Path::StepsToDest
could you add a cast for Direction to the -1? Like this
unsigned short Path::StepsToDest( const Point &pos ) const {
Point p( pos );
short index = map->Hex2Index( p );
Direction dir = (Direction)path[index];
unsigned short steps = 0;
while ( dir != (Direction) -1 ) {
This would prevent it from running in neverending circles when having
unsigned enums. Palm version works, now I need to test the network part.
Bye
Henk
--
-------------------------------------------------------------------------
Henk Jonas
Palm OS ® certified developer
metaview@xxxxxx www.metaviewsoft.de
-------------------------------------------------------------------------