by HotWax » Mon Dec 15, 2008 7:36 pm
bagheadspidey wrote:Wrong thread? =/
No. He added the summon commands but he gave them new DEM codes so that the old summon* commands still exist for playing older demos. This is important for demo compatibility since these commands can be stored in and played back from demo files.
Code: Select all
--- zdoom/trunk/src/d_protocol.h 2008/10/21 02:27:21 1272
+++ zdoom/trunk/src/d_protocol.h 2008/12/16 01:23:44 1317
@@ -148,6 +148,9 @@
DEM_DELCONTROLLER, // 49 Player to remove from the controller list.
DEM_KILLCLASSCHEAT, // 50 String: Class to kill.
DEM_CONVERSATION, // 51 Make conversations work.
+ DEM_SUMMON2, // 52 String: Thing to fabricate, WORD: angle offset
+ DEM_SUMMONFRIEND2, // 53
+ DEM_SUMMONFOE2, // 54
};
// The following are implemented by cht_DoCheat in m_cheat.cpp
[quote="bagheadspidey"]Wrong thread? =/[/quote]
No. He added the summon commands but he gave them new DEM codes so that the old summon* commands still exist for playing older demos. This is important for demo compatibility since these commands can be stored in and played back from demo files.
[code]--- zdoom/trunk/src/d_protocol.h 2008/10/21 02:27:21 1272
+++ zdoom/trunk/src/d_protocol.h 2008/12/16 01:23:44 1317
@@ -148,6 +148,9 @@
DEM_DELCONTROLLER, // 49 Player to remove from the controller list.
DEM_KILLCLASSCHEAT, // 50 String: Class to kill.
DEM_CONVERSATION, // 51 Make conversations work.
+ DEM_SUMMON2, // 52 String: Thing to fabricate, WORD: angle offset
+ DEM_SUMMONFRIEND2, // 53
+ DEM_SUMMONFOE2, // 54
};
// The following are implemented by cht_DoCheat in m_cheat.cpp[/code]