The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 11:32:41 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Laser Clipping Problems
« previous next »
Pages: [1] Print
Author Topic: Laser Clipping Problems  (Read 4338 times)
Robert Murphy
Guest


Email
Laser Clipping Problems
« on: December 02, 2002, 08:58:25 am »

Howdy! First of all this is a great port! Thanks for your hard work!

I don't know if someone else has mentioned this (possibly before the forum went down) but I have noticed that during combat whenever a laser weapon (point defense, Arilou, Vux etc.) is used near the far right edge of the combat screen the laser blits one extra pixel. I have a hack/fix for this in the
line_blt function in the 3do_blt.c file by inserting the following code right after line 227:

if(x1 >= _pCurContext->ClipRect.extent.width){x1=_pCurContext->ClipRect.extent.width-1;}

if(x2 >= _pCurContext->ClipRect.extent.width)
{x2 = _pCurContext->ClipRect.extent.width-1;}

I know this isn't elegant but it seems to fix the problem. Perhaps the there is an issue with the blit rectangle for the display on the left hand side of the screen..

hope this helps,
Rob.

Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!