http://egoboo.sourceforge.net/forum/vie ... php?t=1177
For this I had to made some adjustments to get the code compiled:
- strupr() is missing in Linux.
For strlwr() there is already an implementation in game.c, but it does not follow the man-page:
The current code returns an integer and will make some problems if used like in wawalite_file.cchar * strlwr (char * s)
Convert a string to lower case.
Returns:
The strlwr() function returns a pointer to the converted string.
Can be changed to something like:
Code: Select all
char* strlwr( char * str )
{
char *ret = str;
if ( NULL != str )
{
while ( CSTR_END != *str )
{
*str = tolower( *str );
str++;
}
}
return ret;
}
- Function sys_popup in platform/sys_linux.c is somehow broken. I commented the body, as it was in 2.8.1.
- AStar_find_path and AStar_get_path are missing. I just included AStar.c in script_functins.c
Finally I didn't get Egoboo working yet - but I'm still optimistic.
I guess I have to fiddle with the resource files.
Does someone know if the original problem (move characters using keyboard on Linux) is fixed in the current SVN version?