34 unresolved external symbol_png errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • backwardsEric
    Knight
    • Aug 2019
    • 556

    #16
    My previous post assumed that you had perhaps modified visuals.txt and that was causing crashes during startup. Simply adding a kind of monster with ATTR_FLICKER would not affect the tables for color cycling or flickering. If you could post the entry for the Blue Faerie from monster.txt and its relevant base from monster_base.txt that could help diagnose what is going wrong when trying to look up its color. The only relevant attribute for flickering is the base color, and ui-visuals.c checks that is in bounds for the flicker tables.

    As for what would be the closest match to ATTR_METAL, I do not know and would need to look at the Sangband or Unangband source to see what they did.

    Comment

    • Elfin Jedi
      Adept
      • Mar 2013
      • 114

      #17
      I actually was comparing the monster lists, and they are pretty similar most of the differences are just renames so I decided not to bother with the monsters after all. You wouldn't happen to be familiar with the source code for FrogComposband, would you? I am especially wondering about the start menu that they have.

      Most of what I want to do is move FrogComposband races and classes to the modern game format (with the extra windows, the newer item set, and the new rules). Also have it be in a Tolkien-based game. I'd like to make a menu where you choose between Vanilla, Expanded, and Monster; and make it so you can choose a random option from that list.

      I already copied the weapons and armor (adjusted the AC) over from FrogComposband.
      Last edited by Elfin Jedi; October 14, 2025, 02:20.

      Comment

      • Elfin Jedi
        Adept
        • Mar 2013
        • 114

        #18
        I changed my mind, back to working on monsters. Here is the blue faerie btw. I commented out some flags including ATTR_FLICKER.

        name:blue faerie
        base:hybrid
        color:B
        speed:110
        hit-points:2
        light:2
        hearing:18
        smell:20
        armor-class:14
        sleepiness:10
        depth:1
        rarity:1
        experience:1
        spell-freq:10
        spells:BLINK
        flags:NEVER_BLOW | DROP_60
        #flags:CAN_FLY | MUST_FLY
        #flags:EVASIVE
        #flags:RES_LITE | ATTR_FLICKER
        desc:A small winged figure surrounded by glowing blue light.

        I also want to add terrain from Unangband.

        Comment

        • backwardsEric
          Knight
          • Aug 2019
          • 556

          #19
          Adding just the blue faerie, with the ATTR_FLICKER not commented out, to the current head for Vanilla did not trigger any problems on macOS.

          Adding terrain will always require code changes: starting with list-terrain.h and changes to the dungeon generation code to include the new terrain in the dungeon.

          If you revisit trying to incorporate something like FrogComposband's start menu, you might look at the change made in FAangband 2 to incorporate its map menu, https://github.com/NickMcConnell/FAa...a411924aab1da9 .

          Comment

          • Elfin Jedi
            Adept
            • Mar 2013
            • 114

            #20
            Originally posted by backwardsEric
            Adding just the blue faerie, with the ATTR_FLICKER not commented out, to the current head for Vanilla did not trigger any problems on macOS.
            Interesting, did you test playing until you found a blue faerie or just launching? Launching doesn't cause any problems for me, but running into a blue faerie in the game always crashes on the turn after spotting it.

            I'll try to work on the terrain next after the monsters. I've been mostly doing other stuff lately. I need to move blade naga deeper in the dungeon.

            Comment

            • backwardsEric
              Knight
              • Aug 2019
              • 556

              #21
              For the test, I entered the dungeon with a new character, used a debugging command (ctrl-a, then n) to summon a blue faerie, and then moved around till it woke up and moved on its own.

              Comment

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