linux-powerpc trouble

Marcel Unbehaun frostworks at gmx.de
Thu Nov 23 23:36:12 PST 2006


I just found s.th. which maybe mighty be interesting:
Before the pasted function there's a line
"if (getExt(fileName) != "xml")"
When I comment out this the game crashes later in the process:
at texture.d:28
The first lines there are
 public static SDL_Surface* loadBmp(char[] name) {
    if (surface[name]) {
      return surface[name];
    } else {
      char[] fileName = imagesDir ~ name;

The crashing line 28 is "if (surface[name]) {".
When I comment out the if-else routine, the game loads till the title screen
(when starting to play it crashes, probably as of missing bulletml-stuff)




More information about the D.gnu mailing list