Dev talk:2.4/Doc/How to/Add a Space

提供: wiki
移動先: 案内、 検索

Hi,

The Definition of the Space Identifier section isn't accurate. You should be adding the new spacetype before the SPACEICONMAX, and changing the value of SPACEICONMAX to this new spacetype you just added.

So, for example:

enum {
	...
	SPACE_NODE,
        SPACE_DEMO,
	SPACEICONMAX = SPACE_DEMO,
/*	SPACE_LOGIC	*/
};


Aligorith