dMZX Forums: ALT+D works outside of the palette editor -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 392 Title ALT+D works outside of the palette editor
Product Archived MegaZeux Bugs Status Fixed (Severity 2 - Fair)
Version 2.83 Fixed in 2.84
Introduced In Version 2.80XOperating System All of them

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #392: ALT+D works outside of the palette editor

#1 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,949
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 27 December 2011 - 10:14 PM

As noted in the feature request thread, ALT+D is a palette editor hotkey that works outside of the palette editor and does not request confirmation. There are four things that could be done about this:

1) Nothing (BAD ENDING GAME OVER)
2) Make it request confirmation
3) Since it's not noted anywhere outside of the palette editor IIRC, and there's little use for it outside of the palette editor, simply disable it outside of the palette editor
4) zzo has mentioned that ALT+D had a completely different function before the port, related to built-in placement colors. As a final option, this functionality could be restored (zzo will post this version of the fix).
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 5)

#2 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,966
  • Joined: 12-October 00
  • Gender:Male

Posted 27 December 2011 - 10:18 PM

1) No
2) Bare Minimum
3) Feasible, though I could possibly maybe theoretically see the inability making a difference later (e.g. when viewing the whole board). I don't think it'd matter much.
4) This Yet Again. :rolleyes: Well, anyway, it should be trivial to put that back in, and bound to something else if need be.
angelic stream - shed sanguine - ill-adapt - avis - para/lyser - renaissance - dead tangent - phosphene blur - birth breeds death - ________ - painted glass - lagniappe

<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111

#3 User is offline  
zzo38 

  • Registered members
  • PipPipPip
  • Group: Members
  • Posts: 453
  • Joined: 16-May 08
  • Gender:Not Telling

Posted 28 December 2011 - 05:49 AM

...
static void thing_menu(World *mzx_world, int menu_number, mzx_thing *new_id,
 int *new_color, int *new_param, Robot *copy_robot, Scroll *copy_scroll,
 Sensor *copy_sensor, int x, int y, int uses_default_colors)
...
    if(menu_number<8) { // normal kinds
      id = tmenu_thing_ids[menu_number][chosen];

      if(def_colors[id] && uses_default_colors)
      {
        color = def_colors[id];
      }
      else
      {
        color = *new_color;
      }
...
static void __edit_world(World *mzx_world)
{
...
  int uses_default_colors=1;
...
      case IKEY_d:
      {
        if(draw_mode != 2)
        {
          if(get_alt_status(keycode_internal))
          {
            if(mzx_world->editor_conf.old_altd) {
              uses_default_colors=!uses_default_colors;
            } else {
              default_palette();
              update_palette();
            }
          }
...

This is an approximate way to correct it; you will need to change it according to how you have MegaZeux currently coded. (The "// normal kinds" is about a PZX feature; you can omit that part.)

#4 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,949
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 29 April 2012 - 06:59 PM

Updating status to: Awaiting Feedback

Terryn, can you explain your reply to #3? :s9:
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#5 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,949
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 21 May 2012 - 05:03 AM

Updating status to: Fixed
Updating severity to: 2 - Fair
Updating version to: 2.83

Issue fixed in: 2.84


Yeah whatever, I just went with #2 since I doubt anyone really misses the original functionality.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#6 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,966
  • Joined: 12-October 00
  • Gender:Male

Posted 27 May 2012 - 07:27 PM

Moving to: Archived MegaZeux Bugs


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2025  IPS, Inc.