Commit Graph

379 Commits

Author SHA1 Message Date
Jonas Maebe
5f0cf70477 * optimized patternline a bit (always use hline when possible)
* isgraphmode stuff cleanup
  * vesainfo.modelist now gets disposed in cleanmode instead of in
    closegraph (required moving of some declarations from vesa.inc to
    new vesah.inc)
  * queryadapter gets no longer called from initgraph (is called from
    initialization of graph unit)
  * bugfix for notput in 32k and 64k vesa modes
  * a div replaced by / in fillpoly
1999-09-24 22:52:38 +00:00
Jonas Maebe
3e14491ff2 * floodfill uses scanline data from previous loop if line is adjacent 1999-09-24 14:23:08 +00:00
Jonas Maebe
c8541db634 + getscanline16 1999-09-24 14:22:38 +00:00
Jonas Maebe
cc0428dcda * fixed another typo :( 1999-09-24 11:31:38 +00:00
Jonas Maebe
5edf8b5488 * -dlogging no longer required to fuction correctly
* some typo's fixed
1999-09-23 14:00:41 +00:00
peter
b659954bc3 * best match for main freelist
* removed root field, saves 4 bytes per block
  * fixed crash in dumpblocks
1999-09-22 21:59:02 +00:00
Jonas Maebe
7e28f32cdc * changed ratios so font sizes on screen are the same as with TP
* SetUserCharSize must also use / instead of DIV
1999-09-22 14:54:11 +00:00
Jonas Maebe
cd377606a4 * changed org_to_cap, org_to_dec and org_to_base to shortints (from
Michael Knapp's gxtext unit, part of the GraphiX package)
  * in settextstyle, the calculation of the ratios must be done with /,
    not DIV!!
1999-09-22 13:30:52 +00:00
Jonas Maebe
47b14faf20 * renamed text.inc -> gtext.inc to avoid conflict with system unit
* fixed textwidth
  * isgraphmode now gets properly updated, so mode restoring works
    again
1999-09-22 13:13:34 +00:00
peter
c7d01df165 * fixed growheap freelist addition when heapend-heapptr<blocksize 1999-09-20 14:17:37 +00:00
florian
c9110d73e3 * conflicts solved 1999-09-20 09:34:30 +00:00
Jonas Maebe
4e43bad546 + hlinevesa256 and vlinevesa256
+ support for not/xor/or/andput in vesamodes with 32k/64k colors
  * lots of changes to avoid warnings under FPC
1999-09-18 22:21:09 +00:00
Jonas Maebe
cd47cbb67a * dump_stack now actually dumps its info to f (was still hardcoded
to stderr)
1999-09-18 16:05:12 +00:00
Jonas Maebe
34f074549c * graph.pp: removed pieslice and sector from ToDo list
* closegraph: exits now immidiately if isgraphmode = false (caused
    RTE 204 with VESA enabled if you set exitproc to call closegraph
    and also called closegraph explicitely before exit, like bgidemo)
1999-09-18 16:03:36 +00:00
peter
88b7b037b2 + new heap manager supporting delphi freemem(pointer) 1999-09-17 17:14:11 +00:00
Jonas Maebe
e188d82aec * another fix for a case where internalellipsedefault went haywire
* sector() and pieslice() fully implemented!
* small change to prevent buffer overflow with floodfill
1999-09-17 13:58:31 +00:00
michael
f31460489f + Added goto on switch 1999-09-17 10:38:00 +00:00
florian
8e642be78a * fixed methodname/address: the loops must go from 0 to ...^.count-1 1999-09-15 20:28:35 +00:00
florian
af80c87ba9 + constants for math functions 1999-09-15 20:23:16 +00:00
Jonas Maebe
6ea818a303 * small change to internalellipsedef to be TP compatible
* fixed directputpixel for vga 320*200*256
1999-09-15 13:37:50 +00:00
Jonas Maebe
ecd28082fd * fixed PutPixVESA256 1999-09-15 11:40:30 +00:00
Jonas Maebe
66e28ab9c1 * fixed Arc: internallellipse went into an endless loop if StAngle =
EndAngle
  * FillEllipse is now much faster: no more floodfill,
    InternalEllipseDefault now draws the patternlines immediatety!
1999-09-13 12:49:08 +00:00
peter
244a1b5815 * fixed strlcat 1999-09-13 11:42:42 +00:00
Jonas Maebe
062f4e5991 * several changes to internalellipse to make it faster
and to make sure it updates the ArcCall correctly
    (not yet done for width = 3)
  * Arc mostly works now, only sometimes an endless loop, don't know
    why
1999-09-12 17:28:59 +00:00
florian
fcd9a97bcb + tobject.methodaddress und tobject.methodname durchsucht nun auch
die Elternklassen
1999-09-12 14:53:26 +00:00
florian
947db5dbe3 * fixed outtext(''), c was a byte, this leads to an underflow and
garbage was written
1999-09-12 08:02:22 +00:00
florian
73b01893ce + implementation of TObject.MethodName and TObject.MethodAddress (not
in the compiler yet)
1999-09-12 08:01:00 +00:00
Jonas Maebe
cb55fd4de2 * FloodFill: did not take into account current viewport settings
* GetScanLine: only get line inside viewport, data outside of it
    is not used anyway
  * InternalEllipseDefault: fix for when xradius or yradius = 0 and
    increase xradius and yradius always by one (TP does this too)
  * fixed conlict in vesa.inc from last update
  * some conditionals to avoid range check and overflow errors in
    places where it doesn't matter
1999-09-11 19:43:00 +00:00
peter
32603fd4b2 * fixed freeall 1999-09-10 17:15:13 +00:00
peter
62de5cdb72 * remove CR when reading one char less then size 1999-09-10 17:14:43 +00:00
peter
12e807b5bc * fixed missing var 1999-09-10 17:13:41 +00:00
peter
3b5373c08a * fixed do_open flags to be > $100, becuase filemode can be upto 255 1999-09-10 15:40:32 +00:00
peter
38a2727fb2 * pointer fixes 1999-09-08 16:14:41 +00:00
peter
c3a8983799 * fixed inoutres for diskfull 1999-09-08 16:12:24 +00:00
Tomas Hajny
78d16850ad * fixed problem with Close under OS/2 1999-09-07 15:54:18 +00:00
peter
1006d29317 * fixed array of char writing which didn't write the last char 1999-09-07 07:44:58 +00:00
peter
eea78419c8 * fixed return of strcat,strlcat 1999-09-01 09:25:10 +00:00
michael
d3d9e234bd + reverted to previous heap 1999-08-20 13:26:20 +00:00
michael
50ae4cf315 + Patch for heap allocation from Florian 1999-08-20 10:31:17 +00:00
peter
4557f11bac * settextbuf size is now longint 1999-08-19 11:16:13 +00:00
peter
8da59d4757 * objfpc mode for 0.99.12 1999-08-18 12:03:16 +00:00
michael
0988042528 Removed the mode for objpas 1999-08-17 14:56:03 +00:00
peter
793b28882f * classes vmt changed to only positive addresses
* sharedlib creation is working
1999-08-09 22:19:46 +00:00
peter
c5faa84f92 * saveregister is now working and used for assert and iocheck (which has
been moved to system.inc because it's now system independent)
1999-08-05 23:45:09 +00:00
peter
a4b08bdef9 * small speed improvements 1999-08-03 21:58:44 +00:00
Jonas Maebe
bee7f62011 * removed and/or/xorput support from vesaputpix256 (not in TP either)
* added notput support to directputpix256
1999-08-01 14:51:07 +00:00
Jonas Maebe
51cc22f9c6 * fixed hline16 and vline16 for notput (also TP supports copy, and, or, xor and
notput for lines!!)
  * fixed directputpixel16 to support all the different put types
1999-08-01 14:50:51 +00:00
peter
00c8bda3b2 * fixed assert() to push/pop registers 1999-07-28 12:58:22 +00:00
florian
95b0c00463 * catch doesn't call popaddrstack anymore, this is done now by the compiler 1999-07-27 08:14:15 +00:00
florian
7d90aed73f * reraise doesn't call popaddrstack anymode 1999-07-26 12:11:28 +00:00