Commit Graph

118 Commits

Author SHA1 Message Date
peter
2d6a92f17e * graph unit include is now independent and the dependent part
is now in graph.pp
  * ggigraph unit for linux added
2000-03-19 11:20:12 +00:00
sg
65506db2eb * Fix for ClearViewportDefault: The width and the height of the rectangle
it filled has been one pixel too high.
2000-03-18 10:45:07 +00:00
sg
1ce21b9e8e * Use linux unit under Linux 2000-03-17 13:28:54 +00:00
Jonas Maebe
4cb3f54367 * writemode was not set to normalput during clearviewport (and it uses hline) 2000-03-08 14:20:14 +00:00
peter
66ea55dd7c * removed warnings/notes 2000-02-27 14:40:40 +00:00
Jonas Maebe
ba7b10c01d + new, faster fillpoly from Thomas Schatzl
* some logging commands in vesa.inc disabled
2000-02-12 13:39:19 +00:00
sg
4e5b164c36 * For Linux, "/" is added to the bgipath instead of "\" if this character
isn't already there.
2000-02-06 01:47:15 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
Jonas Maebe
3fafebe811 * fixed bug in outTextXY for vertical text 2000-01-06 16:17:56 +00:00
Jonas Maebe
39343bf688 * removed/commented out (inited but) unused vars and unused types 2000-01-02 19:02:39 +00:00
Jonas Maebe
0e4fe19488 * made floodfill a *LOT* faster (better DrawnPoints management) 2000-01-02 19:01:32 +00:00
Jonas Maebe
c2020897fd + by default, also attempt to install the fonts that come with TP7 1999-12-29 17:26:00 +00:00
Jonas Maebe
39d5e1c70a * XAspect and YAspect are now words instead of smallints, they
overflowed for resolutions > 640x480 otherwise
  * the number of pixels required for an ellipse in internalellipsedef
    is now calculated after the aspectratios have been taken into
    account
1999-12-26 10:33:06 +00:00
Jonas Maebe
0f13ce953c * setpallette only worked for colors 0-63, fixed 1999-12-25 22:22:56 +00:00
Jonas Maebe
c483ef813d * turn off IO checking when attempting to open a font file (to avoid RTE) 1999-12-23 16:48:13 +00:00
Jonas Maebe
802730bfb5 * changed vesa.inc do it doesn't try to use linear modes anymore (doesn't work
yet!!)
  * fixed mode detection so the low modenumber of a driver doesn't have to be zero
    anymore (so VESA autodetection now works)
1999-12-21 17:42:17 +00:00
pierre
4bfe8086c4 + CloseGraph if errors 1999-12-21 09:16:48 +00:00
peter
62bd7e53ee * integer -> smallint to overcome -S2 switch needed for ggi version 1999-12-20 11:22:35 +00:00
Jonas Maebe
91fca2d81f * putimage now performs the lipping itself and uses directputpixel
(note: this REQUIRES or/and/notput support in directputpixel,
    this is not yet the case in the assembler versions!)
  * YOffset addition moved in hlinevesa256 and vlinevesa256
    because it uses still putpixel afterwards
1999-12-12 13:34:19 +00:00
Jonas Maebe
4ebd215a8c * changed definition of getscanlineproc to "getscanline(x1,x2,y:
integer; var data);" so it can be used by getimage too
  * changed getimage so it uses getscanline
  * changed floodfill, getscanline16 and definitions in Linux
    include files so they use this new format
  + getscanlineVESA256 for 256 color VESA modes (banked)
