Commit Graph

444 Commits

Author SHA1 Message Date
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
pierre
36912a7a2b + get also first BackTrace address with ' 0x' prefix 1999-11-09 22:40:12 +00:00
pierre
bd7d22c00f * several extra_size_info fixes 1999-11-09 22:32:23 +00:00
daniel
ec77ff77ee * Committed new random generator. 1999-11-09 20:14:12 +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
peter
aa083c5b4d * truncated log 1999-11-06 14:35:38 +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
peter
dd3688a927 * another fix for precision 1999-11-03 09:54:24 +00:00
pierre
955e7c0175 * problem of last commit for large d values corrected 1999-11-03 00:55:09 +00:00
peter
4c3df986f0 * fixed copy where size+index could be < 0 1999-11-02 23:57:54 +00:00
peter
1829357f4e * better precisio by dividing only once with a calculated longint
instead of multiple times by 10
1999-11-02 15:05:53 +00:00
peter
6a10b2661b * freemem,reallocmem now get var argument 1999-11-01 13:56:50 +00:00
peter
71d7f4ef38 * memorymanager expanded with allocmem/reallocmem 1999-10-30 17:39:05 +00:00
peter
6e241784e1 * use filemode for rewrite instead of mode 1 1999-10-28 09:52:50 +00:00
florian
326e64a39c * StringOfChar fixed, how can be a bug in two lines of code ????? 1999-10-27 14:27:49 +00:00
florian
093ad73c78 + StringOfChar 1999-10-27 14:17:20 +00:00
peter
6eafc25151 * *errorproc are not procvars instead of pointers which allows better
error checking for the parameters (shortstring<->ansistring)
1999-10-26 12:31:00 +00:00
peter
1a27ce8a2d * inoutres 103 for closed files, just like delphi 1999-10-26 12:25:19 +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