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

提供: wiki
2018年6月29日 (金) 02:52時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内、 検索

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