Modules PIX Modules


Here is the list of all the modules that Pix contains or will contain, with a short description of each. If you have any suggestions about a new module that should be added to the Pix Kernel, or would like to create a sleeping module, or would like to just update one of the modules, send me an e-mail at joun@globetrotter.qc.ca.

PIX2 has been released (beta 1.3.0). Get it here
Module Name Available for... Description
Pix322 TP/BP7
This is the actual Graphics Core for the PIX library. It handles all the basic screen output, palette manipulation, and virtual pages. Almost all of the code for this module is written in assembler.
* First version written by Jonathan Nicolas
PixSprit TP/BP7 This module contains functions for image/sprite manipulation. It can load bitmaps into memory, draw/get them to/from a virtual page, clip an image within a defined clip region, put images with trasparancy, etc... This is the most important module next to Pix322. The get/put image process is very fast, since it's all written in assembler.
* First version written by Jonathan Nicolas
PixPEI TP/BP7 PEI Stands for Pix Extended Image. This module contains functions to load PCX files, and an object definition to handle the new PEI format. A PEI file is much like a PRI, but with added functionality. First, an object encapsulates the thing. You decalre an object, and then load the PEI file within it. Next, when you save/load, PEI files can be RLE compressed. It's much like PCX compression, but it may compress better in some cases. Finally, a palette is directly attached to the PEI file, allowing only one file for the image.
* First version written by Jonathan Nicolas
PixText TP/BP7 This module is also very important. In fact, it can draw text to the Pix322's virtual pages. You can use ROM or custom fonts, mono- or multi-color. A font editor is being built, and should be available soon.
* First version written by Jonathan Nicolas
PixTimer TP/BP7 This module lets you speed up the system clock, and contains 16 clock counters that let you create "timers" to time certain events in your game. All the counters are decremented at each clock interrupt (the clock rate), and you can set the clock rate to just about any value (normal clockrate = 18.2). So for example you could set the rate to 1000 (interrupts per second) and then use the timers to time your sprite animations, etc... and by using these timers you could make sure that your game runs at the same speed on every computer.
* First version written by Jason Morriss
PixRes TP/BP7 This is a basic ressource file management module. With this, you can use a single big ressource file to hold all of your data, like graphics, sound effects, music, and so on. This is not really complete yet, but it provides a basic frame to store/retreive data to/from it via keywords. You can use this in conjunction with PixSprit to get/store images from/to it, using a special function from PixSprit to load a drawing from an opened file. Support for easier access should be written soon.
* First version written by Jonathan Nicolas
PixStr TP/BP7 Remember the old basic's string functions like left$, right$, mid$ and so on? If you miss them, you'll be happy, because PixStr contains all this set of function with more. So, it is a string manipulation module.
* First version written by Chris Delezenski
PixMath TP/BP7 This module contains many mathematical functions to help you with the math of your game. Many angle manipulation functions are provided. Along with "Fixed Point" Routines.
* First version written by Chris Delezenski
PixMap TP/BP7 This modules handles tile-maps for any kind of game that needs it. You draw each tile, and then draw a map using those tiles. The PixMap module handles the loading/saving and displaying of those maps. This module is done, but no map editor is built yet, so it's not published.
Pix3D Sleeping... A module that should handle 3-D drawing, for both wireframe and solid. Nobody has done it yet, so if you can, do it!
PixSfx Sleeping... This module contains functions that creates different visual effects.
* First version written by Amit Jain
PixKey TP/BP7 This is a great keyboard handler. It hooks the DOS' keyboard interrupt to avoid the regular Readkey process. Instead you can know either a key is pressed or not by checking in a boolean array.
* First version written by Jonathan Nicolas
PixJoy TP/BP7 This handles the usage of the Joysticks. It can handle 2 joysticks, and have a special function to auto-calibrate it.
* First version written by Jonathan Nicolas
PixMouse TP/BP7 This module handles the mouse. Functions are provided to automatically draw the mouse, and you can call functions to get the mouse's position and button status. You can use any PRI (PixSprit file format) file as the mouse cursor.
* First version written by Jonathan Nicolas
PixSound TP/BP7 This module contains functions to detect/init the soundblaster card and play digital sounds on it. It can play PDS files (Pix Digital Sound), and a Voc2Pds converter is included with the package. This module needs some work, and it can only play one sound at a time.
* First version written by Jonathan Nicolas
PixFM TP/BP7 This module can play FM notes on the adlib or soundblaster's OPL/2 chip for FM sounds. Used in conjunction with PixFmMod, it can plays FM modules, much like .MOD files. This isn't published yet since it's pretty useless as long as PixFmMod isn't completed. If you want it anyway, send me an e-mail.
* First version written by Jonathan Nicolas
PixGUI TP/BP7 This is a Graphical User Interface module. Kinda like Turbo Vision. It's self-explaining.
* First version written by Gerard Krijgsman
PixComm Sleeping... This module should contain support for multi-player gaming though Direct-Link, Modem or IPX Network connection. A global interface should encapslate all three types of connections to provide the same interface to the programmer.
PixMem TP/BP7 This module should contain a port to EMS/XMS memory, with an easy interface to the programmer. We currently have an EMS and an XMS unit, we're just tring to decide on how to incorporate them into PIX, either as one module "PixMem" or as 2 seperate modules...
PixMisc TP/BP7 This module contains miscellaneous functions that don't belong to any one module.


Home | Info | Modules | Download

Navigation


This page hosted by Get your own Free Home Page