Jonas Maebe
3fafebe811
* fixed bug in outTextXY for vertical text
2000-01-06 16:17:56 +00:00
Jonas Maebe
0eacfedcb8
* fixed traceReallocMem with nil pointer (simply calls traceGetMem now in
...
such a case)
2000-01-05 13:56:55 +00:00
peter
ca84c2bc26
* fixed reallocmem with p=nil
2000-01-03 19:37:52 +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
bb70445e8a
* some assembler functions translated to pascal
...
WARNING these are not yet TESTED !!!
+ FPC_CHARARRAY_TO_SHORTSTRING added
1999-12-21 11:12:16 +00:00
pierre
8b91888fc2
* allow v09912 to compile system
1999-12-21 11:10:22 +00:00
pierre
4bfe8086c4
+ CloseGraph if errors
1999-12-21 09:16:48 +00:00
pierre
f3557f20ed
+ cinv in interface
1999-12-20 22:24:48 +00:00
peter
62bd7e53ee
* integer -> smallint to overcome -S2 switch needed for ggi version
1999-12-20 11:22:35 +00:00
peter
fd5037b339
+ smallint, maxsmallint
...
* integer is redefined as smallint
1999-12-20 11:20:14 +00:00
florian
3df732dfa0
+ initial version
1999-12-18 14:55:53 +00:00
florian
89c403c529
* very basic widestring support
1999-12-18 14:54:34 +00:00
peter
a3c7cfd396
* fixed sysmemsize which did the and sizemask wrong
1999-12-16 19:11:49 +00:00
peter
a3749c8bf3
* fixed getmem call with wrong size from reallocmem
1999-12-13 21:04:46 +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
047a68614f
* remove "random(longint): longint" if cardinalmulfixed is defined
1999-12-12 13:29:34 +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
Jonas Maebe
6c3f032c9f
* avoid unwanted type conversion from cardinal to longint in val for
...
signed and unsigned 32bit int
1999-12-11 19:07:44 +00:00
peter
b1ce2dee62
* strnew is ofcourse also different between sysutils and strings, just
...
like stralloc/strdispose.
1999-12-10 15:02:12 +00:00
pierre
54874916af
* SetBkColor like BP by changing Palette entry zero
1999-12-10 12:47:41 +00:00
peter
1d2da4c432
* fixed vmtptr crash in tstream.put
1999-12-06 18:25:30 +00:00
michael
514f0f9879
+ Additional logging
1999-12-04 21:20:04 +00:00
peter
9138338d04
* public added to TObject
1999-12-02 19:28:53 +00:00
peter
42516d7f5e
* read_int64 dummy added
1999-12-02 17:40:06 +00:00
peter
bf3e811517
* cmdline support
1999-12-01 22:57:30 +00:00
Jonas Maebe
7f899914bc
+ function random(longint): longint
1999-12-01 12:37:13 +00:00
michael
1eb4bfc435
+ Removed charmessagehandler declaration, it is in graphh.inc
1999-11-30 08:57:46 +00:00
pierre
c1f893a1d1
* Infinite loop for infinite value problem fixed
1999-11-28 23:57:23 +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
sg
87d0345efc
* Fixed bug #722 : If the start position of AnsiString Copy is less than 1,
...
it will be set to 1 (same behaviour as in Delphi)
1999-11-28 11:24:04 +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
michael
65cd1cdbc7
+ Added Ansistring setstring call
1999-11-25 13:34:57 +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
Jonas Maebe
5ffd2e21d4
* reinstated old random generator, but modified it so the integer
...
one now has a much longer period
1999-11-20 12:48:09 +00:00
peter
78d5e706ac
* exception address fixes
1999-11-15 21:49:47 +00:00
peter
5fec122056
* removed warnings
1999-11-14 21:35:04 +00:00
peter
ddb0882789
* fixed reallocmem with a block at the end of an allocated memoryblock,
...
had to introduce a flag for such blocks.
* flags are now stored in the first 4 bits instead of the highest bit,
this could be done because the sizes of block are always >= 16
1999-11-14 21:34:21 +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
michael
adb19684e1
+ Fixed sysreallocmem
1999-11-10 22:29:51 +00:00