User Tag List

Results 1 to 1 of 1

Thread: Select Enemy window looks bad

  1. #1
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%

    Sick Bug Select Enemy window looks bad

    Steps to recreate:

    1. File->New
    2. Click black enemies section of bottom-left screen panel; observe "Enemies" window appears
    3. Double-click any "(None)"; 'Select Enemy' window appears
    4. Observe left side of 'OK' button is coincident with left side of "Select Enemy" window
    5. Observe 'Edit' button partially obscures "WScript" label


    When opened via Quest->Enemies, these problems don't occur.
    Last edited by jeffythedragonslayer; 04-14-2024 at 05:41 PM.

  2. #2
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    The "WScript" string comes from the bottom of enelist_proc in zquest.cpp

  3. #3
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    The x position of the 'OK' button is controlled by:

    Code:
            elist_dlg[3].x = 240;
    in select_enemy in zquest.cpp

  4. #4
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    Since "(None)" is not a real enemy, we could disable the Edit button for it as well.

  5. #5
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    Buttons have been moved down so WScript is no longer obscured:

    https://github.com/ZeldaClassic/Zeld...8f3b876ebc13c0

    OK button moved to the right so it's no longer coincident with the left-hand side of the window:

    https://github.com/ZeldaClassic/Zeld...d31d77fae628c3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social