Ykkrosh
7c2e9027c2
Giant merge from http://svn.wildfiregames.com/hg-source/file/5fb522019d5e Infrastructure is largely complete, gameplay is largely missing Disabled by default; use command-line flag "-sim2" (Second attempt at commit...) This was SVN commit r7259.
13 lines
322 B
JavaScript
13 lines
322 B
JavaScript
function TestScript1A() {}
|
|
|
|
try {
|
|
Engine.RegisterComponentType(12345, "TestScript1A", TestScript1A);
|
|
Engine.TS_FAIL("Missed exception");
|
|
} catch (e) {
|
|
// print("Caught exception: " + e + "\n");
|
|
}
|
|
|
|
var n = Engine.QueryInterface(12345, IID_Test1);
|
|
if (n !== null)
|
|
Engine.TS_FAIL("QueryInterface return "+n+", not null");
|