资源简介
中国象棋源代码
代码片段和文件信息
//---------------------------------------------------------------------------------------------
// Torque Game Builder
// Copyright (C) GarageGames.com Inc.
//---------------------------------------------------------------------------------------------
/// Player Initialization Procedure
///
function onstart()
{
}
function onExit()
{
}
//---------------------------------------------------------------------------------------------
// Load the paths we need access to
//---------------------------------------------------------------------------------------------
function loadPath( %path )
{
setModPaths( getModPaths() @ “;“ @ %path );
exec(%path @ “/main.cs“);
}
//---------------------------------------------
// Do some bootstrap voodoo to get the game to
// the initializeProject phase of loading and
// pass off to the user
//---------------------------------------------
// Output a console log
setLogMode(6);
loadPath( “common“ );
loadPath( “game“ );
onstart();
// Initialized
echo(“\nFunCode (“ @ getT2DVersion() @ “) initialized...“);
if( !isFunction( “initializeProject“ ) || !isFunction( “_initializeProject“ ) )
{
messageBox( “Game Startup Error“ “‘initializeProject‘ function could not be found.“ @
“\nThis could indicate a bad or corrupt common directory for your game.“ @
“\n\nThe Game will now shutdown because it cannot properly function“ “Ok“ “MIStop“ );
quit();
}
_initializeProject();
// Startup the project
initializeProject();
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 486 2016-06-15 12:45 ChinaChess\Bin\common\commonConfig.xm
文件 11766 2016-06-07 21:06 ChinaChess\Bin\common\data\fonts\Arial 12 (ansi).uft
文件 11219 2016-06-07 21:06 ChinaChess\Bin\common\data\fonts\Arial 14 (ansi).uft
文件 43130 2016-06-07 21:06 ChinaChess\Bin\common\data\fonts\Arial 60 (ansi).uft
文件 13875 2016-06-07 21:06 ChinaChess\Bin\common\data\fonts\Arial Bold 20 (ansi).uft
文件 11290 2016-06-07 21:06 ChinaChess\Bin\common\data\fonts\Lucida Console 12 (ansi).uft
文件 365 2014-11-11 21:06 ChinaChess\Bin\common\data\help\2. License.hfl
文件 9458 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 8724 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 2350 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 1566 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 1581 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 836 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 4671 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 1773 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 1610 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 4194 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 5447 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 3911 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 3022 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 1395 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 10428 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 6040 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 14476 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 8867 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 3111 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 2945 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 11162 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
文件 7012 2016-05-24 23:42 ChinaChess\Bin\common\gamesc
文件 4469 2014-11-11 21:06 ChinaChess\Bin\common\gamesc
............此处省略275个文件信息
- 上一篇:基于Verilog的BPSK
- 下一篇:学术会议墙报模板
评论
共有 条评论