I went ahead and added the sources from some dirs (namely shared, game, client, common) to my little MSVC-project and tried to compile.
Well, it doesn't look that bad....
Here's what I did so far (hope you understand the ultra-short notation):
- get inttypes.h add include-path
- get stdint.h
- get libcurl package
- define ssize_t in dbuffer.h
#ifndef ssize_t
#define ssize_t int
#endif
- #ifndef _MSC_VER in shared.h around min/max definitions
- problems with net.c, dbuffer.c, scripts.c need further investigation
- get libSDL
- get SDL_mixer
- get libintl
Looks like I'm re-inventing your C::B-package to some extent
Now I ran into this problem: libintl.h includes features.h.
I have learned that features.h is common to many glibc includes, but either I'm too tired or too stupid to google for the *right* link that solves this problem.
Do you (or anyone else) have an idea or a good link ?