There's a crash when going in 3D mode, due to the player.3ds file it seems, which bugs the 3ds loader code i use.
So it seems the bug is not in my own code. And when it is detected by the VC++ debugger, it points an adress which is outside of the game. So i can't use the debugger for this bug. Hard...
I tried other 3ds loaders to see if it helps, but it's not satisfactory because with all of them (i tried a dozen), the color materials aren't displayed ! (the 3D object is gray)
So i tried to generate the player.3ds file with many 3D modelers but with the same result...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's a crash when going in 3D mode, due to the player.3ds file it seems, which bugs the 3ds loader code i use.
So it seems the bug is not in my own code. And when it is detected by the VC++ debugger, it points an adress which is outside of the game. So i can't use the debugger for this bug. Hard...
I tried other 3ds loaders to see if it helps, but it's not satisfactory because with all of them (i tried a dozen), the color materials aren't displayed ! (the 3D object is gray)
So i tried to generate the player.3ds file with many 3D modelers but with the same result...
I'm still working on this bug. I don't give up for now.
Normally fixed in version 0.5.9g
sorry, not fixed in 0.5.9 (all versions)
the new version 0.6.0 should fix the problem, but I'm still testing the game.