TheCherno / Sparky

Cross-Platform High Performance 2D/3D game engine for people like me who like to write code.
Apache License 2.0
1.1k stars 223 forks source link

Unix build #128

Open Ilohama opened 8 years ago

Ilohama commented 8 years ago

As I continue the #112 issue. Please refer to it for more informations. I'm not gonna to rewrite what was already write. I just have to add that i started from the Android branch to get life easier. I found the cubedtear work 2 month after i started working on it... I compare our works and get his work involved.

Status

I made a trello to follow the developpement state of this linux sparky build : Here Here is my fork for linux : Xeryko/Sparky => Linux branch

Know issue

Sparky allocator and FreeImage lib are in conflict as i saw... a free() : invalid pointer is raised. I don't have to fix this to go further buuuuuuuuut not freeing memory is sooooo bad so i'll have to investigate this.

Question(s)

Edit: How can I get a "list" of Allocated/Freed stuff? I'll use it only for debug. Can i safely replace 'delete' by 'free()' with no risks? (because i fixed allocator functions by replacing delete by free() function. There is no more conflicts nor issue but i don't think it's the good way to proceed)