Last change
on this file since 80 was
80,
checked in by Sam Hocevar, 14 years ago
|
- Adding the Golgotha source code. Not sure what's going to be interesting
in there, but since it's all public domain, there's certainly stuff to
pick up.
|
File size:
954 bytes
|
Line | |
---|
1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #include "software/r1_software_globals.hh"
|
---|
10 |
|
---|
11 | void texture_scanline_solid_fill(w16 *start_pixel,
|
---|
12 | sw32 start_x,
|
---|
13 | void *left,//solid_blend_span *left,
|
---|
14 | sw32 width)
|
---|
15 | {
|
---|
16 | w16 color = ((solid_blend_span *)left)->color;
|
---|
17 |
|
---|
18 | start_pixel = (w16 *)((w8 *)start_pixel + start_x);
|
---|
19 |
|
---|
20 | while (width)
|
---|
21 | {
|
---|
22 | *start_pixel = color;
|
---|
23 | start_pixel++;
|
---|
24 |
|
---|
25 | width--;
|
---|
26 | }
|
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.