Update README.md

This commit is contained in:
Miloslav Číž 2020-09-07 17:07:42 +00:00
parent 03032c8489
commit 2c363b76c3
1 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,8 @@ All global identifiers of the game code start with the prefix `SFG_` (meaning *s
The **engine** -- raycastlib -- works on the principle of **raycasting** on a square grid and handles the rendering of the 3D environment (minus sprites). There is a copy of raycastlib in this repository but I maintain raycastlib as a separate project in a different repository, which you can see for more details about it. For us, the important functions interfacing with the engine are e.g. `SFG_floorHeightAt`, `SFG_ceilingHeightAt` (functions the engine uses to retirieve floor and ceiling height) and `SFG_pixelFunc` (function the engine uses to write pixels to the screen during rendering, which in turn uses each platform's specific `SFG_setPixel`).
**Mods** of the vanilla version are recommended to be made as patches, so that they can easily be combined etc. If you want your mod to remain free, please don't forget a license/waiver, even for a small mod. You can never go wrong by including it.
integer math
sprites 1D zbuffer