1
General Discussion / Re: OSX port
« on: July 29, 2015, 05:49:00 am »- This is running natively. It took about 4 hours work of source modification, adding extra platform checks everywhere necessary, but most were identical to linux (the things that were unix filesystem operations). It took an hour to get SDL 1.2 working with the mac-specific header files, and to work through a bunch of linker errors. It's a very messy job, but the main outcome is it didn't actually require that much work, and I'd be happy to help more on it. Otherwise the Mac system OpenGL frameworks (libraries) were easy to link to.
- Game graphics
- World gen, save & load
- Movement (WASD, jump)
- Placing voxel (at least the one that was in inventory to start)
- Key mapping
- Fullscreen & windowed
- Audio (kinda works, but system complains it's using deprecated API. Upgrading to SDL 2.0 would fix). Volume setting has no effect
- Opening inventory ('I' key) didn't seem to work? Not sure why
- Retina graphics (this is normal, no openGL games support retina well)
I started trying to use clang (Apple LLVM compiler) with makefile, but couldn't resolve linker errors, so I imported into an Xcode project so it would manage compiling properly. Having got it to run now though, the makefile could be fixed to work.
BTW there were 395 compiler warnings -- your C++ is a bit outdated and messy
(BTW the 'register' tag is completely ignored by modern compilers, that was most of the warnings)
There are some obvious problems and as I'm a complete noob to the game I don't actually know how to play to test more things, but generally it worked and created a universe and loaded it.
Confirmed working:
Not completely working or not working at all:
BTW J'ai remarqué que vous êtes français -- je parle français bien mais je vais mieux à comprendre qu'à parler/écrire (j'ai aucune doute qu'il y a plusieurs d'erreurs dans cette phrase).