1 Star 0 Fork 0

tohkachan/ctp2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Activision CTP2 Source Code_Readme.htm 9.00 KB
一键复制 编辑 原始数据 按行查看 历史
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="CTP2%20Source%20Code_Readme_files/filelist.xml">
<title>Call To Power II - Source Code - ReadMe</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="date"/>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Preferred Customer</o:Author>
<o:LastAuthor>Preferred Customer</o:LastAuthor>
<o:Revision>3</o:Revision>
<o:TotalTime>70</o:TotalTime>
<o:Created>2003-10-27T23:50:00Z</o:Created>
<o:LastSaved>2003-10-28T00:20:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>401</o:Words>
<o:Characters>2290</o:Characters>
<o:Lines>19</o:Lines>
<o:Paragraphs>5</o:Paragraphs>
<o:CharactersWithSpaces>2686</o:CharactersWithSpaces>
<o:Version>10.2625</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]><object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 65.95pt 1.0in 65.95pt;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoPlainText>Call To Power II Source Code Release</p>
<p class=MsoPlainText><span class=GramE>Copyright (C) 2001 by Activision, Inc.</span><br>
All rights reserved.</p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>Documentation Updated: <st1:date Year="2003" Day="27"
Month="10">10/27/03</st1:date><br>
<br>
<br>
Included Files &amp; Directories:</p>
<p class=MsoPlainText>=============================</p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>\bin\<span style='mso-tab-count:3'> </span><span
style='mso-tab-count:1'> </span><span style='mso-tab-count:1'> </span>&lt;-
.<span class=SpellE>dlls</span> and support .<span class=SpellE>exes</span></p>
<p class=MsoPlainText>\ctp2_code\<span style='mso-tab-count:2'> </span><span
style='mso-tab-count:1'> </span><span style='mso-tab-count:1'> </span>&lt;-
Source Code for CTP2</p>
<p class=MsoPlainText>CTP2 Source Code_Readme.htm<span style='mso-tab-count:
1'> </span>&lt;- <span class=SpellE>Readme</span> file in .html format</p>
<p class=MsoPlainText>CTP2 Source Code_Readme.txt<span style='mso-tab-count:
1'> </span>&lt;- <span class=SpellE>Readme</span> file in .txt format</p>
<p class=MsoPlainText>CTP2_EULA.doc<span style='mso-tab-count:1'> </span><span
style='mso-tab-count:2'> </span>&lt;- End User Licensing Agreement<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>Information:</p>
<p class=MsoPlainText>============</p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>This is the released source code to Call to Power II,
including the patch.<span style='mso-spacerun:yes'> </span>It has been
stripped of comments, but is otherwise complete as far as Activision code
goes.<span style='mso-spacerun:yes'> </span>It was built using Microsoft
Visual Studio 6.0.<span style='mso-spacerun:yes'> </span>It has not been
tested with the .NET compiler, but chances are good it will work.<span
style='mso-spacerun:yes'> </span><o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>Beware that not everything you need to build the game is
here!<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>In particular, we are not able to provide you with the
Miles sound library. <span style='mso-spacerun:yes'></span>Before the game
will build without it, someone will need to strip references to <span
class=SpellE>mss.h</span> and not link with <span class=SpellE>mss.lib</span>,
and modify all code that fails to compile or link.<span
style='mso-spacerun:yes'> </span>That will leave you with a game without sound
but that is otherwise functional.<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>In addition, the DirectX SDK and DirectX Media SDK are
not included.<span style='mso-spacerun:yes'> </span>The game was originally
built with DirectX 7, but newer versions of the SDKs available from Microsoft
at<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText><span class=GramE>for</span> DirectX and<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;familyid=9909BA22-8CAA-4241-954C-E7D710E18522<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText><span class=GramE>for</span> DirectX Media SDK should
work.<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>Make sure you add the Include and Lib and classes/base
directories from those SDKs to Tools-&gt;Options-&gt;Directories from Visual
Studio, if they aren't there already. <span style='mso-spacerun:yes'></span>If
you installed them to default <span class=GramE>locations, that</span> means
you need to add:<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>c:\DXSDK\Include<o:p></o:p></p>
<p class=MsoPlainText>C:\DXMEDIA\Include<o:p></o:p></p>
<p class=MsoPlainText>C:\DXMEDIA\Classes\Base<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText><span class=GramE>to</span> your include directories
path, and<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>C:\DXSDK\Lib<o:p></o:p></p>
<p class=MsoPlainText>C:\DXMEDIA\Lib<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText><span class=GramE>to</span> your lib directories path. <o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>In order to build, you need an environment variable named
CDKDIR on your computer.<span style='mso-spacerun:yes'> </span>In Windows
XP/2000, go to Control<o:p></o:p></p>
<p class=MsoPlainText>Panel-&gt;System-&gt;Environment Variables, and add it,
with it's value set to &lt;your source path&gt;/ctp2/bin, the directory with
bison, flex, and other miscellaneous utilities in it.<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>Lastly, YOU NEED THE DATA DIRECTORY FROM THE ORIGINAL SHIPPING
GAME.<span style='mso-spacerun:yes'> </span>All the graphics, sounds, and
other data files needed to actually run the game are not included here.<span
style='mso-spacerun:yes'> </span>Place the ctp2_data directory from the game install
directory at the same directory level as ctp2_code in this archive to run an
executable built from <span class=SpellE>DevStudio</span>.<o:p></o:p></p>
<p class=MsoPlainText><o:p>&nbsp;</o:p></p>
<p class=MsoPlainText>That's the basics.<span style='mso-spacerun:yes'>
</span>For the most part, you are on your own from here on out.<span
style='mso-spacerun:yes'> </span>Good luck!</p>
</div>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tohkachan/ctp2.git
git@gitee.com:tohkachan/ctp2.git
tohkachan
ctp2
ctp2
master

搜索帮助