Bug RL, compilers, and technical problems
How sapetelo roguelike development is stopped to pull me a bit 'breath and make room for my other activities (Kung Verona was for example), but I nevertheless decided to continue to test the game engine to decide what would be the part to be developed to arrive at 0.3.
But a problem arose.
fact the 0.2 has a critical bug that occurs from the seventh level of the dungeon down: in practice, when you enter one of these levels there is the possibility that the game crashes (segmentation fault) in an array result of chance with the wrong size. I fixed the bug on Saturday night but then I have not had time to replace the package to download.
The problem is that Saturday I also decided to reinstall the operating system (Kubuntu) in its latest version (4.10), saving data and reformatting. The thing is successful and, beyond the obvious problems of settling in, I'm pretty happy.
But the surprise comes for the D-Tango. In fact, before reinstalling I made sure that the packages were ready to Tango the new version, but they were not supported by DSSS, my favorite compiler. Asking on the forum I was told that there was a new project called LDC that would somehow supplanted DSSS no longer supported. So glad I was able to reinstall.
Things have gone a bit 'differently: LDC did not want to compile my sources, but mostly because the new version of Tango had changed several libraries. Once aligned, and downloaded gcc, I could use to build LDC. Again, however, the comnado for LDC plans to list all files that are imported, which was not the case with DSSS and that made him so useful.
But I'm not so picky: in short, if LDC offers greater performance are also willing to create a bash script to compile all my.
But the real problems here were born. The latest compilation
LDC creates an executable slow, but very slow: imagine that they are not even able to start it because after 10 minutes I was waiting for initialization to end I gave up and went to bed.
I decided to return to DMD, the with that command I had to make a list of all files, then so be it. Tested just now the game is back to his usual speed and then all, at least for the moment, is solved.
I groped to reinstall anyway :-) DSSS We
0 comments:
Post a Comment