dMZX Forums: board_color now takes transparency into account -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 357 Title board_color now takes transparency into account
Product Archived MegaZeux Bugs Status Fixed (Severity 1 - Low)
Version 2.83 Fixed in 2.84
Introduced In Version 2.80XOperating System All Platforms

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

Report ID #357: board_color now takes transparency into account

#1 User is offline  
Terryn 

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

Posted 23 August 2011 - 11:51 PM

As pointed out to me via lancer spotting a doubly-incorrect description in the current help file, BOARD_COLOR does take transparency into account; that is, if the target coordinates contain a floor with a non-zero background color, and an object with a background color of zero moves over the coordinates, BOARD_COLOR will now report the displayed color (foreground of the object + background of the floor). 2.70 ignored transparency and reported the native foreground+background color of the object. Change dates to 2.80 vanilla.
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


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

Replies (1 - 6)

#2 User is offline  
ajs 

  • carpe diem
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,614
  • Joined: 21-October 00
  • Gender:Male
  • Location:United Kingdom

Posted 24 August 2011 - 06:00 AM

Updating version to: GIT

I assume you are asking for board_color to mask out transparency in future versions? Or is this just a reminder to update the help file?

--ajs.

#3 User is offline  
Terryn 

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

Posted 24 August 2011 - 11:55 AM

Correct assumption, though I need to see if any post-DOS world relies on the change (I doubt it, but it's certainly possible). The current behavior might be desirable, so introducing a counter to act in the now-current behavior might be a worthwhile addition later.
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

#4 User is offline  
Lachesis 

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

Posted 24 August 2011 - 07:28 PM

A counter to change the behavior wouldn't necessarily be a bad thing, but I think a better option while we're adding counters is to revert the behavior back to <2.80 with a compatibility hack for 2.80<=ver<=2.83 if necessary, and give the user access to the under layer -- BOARD_UNDER counters (BOARD_UNDER_COLOR BOARD_UNDER_PARAM) or vch/vco equivalents across the board (bprX,Y ucoX,Y ochX,Y).
"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  
ajs 

  • carpe diem
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,614
  • Joined: 21-October 00
  • Gender:Male
  • Location:United Kingdom

Posted 25 August 2011 - 05:48 PM

Yep, that's the best fix. We'll add the counters and release as 2.84 to allow the compatibility fix to work.

--ajs.

#6 User is offline  
Lachesis 

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

Posted 22 May 2012 - 07:25 AM

Updating status to: Fixed
Issue fixed in: 2.84


Fixed in GIT 9883c93398. The required counters have not been implemented yet.
"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

#7 User is offline  
Terryn 

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

Posted 27 May 2012 - 07:28 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.