home *** CD-ROM | disk | FTP | other *** search
- /* gset.c (emx+gcc) -- Copyright (c) 1987-1993 by Eberhard Mattes */
-
- #include <stdlib.h>
- #include <graph.h>
- #define INCL_VIO
- #include <os2emx.h>
- #include "graph2.h"
-
- void g_set (int x, int y, int color)
- {
- if (x >= _g_clipx0 && x <= _g_clipx1 && y >= _g_clipy0 && y <= _g_clipy1)
- {
- GLOCK;
- _g_mem[x + y*320] = (unsigned char)color;
- GUNLOCK;
- }
- }
-