README 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. PTCPas 0.99.5
  2. Nikolay Nikolov ([email protected])
  3. This is a FPC port of the OpenPTC C++ library. It is distributed under the
  4. the terms of the GNU LGPL (see lgpl.txt).
  5. The latest version can be found at http://ptcpas.sourceforge.net
  6. Basically it provides an abstraction layer for high-speed low-level graphics
  7. access. It is OOP and supports multiple platforms. (tested on Linux, DOS and
  8. Windows, more will be added in the future)
  9. 3d acceleration isn't supported, nor planned. If you need that, you should use
  10. something like OpenGL instead. :-)
  11. Supported consoles:
  12. DirectX 3+ (should work on all Windows versions since Windows 95, except
  13. Windows CE. This currently means 95/98/ME/NT4/2000/XP/2003.
  14. On NT4 you need SP3 or later. Also some very ancient versions of
  15. Windows 95 do not have any DirectX preinstalled, so it has to be
  16. installed separately.)
  17. X11 (on linux, maybe also other unix-like OSes, supports dga and XShm
  18. extensions)
  19. Vesa 1.2+ (DOS. LFB and video pages not yet supported)
  20. VGA (DOS, fakemodes, mode13h, etc...)
  21. CGA (DOS, added by me just for fun ... and maybe some day I'll even add
  22. EGA :-) )
  23. Text (DOS, 80x50 - 16 colours, should work even in the most buggy dos boxes
  24. (2000,XP) and IMHO looks better than AALib ;-) )
  25. All programs using OpenPTC look (at runtime) for a config file that may contain
  26. various (platform specific) options, so you can try different consoles, etc,
  27. without the need to recompile. It is called ptc.cfg and is searched in the
  28. current directory on DOS and Windows. On unix it is .ptc.conf in the user's
  29. HOME directory. There's an example ptc.cfg file with all supported options,
  30. prefixed with #. If you want to try an option just remove the # and put it in
  31. the same directory as the .exe (or copy to ~/.ptc.conf on unix :) )
  32. --------------------------------------------------------------------------------
  33. The original copyrights from the C++ version:
  34. The X11 classes are Copyright (c) 1998/99 Christian Nentwich ([email protected])
  35. The OpenPTC 1.0 C++ API is (c) 1998/99 Glenn Fiedler ([email protected])
  36. The OpenPTC C++ library can be found at http://www.gaffer.org/ptc
  37. The Hermes C library can be found at http://hermes.terminal.at