User:Cinefast

From SRB2 Wiki
Jump to navigation Jump to search

The SRB2 source code is, to many, an enigma. However, many people want to learn to edit it. Well, this tutorial is here to teach them the basics. It really is simple when you learn.

TODO

SRB2 Datatypes

To ensure cross-platform support, SRB2 uses specialised datatypes. Having programmed in C you will be aware that an int is 32-bits in length, a short 16, and a byte 8. In SRB2, the format of datatypes is (S/U)INT(Length). For example, UINT32 is an unsigned int. You can examine the other datatypes in doomtype.h

The Console

Map objects

The HWRAPI system

– Cinefast 11:59, 21 July 2010 (UTC)