Voxlap
Voxlap copied to clipboard
Making Ken Silverman's "Voxlap" voxel graphics engine run on any platform with SDL.
So far this fork seems like the best approach to get voxlap to compile on all systems. But when I run make, I get those errors: g++ -o binaries/simple.elf.o -funsigned-char...
After this is done I can't mutate the history so I rather do it after the initial port. :)
Certainly use "p" (link-time constant) constraints for pointers to global variables. Ideally use "dummy variables" to avoid hard coding any intermediate constants either.
Naturally this requires/superseeds some of the other editor issues
So my stupid way of doing things was ``` C #ifdef NOASM // C #else #ifdef __GNUC__ // gcc inline assembly #else #ifdef _MSC_VER // msvc inline assembly #endif #endif...
Also make sure that the code he pulled from voxlap is up to date.
Maybe this can be a header of inlined+static functions