SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

 
 
Thread Tools Search this Thread
Old 12-10-2016   #1
Sryder13
'That brit'
Judge
 
Sryder13's Avatar
Default [2.1.18] v.drawFill with V_SNAPTO*

If you have, for example, a v.drawFill that goes from 0 to 320 on x and from 150 to 200 on y. The drawFill will not be affected by V_SNAPTOTOP or V_SNAPTOBOTTOM. Meaning you can never have that fill along the very bottom of the screen in not aspect correct resolutions. It's because the changes to it drawing aren't performed because it's drawing it across the entire width of the screen. I think the same probably happens with a vertical drawFill too.

Example:
Code:
v.drawFill(0, 163, 320, 37, 31+V_SNAPTOBOTTOM)
Gives a result of:


Also, the top fill in that image doesn't even need V_SNAPTOTOP to be at the very top of the screen so something is wrong there as well.
__________________
Quote:
<MonsterIestyn> try ctrl+f masturbation and get to the point

Last edited by Monster Iestyn; 04-25-2017 at 05:06 PM.
Sryder13 is offline  
Old 12-10-2016   #2
TehRealSalt
Ya Gal Sal Here (σᴥσ)
Developer
 
TehRealSalt's Avatar
Default

IIRC most video flags don't work with v.drawFill in general. The screen darken when voting in SUGOI is done with a scaled black 1x1 patch instead of a fill because V_TRANS50 wouldn't work on it.
__________________
THZ Discord | Twitter | Avatar Source
TehRealSalt is offline  
Old 12-10-2016   #3
Sryder13
'That brit'
Judge
 
Sryder13's Avatar
Default

The V_SNAPTO* flags are meant to work with drawFill though. When using any fill that is within the screen edges completely, they work.
__________________
Quote:
<MonsterIestyn> try ctrl+f masturbation and get to the point
Sryder13 is offline  
Old 04-25-2017   #4
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

I suspect this might be fixed now following Inuyasha's fix (http://git.magicalgirl.moe/STJr/SRB2/merge_requests/173) being merged in, though I'll have to double check that.

EDIT: Yep the given example works properly now in non-green resolutions.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record.

Last edited by Monster Iestyn; 04-25-2017 at 05:06 PM.
Monster Iestyn is offline  
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.