「Dev talk:2.4/Doc/How to/Add a Space」の版間の差分

提供: wiki
移動先: 案内、 検索
 
細 (1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 02:52時点における最新版

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