Restructure update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TJS
    Swordsman
    • May 2008
    • 473

    #76
    Originally posted by Nick
    This looks like file_exists is being passed a null pointer. Can you determine which occurrence of file_exists it is crashing in? There are several; one of the ones in main-win.c seems most likely.
    I can't put a breakpoint on the method to see the call stack because I think it is being called by an external library (libpng.dll called through png_read_info I guess).

    Could the problem be similar to the name of the tiles strings being in the wrong format so it is using the wrong character set name?
    Last edited by TJS; February 25, 2015, 14:28.

    Comment

    • academic.sam
      Scout
      • Mar 2013
      • 31

      #77
      I'm getting back to playing with some ideas I've had (home size for starters) and tinker with the code. Should I start from 'restruct' branch or the master branch?

      Thanks
      Sam

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9647

        #78
        Originally posted by academic.sam
        I'm getting back to playing with some ideas I've had (home size for starters) and tinker with the code. Should I start from 'restruct' branch or the master branch?
        master. restruct has been merged in now and is no longer relevant; in fact this post has just reminded me to delete it.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9647

          #79
          Originally posted by TJS
          Could the problem be similar to the name of the tiles strings being in the wrong format so it is using the wrong character set name?
          Conceivably - can you test that?
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

          • TJS
            Swordsman
            • May 2008
            • 473

            #80
            Originally posted by Nick
            Conceivably - can you test that?
            Sure. Any ideas where the name of variable where the tileset is set? Also what should it be for the Shockbolt tiles?

            Comment

            • Nick
              Vanilla maintainer
              • Apr 2007
              • 9647

              #81
              Originally posted by TJS
              Sure. Any ideas where the name of variable where the tileset is set? Also what should it be for the Shockbolt tiles?
              The filenames are read in from lib\xtra\graf\graphics.txt by init_graphics_modes from grafmode.c, which is called from main-win.c. The names are all dimension.png, so Shockbolt's are 64x64.png.
              One for the Dark Lord on his dark throne
              In the Land of Mordor where the Shadows lie.

              Comment

              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