#include "goomconfig.h"
#include "mmx.h"
Go to the source code of this file.
|
static void | draw_line (int *data, int x1, int y1, int x2, int y2, int col, int screenx, int screeny) |
|
◆ DRAWMETHOD_NORMAL
#define DRAWMETHOD_NORMAL |
( |
|
adr, |
|
|
|
col |
|
) |
| {*(adr) = (col);} |
◆ DRAWMETHOD_PLUS
#define DRAWMETHOD_PLUS |
( |
|
_out, |
|
|
|
_backbuf, |
|
|
|
_col |
|
) |
| |
Value:{\
movd_m2r (_backbuf, mm0); \
paddusb_m2r (_col, mm0); \
movd_r2m (mm0, _out); \
}
Definition at line 11 of file drawmethods.h.
◆ DRAWMETHOD_OR
#define DRAWMETHOD_OR |
( |
|
adr, |
|
|
|
col |
|
) |
| {*(adr)|=(col);} |
◆ DRAWMETHOD_DONE
#define DRAWMETHOD_DONE |
( |
| ) |
{__asm__ __volatile__ ("emms");} |
◆ DRAWMETHOD
◆ draw_line()
static void draw_line |
( |
int * |
data, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
col, |
|
|
int |
screenx, |
|
|
int |
screeny |
|
) |
| |
|
static |