The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2019, 04:36:35 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  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 3779 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!