1999-12-11 23:41:38 +00:00
pierre
54874916af * SetBkColor like BP by changing Palette entry zero 1999-12-10 12:47:41 +00:00
michael
514f0f9879 + Additional logging 1999-12-04 21:20:04 +00:00
michael
1eb4bfc435 + Removed charmessagehandler declaration, it is in graphh.inc 1999-11-30 08:57:46 +00:00
Jonas Maebe
db5cdd7387 * corrected misplacement of call to initvars in initgraph
+ some extra debugging commands (for -dlogging) in the mode functions
1999-11-28 16:13:55 +00:00
Jonas Maebe
6ad29d29a6 * _GraphResult is now properly set to grOK by DetectGraph and
InitGraph if there are no errors
1999-11-28 12:19:59 +00:00
Jonas Maebe
acabc4c7fa * fixed VlineVESA256 and re-enabled it in graph.inc
* added procedure detectgraph to interface of graph unit
1999-11-27 21:48:00 +00:00
pierre
926f82efc1 * memory corruption within GetImage removed 1999-11-25 17:44:14 +00:00
pierre
2719fb91e8 * PutImage used an integer index that became negative !!!!
* Default needed procedure now genrate a RTE 218 instead of a
    GPF by call to nil pointer !
1999-11-24 23:42:31 +00:00
florian
1736a7d64d * extgraph moved to win direcory 1999-11-24 22:12:06 +00:00
florian
254c43d6b7 * the writing of the default font was wrong when doing scaling:
the last colunm/row wasn't drawn
1999-11-11 22:29:21 +00:00
florian
3839c77a58 * the size was calculated wrong by imagesize 1999-11-11 17:55:07 +00:00
florian
2c4cddd82d * better looking font 1999-11-11 14:07:14 +00:00
peter
79d331a978 * fpcmake support 1999-11-08 15:01:38 +00:00
peter
6dac8462c5 * move graph.inc to the target dir 1999-11-08 11:15:21 +00:00
Jonas Maebe
887c7e173b * fixed pascal version of (direct)putpixelx 1999-11-05 12:18:23 +00:00
florian
707675a501 + first release of win32 gui support 1999-11-03 20:23:01 +00:00
carl
f7e31f50f6 * Bugfix of mode m800x600x64k - wrong vide mode would be used.
+ TP compilable.
1999-10-24 15:51:22 +00:00
carl
3faddeae49 * Bugfix in TP mode SaveStateVESA 1999-10-24 15:50:23 +00:00
carl
28c0ca8f49 + GetPixVESA16 (not tested yet...) 1999-10-24 03:37:15 +00:00
carl
a3f4314a19 - Removed some old french comments.
* Bugfix of problems with register access in noasmmoded
  + GetPixVESA16
1999-10-24 03:34:37 +00:00
carl
ed837de14c - Removed Hercules mode
+ Added VGAMed and VGAhi modes.
1999-10-24 01:55:53 +00:00
Jonas Maebe
d6cb636d80 * fixed clipping for thickwidth lines (bug 659)
* fixed the faster internalellipsedefault, but it doesn't plot
    all pixels (there are gaps in the ellipses)
1999-10-17 10:20:13 +00:00
Jonas Maebe
0fa97f88ea * fixed set/getvgargbpalette for VGA 16 color modes 1999-10-08 14:28:18 +00:00
Jonas Maebe
85f0d28bf1 * fix for disposing font data because it can contain #0 chars 1999-09-28 15:07:46 +00:00
Jonas Maebe
03980540bd * reordered some local variables (first 4 byte vars, then 2 byte vars
etc)
  * font data is now disposed in exitproc, exitproc is now called
    GraphExitProc (was CleanModes) and resides in graph.pp instead of in
    modes.inc
1999-09-28 13:56:25 +00:00
peter
85c3b9ff3b * new graph unit is default for go32v2
* removed warnings/notes
1999-09-27 23:34:40 +00:00
Jonas Maebe
de09b385d3 * execute multiplications before divisions in lineclipped to avoid rounding errors 1999-09-27 12:35:27 +00:00
Jonas Maebe
aa5751acbc * changed name of modeinfo variable to vesamodeinfo and fixed
associated errors (fillchar(modeinfo,sizeof(tmodeinfo),#0) instead
    of sizeof(TVesamodeinfo) etc)
  * changed several sizeof(type) to sizeof(varname) to avoid similar
    errors in the future
1999-09-26 13:31:06 +00:00
Jonas Maebe
bd4d132c5b + detectgraph
* small change to internalellipsedefault so less pixels are
    calculated twice
  * some small corrections to graph.tex
1999-09-25 11:48:43 +00:00